]> git.sur5r.net Git - cc65/log
cc65
11 years agoatarixl linker cfg file cleanups; set default load address to 400 for atarixl
Christian Groessler [Fri, 13 Sep 2013 18:29:24 +0000 (20:29 +0200)]
atarixl linker cfg file cleanups; set default load address to 400 for atarixl

11 years agoUse labels instead of segment load addresses to specify entry points
Christian Groessler [Fri, 13 Sep 2013 16:28:17 +0000 (18:28 +0200)]
Use labels instead of segment load addresses to specify entry points
in the EXE file.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Fri, 13 Sep 2013 14:15:11 +0000 (16:15 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #41 from groessler/something_to_pull
Oliver Schmidt [Fri, 13 Sep 2013 14:13:32 +0000 (07:13 -0700)]
Merge pull request #41 from groessler/something_to_pull

Remove obsolete ZPSAVE segment.

11 years agoRemove obsolete ZPSAVE segment. 41/head
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.

11 years agoRemove obsolete ZPSAVE segment.
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Thu, 12 Sep 2013 11:24:35 +0000 (13:24 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
testcode/lib/tinyshell.c

11 years agoMerge pull request #40 from groessler/something_to_pull2
Oliver Schmidt [Thu, 12 Sep 2013 11:13:43 +0000 (04:13 -0700)]
Merge pull request #40 from groessler/something_to_pull2

testcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check

11 years agoMerge pull request #39 from groessler/something_to_pull
Oliver Schmidt [Thu, 12 Sep 2013 11:05:39 +0000 (04:05 -0700)]
Merge pull request #39 from groessler/something_to_pull

Fix strtoul 'endptr' return value: It should point to the first invalid character,

11 years agoFix last change: Stack check for all CC65 targets. Enable subdirectories on Apple 2. 40/head
Christian Groessler [Thu, 12 Sep 2013 11:04:55 +0000 (13:04 +0200)]
Fix last change: Stack check for all CC65 targets. Enable subdirectories on Apple 2.

11 years agoFix strtol 'endptr' return value. 39/head
Christian Groessler [Thu, 12 Sep 2013 10:38:20 +0000 (12:38 +0200)]
Fix strtol 'endptr' return value.

11 years agotestcode/lib/tinyshell.c: Enable SP check only for CC65
Christian Groessler [Thu, 12 Sep 2013 10:32:59 +0000 (12:32 +0200)]
testcode/lib/tinyshell.c: Enable SP check only for CC65
targets. Enable 'cls' command only for Atari. Enable subdirectory
commands only for Atari and non-CC65 targets.

11 years agotestcode/lib/tinyshell.c: fix error message
Christian Groessler [Wed, 11 Sep 2013 22:16:09 +0000 (00:16 +0200)]
testcode/lib/tinyshell.c: fix error message

11 years agotestcode/lib/tinyshell.c: fix error message
Christian Groessler [Wed, 11 Sep 2013 22:16:09 +0000 (00:16 +0200)]
testcode/lib/tinyshell.c: fix error message

11 years agotestcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check
Christian Groessler [Wed, 11 Sep 2013 22:04:51 +0000 (00:04 +0200)]
testcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check

11 years agotestcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check
Christian Groessler [Wed, 11 Sep 2013 22:04:51 +0000 (00:04 +0200)]
testcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check

11 years agoReduce flicker by waiting for horizontal retrace before switching ROM and
Christian Groessler [Wed, 11 Sep 2013 21:59:24 +0000 (23:59 +0200)]
Reduce flicker by waiting for horizontal retrace before switching ROM and
CHARGEN. Can be disabled by setting USEWSYNC to 0.

11 years agoCheck whether double buffering ('bounce buffering') is needed and only do
Christian Groessler [Wed, 11 Sep 2013 20:45:41 +0000 (22:45 +0200)]
Check whether double buffering ('bounce buffering') is needed and only do
it if needed.

11 years agoadd code to add free shadow memory to heap (currently disabled)
Christian Groessler [Wed, 11 Sep 2013 20:43:35 +0000 (22:43 +0200)]
add code to add free shadow memory to heap (currently disabled)

11 years agoFix strtoul 'endptr' return value: It should point to the first invalid character,
Christian Groessler [Wed, 11 Sep 2013 19:53:13 +0000 (21:53 +0200)]
Fix strtoul 'endptr' return value: It should point to the first invalid character,
not to the last valid character.

11 years agoFix strtoul 'endptr' return value: It should point to the first invalid character,
Christian Groessler [Wed, 11 Sep 2013 19:53:13 +0000 (21:53 +0200)]
Fix strtoul 'endptr' return value: It should point to the first invalid character,
not to the last valid character.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 10 Sep 2013 11:36:28 +0000 (13:36 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #37 from greg-king5/lightpen
Oliver Schmidt [Tue, 10 Sep 2013 11:21:16 +0000 (04:21 -0700)]
Merge pull request #37 from greg-king5/lightpen

CBM510 lightpen driver

11 years agoRenamed the CBM510 lightpen driver to include the 184-C pen. 37/head
Greg King [Tue, 10 Sep 2013 10:47:17 +0000 (06:47 -0400)]
Renamed the CBM510 lightpen driver to include the 184-C pen.

11 years agoMerge pull request #36 from greg-king5/cbm2
Oliver Schmidt [Mon, 9 Sep 2013 21:43:46 +0000 (14:43 -0700)]
Merge pull request #36 from greg-king5/cbm2

Fixed a small bug in a joystick-mouse driver.

11 years agoMade mousetest.c know that the CBM510 has a lightpen driver.
Greg King [Mon, 9 Sep 2013 21:09:33 +0000 (17:09 -0400)]
Made mousetest.c know that the CBM510 has a lightpen driver.

11 years agoAdded a cbm510 lightpen driver.
Greg King [Mon, 9 Sep 2013 21:03:40 +0000 (17:03 -0400)]
Added a cbm510 lightpen driver.

It's similar to the current c64 and c128 lightpen drivers.

11 years agoremove ZP_CIOV_save and ZP_SIOV_save
Christian Groessler [Sat, 7 Sep 2013 15:44:53 +0000 (17:44 +0200)]
remove ZP_CIOV_save and ZP_SIOV_save

11 years agoDon't shift in an unknown carry bit. 36/head
Greg King [Thu, 5 Sep 2013 15:32:50 +0000 (11:32 -0400)]
Don't shift in an unknown carry bit.

If that bit happenned to be set, then it would defeat the fancy ADC shifter.

11 years agoadjust size of SRPREP to account for 1K aligned character generator
Christian Groessler [Wed, 4 Sep 2013 20:25:29 +0000 (22:25 +0200)]
adjust size of SRPREP to account for 1K aligned character generator
(not page aligned as I thought before)

11 years agoRemove screen flicker while mapping ROM out and in.
Christian Groessler [Wed, 4 Sep 2013 20:10:36 +0000 (22:10 +0200)]
Remove screen flicker while mapping ROM out and in.
Some cleanups.

11 years agoMerge pull request #35 from greg-king5/cbm-chain
Oliver Schmidt [Wed, 4 Sep 2013 13:27:07 +0000 (06:27 -0700)]
Merge pull request #35 from greg-king5/cbm-chain

Added more comments to CBM exec().

11 years agoAdded more details about how the CBM exec() works. 35/head
Greg King [Wed, 4 Sep 2013 13:16:00 +0000 (09:16 -0400)]
Added more details about how the CBM exec() works.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 4 Sep 2013 11:28:10 +0000 (13:28 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoBumped driver api versions due to recent intoduction of library references.
Oliver Schmidt [Sun, 1 Sep 2013 07:45:11 +0000 (09:45 +0200)]
Bumped driver api versions due to recent intoduction of library references.

11 years agoMerge pull request #34 from greg-king5/lower-upper
Oliver Schmidt [Wed, 28 Aug 2013 08:03:08 +0000 (01:03 -0700)]
Merge pull request #34 from greg-king5/lower-upper

Fixed 2 string-function return-pointers.

11 years agoFixed some return pointers. 34/head
Greg King [Wed, 28 Aug 2013 06:58:41 +0000 (02:58 -0400)]
Fixed some return pointers.

$1234 pointers were returned as $3434.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 27 Aug 2013 20:46:05 +0000 (22:46 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoxlmemchk.inc: Fix wrong calculation if load address is at an exact 4K border.
Christian Groessler [Tue, 27 Aug 2013 20:45:23 +0000 (22:45 +0200)]
xlmemchk.inc: Fix wrong calculation if load address is at an exact 4K border.

11 years agoMerge pull request #33 from groessler/something_to_pull
Oliver Schmidt [Tue, 27 Aug 2013 20:25:29 +0000 (13:25 -0700)]
Merge pull request #33 from groessler/something_to_pull

em-test.c: add support for Atari

11 years agoem-test.c: add support for Atari 33/head
Christian Groessler [Tue, 27 Aug 2013 20:01:19 +0000 (22:01 +0200)]
em-test.c: add support for Atari

11 years agoem-test.c: add support for Atari
Christian Groessler [Tue, 27 Aug 2013 20:01:19 +0000 (22:01 +0200)]
em-test.c: add support for Atari

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 27 Aug 2013 08:22:41 +0000 (10:22 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agorename KEYBDV_wrapper to KEYBDV_handler
Christian Groessler [Tue, 27 Aug 2013 08:21:42 +0000 (10:21 +0200)]
rename KEYBDV_wrapper to KEYBDV_handler

11 years agoMerge pull request #31 from greg-king5/cbm-chain
Oliver Schmidt [Tue, 27 Aug 2013 06:50:34 +0000 (23:50 -0700)]
Merge pull request #31 from greg-king5/cbm-chain

Commodore exec() function

11 years agoChanged some CPU memory-mapped register definitions from expression mode into label... 31/head
Greg King [Tue, 27 Aug 2013 02:02:00 +0000 (22:02 -0400)]
Changed some CPU memory-mapped register definitions from expression mode into label mode.

11 years agoMerge pull request #32 from groessler/something_to_pull
Oliver Schmidt [Mon, 26 Aug 2013 10:59:48 +0000 (03:59 -0700)]
Merge pull request #32 from groessler/something_to_pull

minor improvements

11 years agoremove warning about missing return value; fix typo 32/head
Christian Groessler [Mon, 26 Aug 2013 10:16:26 +0000 (12:16 +0200)]
remove warning about missing return value; fix typo

11 years agoadd some more SIO information
Christian Groessler [Thu, 22 Aug 2013 11:08:48 +0000 (13:08 +0200)]
add some more SIO information

11 years agoremove warning about missing return value; fix typo
Christian Groessler [Mon, 26 Aug 2013 10:16:26 +0000 (12:16 +0200)]
remove warning about missing return value; fix typo

11 years agochanges for atarixl target
Christian Groessler [Mon, 26 Aug 2013 08:36:40 +0000 (10:36 +0200)]
changes for atarixl target

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Mon, 26 Aug 2013 07:00:11 +0000 (09:00 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #30 from greg-king5/cbm2
Oliver Schmidt [Sun, 25 Aug 2013 11:48:31 +0000 (04:48 -0700)]
Merge pull request #30 from greg-king5/cbm2

Added cursor-flags initiation.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Sun, 25 Aug 2013 09:21:52 +0000 (11:21 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoatarixl target: add support for interruptors, adapt TGI drivers
Christian Groessler [Sun, 25 Aug 2013 09:20:27 +0000 (11:20 +0200)]
atarixl target: add support for interruptors, adapt TGI drivers

11 years agoAdded a little more info about how CBM program-chaining works.
Greg King [Sun, 25 Aug 2013 04:58:27 +0000 (00:58 -0400)]
Added a little more info about how CBM program-chaining works.

11 years agoAdded test programs for the exec() function.
Greg King [Sun, 25 Aug 2013 04:49:03 +0000 (00:49 -0400)]
Added test programs for the exec() function.

11 years agoAdded the model-specific addresses that the CBM exec() needs.
Greg King [Sun, 25 Aug 2013 04:43:23 +0000 (00:43 -0400)]
Added the model-specific addresses that the CBM exec() needs.

11 years agoMade an exec() program-chaining function for the Commodore libraries.
Greg King [Sun, 25 Aug 2013 04:31:36 +0000 (00:31 -0400)]
Made an exec() program-chaining function for the Commodore libraries.

11 years agoAdded cursor-flags initiation. 30/head
Greg King [Fri, 23 Aug 2013 22:19:49 +0000 (18:19 -0400)]
Added cursor-flags initiation.

The CBM510 runs programs in a non-system memory bank. It has its own zero page. Some things are copied from the system zero page; but, the cursor flags weren't copied. So, the cursor always blinked. That bug sometimes left cursor ghosts (reversed spaces) at the end of lines.

11 years agoMerge pull request #29 from greg-king5/mouseref
Oliver Schmidt [Fri, 23 Aug 2013 11:54:13 +0000 (04:54 -0700)]
Merge pull request #29 from greg-king5/mouseref

Removed commented-out "mouse_libref" lines.

11 years agoCleaned 2 source files by removing commented-out lines that are active in other files. 29/head
Greg King [Fri, 23 Aug 2013 11:36:11 +0000 (07:36 -0400)]
Cleaned 2 source files by removing commented-out lines that are active in other files.

11 years agoMerge pull request #27 from greg-king5/cbm2
Oliver Schmidt [Fri, 23 Aug 2013 11:28:49 +0000 (04:28 -0700)]
Merge pull request #27 from greg-king5/cbm2

Added a joystick-mouse driver to the CBM510 library.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Fri, 23 Aug 2013 09:21:46 +0000 (11:21 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMade mousetest work better with CBM510s. 27/head
Greg King [Fri, 23 Aug 2013 07:12:16 +0000 (03:12 -0400)]
Made mousetest work better with CBM510s.

11 years agoAdded a driver to the CBM510 library that lets a joystick pretend to be a mouse.
Greg King [Fri, 23 Aug 2013 07:06:00 +0000 (03:06 -0400)]
Added a driver to the CBM510 library that lets a joystick pretend to be a mouse.

11 years agoAdded TGI color defines.
Oliver Schmidt [Thu, 22 Aug 2013 14:33:30 +0000 (16:33 +0200)]
Added TGI color defines.

11 years agoimplement SIO handler
Christian Groessler [Thu, 22 Aug 2013 12:47:50 +0000 (14:47 +0200)]
implement SIO handler

11 years agoadd some more SIO information
Christian Groessler [Thu, 22 Aug 2013 11:08:48 +0000 (13:08 +0200)]
add some more SIO information

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 21 Aug 2013 14:38:13 +0000 (16:38 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMade EXTZP segment optional on GEOS as it is used only by CONIO.
Oliver Schmidt [Tue, 20 Aug 2013 05:43:47 +0000 (07:43 +0200)]
Made EXTZP segment optional on GEOS as it is used only by CONIO.

11 years agoAdjusted comment.
Oliver Schmidt [Thu, 8 Aug 2013 16:46:21 +0000 (18:46 +0200)]
Adjusted comment.

11 years agoMerge pull request #25 from cybernesto/master
Oliver Schmidt [Thu, 8 Aug 2013 16:40:50 +0000 (09:40 -0700)]
Merge pull request #25 from cybernesto/master

Promoted _auxtype to a struct to gain access to additional fields

11 years agoComments added 25/head
Mario Patiño [Thu, 8 Aug 2013 16:23:48 +0000 (18:23 +0200)]
Comments added

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 6 Aug 2013 17:48:07 +0000 (19:48 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #26 from greg-king5/oric
Oliver Schmidt [Tue, 6 Aug 2013 16:03:44 +0000 (09:03 -0700)]
Merge pull request #26 from greg-king5/oric

More Atmos Symbol Names

11 years agoExposed, to C code, the names of the Atmos ROM's sound effect functions. 26/head
Greg King [Tue, 6 Aug 2013 15:12:30 +0000 (11:12 -0400)]
Exposed, to C code, the names of the Atmos ROM's sound effect functions.

11 years agoAdded symbol names for useful Atmos addresses.
Greg King [Tue, 6 Aug 2013 14:09:46 +0000 (10:09 -0400)]
Added symbol names for useful Atmos addresses.

11 years agoDefined a struct to contain the date and time data
Mario Patiño [Sat, 3 Aug 2013 17:08:36 +0000 (19:08 +0200)]
Defined a struct to contain the date and time data

To keep backward compatibility auxtype and the date/time are kept
separated.
A struct similar to the one used in dirent.h is used to access the
create_date and create_time fields.

11 years agoPromoted _auxtype to a struct to gain access to additional fields
Mario Patiño [Sat, 3 Aug 2013 13:42:16 +0000 (15:42 +0200)]
Promoted _auxtype to a struct to gain access to additional fields

While creating files there was no possibility to explicitly set the
time or date.
This is necessary for example while copying files since the original
time and date should be kept.

11 years agodisable GETCWD command until I have a proper way to test it
Christian Groessler [Mon, 29 Jul 2013 22:52:58 +0000 (00:52 +0200)]
disable GETCWD command until I have a proper way to test it

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Mon, 29 Jul 2013 08:09:24 +0000 (10:09 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoAdded sprintf() test contributed by Ullrich von Bassewitz.
Oliver Schmidt [Sat, 27 Jul 2013 15:21:07 +0000 (17:21 +0200)]
Added sprintf() test contributed by Ullrich von Bassewitz.

Comment from the author:

Some may remember that there was a problem with printf reported a long time
ago. I got curious and over the weekend, I wrote a program to test printf. Or
better: The underlying formatting code, which is used for the whole printf()
family of functions including cprintf and sprintf.

The result is what made me say "oops": The program tests 377 different
conversions. The cc65 printf implementation fails in 144 cases. In 31 of these
cases, it fails so badly that it outputs screens of garbage, or even crashes
the machine, so I had to disable these tests to proceed.

Please note that you can compile the code with gcc for x86, but it will show
failures. This is because the expected results are hardcoded and the integer
sizes of gcc are different, so the conversion results won't match the ones
expected in the code.

11 years agoMerge pull request #24 from greg-king5/oric
Oliver Schmidt [Fri, 26 Jul 2013 10:01:10 +0000 (03:01 -0700)]
Merge pull request #24 from greg-king5/oric

Atmos Symbol Names

11 years agoReplaced number literals in source code with meaningful symbol names. 24/head
Greg King [Fri, 26 Jul 2013 07:33:54 +0000 (03:33 -0400)]
Replaced number literals in source code with meaningful symbol names.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Thu, 25 Jul 2013 21:34:50 +0000 (23:34 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #12 from greg-king5/lightpen
Oliver Schmidt [Thu, 25 Jul 2013 20:29:46 +0000 (13:29 -0700)]
Merge pull request #12 from greg-king5/lightpen

Added Inkwell lightpen drivers for the C64 and the C128.

11 years agoFixed some line endings. 12/head
Greg King [Thu, 25 Jul 2013 17:53:15 +0000 (13:53 -0400)]
Fixed some line endings.

My Git and repositories are configured for POSIX; but sometimes, Windows line endings "sneak" into new files.

11 years agoMoved the lightpen names from <mouse.h> to a new <pen.h>.
Greg King [Thu, 25 Jul 2013 17:32:40 +0000 (13:32 -0400)]
Moved the lightpen names from <mouse.h> to a new <pen.h>.

Renamed the adjuster pointer.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 24 Jul 2013 13:29:10 +0000 (15:29 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #23 from groessler/something_to_pull
Oliver Schmidt [Wed, 24 Jul 2013 13:16:57 +0000 (06:16 -0700)]
Merge pull request #23 from groessler/something_to_pull

add "tinyshell" test program for file operations

11 years agoadd "tinyshell" test program for file operations 23/head
Christian Groessler [Wed, 24 Jul 2013 13:04:56 +0000 (15:04 +0200)]
add "tinyshell" test program for file operations

11 years agoadd "tinyshell" test program for file operations
Christian Groessler [Wed, 24 Jul 2013 13:04:56 +0000 (15:04 +0200)]
add "tinyshell" test program for file operations

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 24 Jul 2013 12:59:07 +0000 (14:59 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #22 from groessler/something_to_pull
Oliver Schmidt [Wed, 24 Jul 2013 11:38:34 +0000 (04:38 -0700)]
Merge pull request #22 from groessler/something_to_pull

Something to pull

11 years agofix cleanup of stack 22/head
Christian Groessler [Wed, 24 Jul 2013 08:24:47 +0000 (10:24 +0200)]
fix cleanup of stack

11 years agofix cleanup of stack
Christian Groessler [Wed, 24 Jul 2013 08:24:47 +0000 (10:24 +0200)]
fix cleanup of stack

11 years agoDon't import tmp1, slipped in by mistake in last commit
Christian Groessler [Tue, 23 Jul 2013 22:44:44 +0000 (00:44 +0200)]
Don't import tmp1, slipped in by mistake in last commit

11 years agoDon't import tmp1, slipped in by mistake in last commit
Christian Groessler [Tue, 23 Jul 2013 22:44:44 +0000 (00:44 +0200)]
Don't import tmp1, slipped in by mistake in last commit

11 years agoimplement _sysrename for Atari
Christian Groessler [Tue, 23 Jul 2013 22:40:09 +0000 (00:40 +0200)]
implement _sysrename for Atari