]>
git.sur5r.net Git - cc65/log
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
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,
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.
Christian Groessler [Thu, 12 Sep 2013 10:38:20 +0000 (12:38 +0200)]
Fix strtol 'endptr' return value.
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.
Christian Groessler [Wed, 11 Sep 2013 22:16:09 +0000 (00:16 +0200)]
testcode/lib/tinyshell.c: fix error message
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
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.
Oliver Schmidt [Tue, 10 Sep 2013 11:21:16 +0000 (04:21 -0700)]
Merge pull request #37 from greg-king5/lightpen
CBM510 lightpen driver
Greg King [Tue, 10 Sep 2013 10:47:17 +0000 (06:47 -0400)]
Renamed the CBM510 lightpen driver to include the 184-C pen.
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.
Greg King [Mon, 9 Sep 2013 21:09:33 +0000 (17:09 -0400)]
Made mousetest.c know that the CBM510 has a 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.
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.
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().
Greg King [Wed, 4 Sep 2013 13:16:00 +0000 (09:16 -0400)]
Added more details about how the CBM exec() works.
Oliver Schmidt [Sun, 1 Sep 2013 07:45:11 +0000 (09:45 +0200)]
Bumped driver api versions due to recent intoduction of library references.
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.
Greg King [Wed, 28 Aug 2013 06:58:41 +0000 (02:58 -0400)]
Fixed some return pointers.
$1234 pointers were returned as $3434.
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
Christian Groessler [Tue, 27 Aug 2013 20:01:19 +0000 (22:01 +0200)]
em-test.c: add support for Atari
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
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.
Oliver Schmidt [Mon, 26 Aug 2013 10:59:48 +0000 (03:59 -0700)]
Merge pull request #32 from groessler/something_to_pull
minor improvements
Christian Groessler [Mon, 26 Aug 2013 10:16:26 +0000 (12:16 +0200)]
remove warning about missing return value; fix typo
Christian Groessler [Thu, 22 Aug 2013 11:08:48 +0000 (13:08 +0200)]
add some more SIO information
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.
Greg King [Sun, 25 Aug 2013 04:58:27 +0000 (00:58 -0400)]
Added a little more info about how CBM program-chaining works.
Greg King [Sun, 25 Aug 2013 04:49:03 +0000 (00:49 -0400)]
Added test programs for the exec() function.
Greg King [Sun, 25 Aug 2013 04:43:23 +0000 (00:43 -0400)]
Added the model-specific addresses that the CBM exec() needs.
Greg King [Sun, 25 Aug 2013 04:31:36 +0000 (00:31 -0400)]
Made an exec() program-chaining function for the Commodore libraries.
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.
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.
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.
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.
Greg King [Fri, 23 Aug 2013 07:12:16 +0000 (03:12 -0400)]
Made mousetest work better with CBM510s.
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.
Oliver Schmidt [Thu, 22 Aug 2013 14:33:30 +0000 (16:33 +0200)]
Added TGI color defines.
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.
Oliver Schmidt [Thu, 8 Aug 2013 16:46:21 +0000 (18:46 +0200)]
Adjusted comment.
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
Mario Patiño [Thu, 8 Aug 2013 16:23:48 +0000 (18:23 +0200)]
Comments added
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
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.
Greg King [Tue, 6 Aug 2013 14:09:46 +0000 (10:09 -0400)]
Added symbol names for useful Atmos addresses.
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.
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.
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.
Oliver Schmidt [Fri, 26 Jul 2013 10:01:10 +0000 (03:01 -0700)]
Merge pull request #24 from greg-king5/oric
Atmos Symbol Names
Greg King [Fri, 26 Jul 2013 07:33:54 +0000 (03:33 -0400)]
Replaced number literals in source code with meaningful symbol names.
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.
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.
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.
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
Christian Groessler [Wed, 24 Jul 2013 13:04:56 +0000 (15:04 +0200)]
add "tinyshell" test program for file operations
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
Christian Groessler [Wed, 24 Jul 2013 08:24:47 +0000 (10:24 +0200)]
fix cleanup of stack
Christian Groessler [Tue, 23 Jul 2013 22:44:44 +0000 (00:44 +0200)]
Don't import tmp1, slipped in by mistake in last commit
Christian Groessler [Tue, 23 Jul 2013 22:40:09 +0000 (00:40 +0200)]
implement _sysrename for Atari
Oliver Schmidt [Tue, 16 Jul 2013 13:52:43 +0000 (06:52 -0700)]
Merge pull request #21 from groessler/something_to_pull
fix '_sysrmdir' for SpartaDOS
Greg King [Tue, 16 Jul 2013 05:48:57 +0000 (01:48 -0400)]
Normalized some hexadecimal addresses.
Greg King [Tue, 16 Jul 2013 04:30:56 +0000 (00:30 -0400)]
Moved common symbol names out of sources, and into a global include file.
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS
Oliver Schmidt [Wed, 10 Jul 2013 09:37:45 +0000 (02:37 -0700)]
Merge pull request #20 from greg-king5/linker
Fixed ld65's precalculation of memory-area sizes and file-offsets.
Oliver Schmidt [Wed, 10 Jul 2013 09:24:12 +0000 (02:24 -0700)]
Merge pull request #19 from groessler/something_to_pull
close IOCB if open failed -- otherwise it is still marked as "in use"
Greg King [Wed, 10 Jul 2013 06:37:09 +0000 (02:37 -0400)]
Fixed ld65's precalculation of memory-area sizes.
Before this fix, BSS-type and ZP-type segments never were counted. Now, they are counted if their memory areas are filled. (It must be done because their places in the output file are filled.)
The fix allows us to build programs for the CBM510 and CBM610 platforms. We won't see an "Internal error" diagnostic message about a bad file-offset.
Christian Groessler [Tue, 9 Jul 2013 21:39:42 +0000 (23:39 +0200)]
close IOCB if open failed -- otherwise is is still marked as "in use"
Greg King [Fri, 5 Jul 2013 16:32:19 +0000 (12:32 -0400)]
Look for NULL pointer more efficiently.
Oliver Schmidt [Thu, 4 Jul 2013 19:24:19 +0000 (12:24 -0700)]
Merge pull request #18 from xofeht/master
dbginfo.c bug fix
thefox [Thu, 4 Jul 2013 18:10:58 +0000 (21:10 +0300)]
Fixed a logic bug in dbginfo.c module that prevented some valid debug info files from being parsed.
Oliver Schmidt [Wed, 3 Jul 2013 06:58:08 +0000 (23:58 -0700)]
Merge pull request #17 from groessler/something_to_pull
Atari targets: Don't save and restore the zero page locations used.
Christian Groessler [Tue, 2 Jul 2013 17:55:00 +0000 (19:55 +0200)]
Don't save and restore the zero page locations used.
Saves 19 bytes code (in the exe file) and reduces memory footprint
of the program by 45 bytes (code & bss).
Greg King [Mon, 1 Jul 2013 13:25:02 +0000 (09:25 -0400)]
Merge branch 'master' into lightpen
Greg King [Fri, 28 Jun 2013 10:36:32 +0000 (06:36 -0400)]
Included a header that defines NULL.
Oliver Schmidt [Thu, 27 Jun 2013 22:30:24 +0000 (00:30 +0200)]
Made EXTZP segment option for modules.
This allows to remove the "add empty EXTZP segement to avoid warnings"
approach.
Oliver Schmidt [Thu, 27 Jun 2013 21:09:54 +0000 (23:09 +0200)]
Have __PLUS4__ imply __C16__.
Greg King [Thu, 27 Jun 2013 14:01:47 +0000 (10:01 -0400)]
Merged testcode/lib/pen-test.c into the mousetest.c sample program.
A command-line option can force mousetest to be built with a statically linked
driver.
Oliver Schmidt [Thu, 27 Jun 2013 11:04:52 +0000 (13:04 +0200)]
No delimiter comment between includes and first segment.
Oliver Schmidt [Tue, 25 Jun 2013 06:45:47 +0000 (23:45 -0700)]
Merge pull request #16 from groessler/something_to_pull
move findfreeiocb function into its own object file
Christian Groessler [Mon, 24 Jun 2013 23:12:11 +0000 (01:12 +0200)]
move findfreeiocb function into its own object file
Greg King [Sun, 23 Jun 2013 15:47:45 +0000 (11:47 -0400)]
Renamed the mouse sample program because it also tests the mouse library.
Greg King [Sun, 23 Jun 2013 07:18:28 +0000 (03:18 -0400)]
Used a library-reference method to calibrate lightpen drivers.
The mouse reference is a pointer. If it's NULL, the driver uses a default. If it's non-NULL, then it points to a function that the driver can call. That function will adjust the driver's calibration value. It could ask the user to adjust the pen; or, it could read a file that holds a value from a previous calibration.
Application writers can choose how it's done: a function that's provided by the library, a custom function, or nothing.
Oliver Schmidt [Fri, 21 Jun 2013 10:36:37 +0000 (12:36 +0200)]
Fixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 10:35:35 +0000 (13:35 +0300)]
Fixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 09:39:20 +0000 (02:39 -0700)]
Merge pull request #15 from groessler/something_to_pull
Fix writing one byte beyond screen buffer.
Christian Groessler [Thu, 20 Jun 2013 23:53:13 +0000 (01:53 +0200)]
Fix writing one byte beyond screen buffer.
Oliver Schmidt [Tue, 18 Jun 2013 17:06:46 +0000 (19:06 +0200)]
Simply define CH_DEL exactly then when there none yet.
Oliver Schmidt [Mon, 17 Jun 2013 19:41:25 +0000 (21:41 +0200)]
Avoid macro redefinition of CH_DEL for apple2enh.
I'm wondering why MS VC++ didn't complain about this...
Oliver Schmidt [Mon, 17 Jun 2013 19:34:08 +0000 (21:34 +0200)]
Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__.
Oliver Schmidt [Thu, 13 Jun 2013 13:26:17 +0000 (15:26 +0200)]
Avoid GCC "unconst" warning.
Oliver Schmidt [Mon, 10 Jun 2013 11:38:10 +0000 (04:38 -0700)]
Merge pull request #14 from groessler/something_to_pull
Use symbolic names for all CIO commands.
Christian Groessler [Fri, 7 Jun 2013 22:35:07 +0000 (00:35 +0200)]
remove TABs
Christian Groessler [Fri, 7 Jun 2013 22:35:07 +0000 (00:35 +0200)]
Use symbolic names for all CIO commands.
Oliver Schmidt [Fri, 7 Jun 2013 21:13:46 +0000 (23:13 +0200)]
Added support for 'prefix'.
If the variable 'prefix' is defined then the builtin search paths are set to
$(prefix)/lib/cc65/... allowing to build binaries intended for installation.
Note that the library build still works with these binaries as it generally
overrides the builtin search paths by setting the CC65_HOME env var.
Oliver Schmidt [Tue, 4 Jun 2013 21:39:00 +0000 (23:39 +0200)]
Use unique variables for cc65 toolchain.
Originally I used the usual variables (like $(CC) and $(CFLAGS) ) but after
all this doesn't make sense as any predefined values and/or user defined
settings can only be wrong.
Greg King [Mon, 3 Jun 2013 08:37:33 +0000 (04:37 -0400)]
Added library reference address to lightpen driver header.
Oliver Schmidt [Sat, 1 Jun 2013 10:42:00 +0000 (12:42 +0200)]
Added library reference tgi_libref to TGI interface.
Oliver Schmidt [Sat, 1 Jun 2013 09:03:14 +0000 (11:03 +0200)]
Added library reference ser_libref to SER interface.
Oliver Schmidt [Fri, 31 May 2013 22:53:17 +0000 (00:53 +0200)]
Added library reference mouse_libref to MOU interface.
Oliver Schmidt [Fri, 31 May 2013 22:36:08 +0000 (00:36 +0200)]
Added library reference joy_libref to JOY interface.