]> git.sur5r.net Git - cc65/log
cc65
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 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

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

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 23 Jul 2013 22:37:21 +0000 (00:37 +0200)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
libsrc/atari/sysrmdir.s

11 years agodon't include errno.inc -- not necessary
Christian Groessler [Wed, 17 Jul 2013 21:37:03 +0000 (23:37 +0200)]
don't include errno.inc -- not necessary

11 years agoremove unused import sreg
Christian Groessler [Wed, 17 Jul 2013 21:33:12 +0000 (23:33 +0200)]
remove unused import sreg

11 years agoMerge pull request #21 from groessler/something_to_pull
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

11 years agoNormalized some hexadecimal addresses.
Greg King [Tue, 16 Jul 2013 05:48:57 +0000 (01:48 -0400)]
Normalized some hexadecimal addresses.

11 years agoMoved common symbol names out of sources, and into a global include file.
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.

11 years agofix '_sysrmdir' for SpartaDOS 21/head
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS

11 years agofix '_sysrmdir' for SpartaDOS
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 10 Jul 2013 09:48:38 +0000 (11:48 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #20 from greg-king5/linker
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.

11 years agoMerge pull request #19 from groessler/something_to_pull
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"

11 years agoFixed ld65's precalculation of memory-area sizes. 20/head
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.

11 years agoclose IOCB if open failed -- otherwise is is still marked as "in use" 19/head
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"

11 years agoclose IOCB if open failed -- otherwise is is still marked as "in use"
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"

11 years agoLook for NULL pointer more efficiently.
Greg King [Fri, 5 Jul 2013 16:32:19 +0000 (12:32 -0400)]
Look for NULL pointer more efficiently.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Thu, 4 Jul 2013 23:20:16 +0000 (01:20 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #18 from xofeht/master
Oliver Schmidt [Thu, 4 Jul 2013 19:24:19 +0000 (12:24 -0700)]
Merge pull request #18 from xofeht/master

dbginfo.c bug fix

11 years agoFixed a logic bug in dbginfo.c module that prevented some valid debug info files... 18/head
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.

11 years agoRemove saving and restoring of zeropage variables.
Christian Groessler [Wed, 3 Jul 2013 09:38:28 +0000 (11:38 +0200)]
Remove saving and restoring of zeropage variables.

Merge remote-tracking branch 'upstream/master'

Conflicts:
cfg/atarixl.cfg
libsrc/atari/crt0.s

11 years agoMerge pull request #17 from groessler/something_to_pull
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.

11 years agoDon't save and restore the zero page locations used. 17/head
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).

11 years agoMerge branch 'master' into lightpen
Greg King [Mon, 1 Jul 2013 13:25:02 +0000 (09:25 -0400)]
Merge branch 'master' into lightpen

11 years agoIncluded a header that defines NULL.
Greg King [Fri, 28 Jun 2013 10:36:32 +0000 (06:36 -0400)]
Included a header that defines NULL.

11 years agoDon't save original IRQ, NMI, and RESET vectors -- it's not needed.
Christian Groessler [Thu, 27 Jun 2013 23:08:07 +0000 (01:08 +0200)]
Don't save original IRQ, NMI, and RESET vectors -- it's not needed.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Thu, 27 Jun 2013 22:49:12 +0000 (00:49 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMade EXTZP segment option for modules.
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.

11 years agoHave __PLUS4__ imply __C16__.
Oliver Schmidt [Thu, 27 Jun 2013 21:09:54 +0000 (23:09 +0200)]
Have __PLUS4__ imply __C16__.

11 years agoMerged testcode/lib/pen-test.c into the mousetest.c sample program.
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.

11 years agoNo delimiter comment between includes and first segment.
Oliver Schmidt [Thu, 27 Jun 2013 11:04:52 +0000 (13:04 +0200)]
No delimiter comment between includes and first segment.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 25 Jun 2013 10:04:15 +0000 (12:04 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoMerge pull request #16 from groessler/something_to_pull
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

11 years agomove findfreeiocb function into its own object file 16/head
Christian Groessler [Mon, 24 Jun 2013 23:12:11 +0000 (01:12 +0200)]
move findfreeiocb function into its own object file

11 years agouse first free IOCB for "GRAPHICS 0" call instead of using a hard-coded one
Christian Groessler [Mon, 24 Jun 2013 23:27:47 +0000 (01:27 +0200)]
use first free IOCB for "GRAPHICS 0" call instead of using a hard-coded one

11 years agomove 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

11 years agosmall memory optimization: appmsav not needed in the xl target
Christian Groessler [Mon, 24 Jun 2013 22:53:21 +0000 (00:53 +0200)]
small memory optimization: appmsav not needed in the xl target

11 years agoremove TABs
Christian Groessler [Mon, 24 Jun 2013 22:48:43 +0000 (00:48 +0200)]
remove TABs

11 years agosome nicer debug messages
Christian Groessler [Mon, 24 Jun 2013 22:48:26 +0000 (00:48 +0200)]
some nicer debug messages

11 years agoRenamed the mouse sample program because it also tests the mouse library.
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.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Mon, 24 Jun 2013 06:45:21 +0000 (08:45 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agoUsed a library-reference method to calibrate lightpen drivers.
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.

11 years agoFixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 10:36:37 +0000 (12:36 +0200)]
Fixed comment.

11 years agoFixed comment.
Oliver Schmidt [Fri, 21 Jun 2013 10:35:35 +0000 (13:35 +0300)]
Fixed comment.

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

11 years agoMerge pull request #15 from groessler/something_to_pull
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.

11 years agoFix writing one byte beyond screen buffer. 15/head
Christian Groessler [Thu, 20 Jun 2013 23:53:13 +0000 (01:53 +0200)]
Fix writing one byte beyond screen buffer.

11 years agoFix 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.

11 years agocleanups and add more comments
Christian Groessler [Thu, 20 Jun 2013 22:01:07 +0000 (00:01 +0200)]
cleanups and add more comments

11 years agoFix check whether there is enough memory btw. MEMLO and the program
Christian Groessler [Thu, 20 Jun 2013 21:31:41 +0000 (23:31 +0200)]
Fix check whether there is enough memory btw. MEMLO and the program
load address to move screen buffer there.

11 years agoMerge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 19 Jun 2013 09:06:17 +0000 (11:06 +0200)]
Merge remote-tracking branch 'upstream/master'

11 years agosome cleanups
Christian Groessler [Wed, 19 Jun 2013 09:05:03 +0000 (11:05 +0200)]
some cleanups

11 years agoSimply define CH_DEL exactly then when there none yet.
Oliver Schmidt [Tue, 18 Jun 2013 17:06:46 +0000 (19:06 +0200)]
Simply define CH_DEL exactly then when there none yet.

11 years agoAdd indication on the screen of occurring IRQs and NMIs (only for debug version).
Christian Groessler [Tue, 18 Jun 2013 11:00:51 +0000 (13:00 +0200)]
Add indication on the screen of occurring IRQs and NMIs (only for debug version).
NMI handler: set I status bit to original value before interrupt before chaining
to ROM NMI handler.