]>
git.sur5r.net Git - cc65/log
Christian Groessler [Wed, 24 Jul 2013 12:59:07 +0000 (14:59 +0200)]
Merge remote-tracking branch 'upstream/master'
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 [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: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
Christian Groessler [Tue, 23 Jul 2013 22:40:09 +0000 (00:40 +0200)]
implement _sysrename for Atari
Christian Groessler [Tue, 23 Jul 2013 22:37:21 +0000 (00:37 +0200)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
libsrc/atari/sysrmdir.s
Christian Groessler [Wed, 17 Jul 2013 21:37:03 +0000 (23:37 +0200)]
don't include errno.inc -- not necessary
Christian Groessler [Wed, 17 Jul 2013 21:33:12 +0000 (23:33 +0200)]
remove unused import sreg
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
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS
Christian Groessler [Wed, 10 Jul 2013 09:48:38 +0000 (11:48 +0200)]
Merge remote-tracking branch 'upstream/master'
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"
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"
Christian Groessler [Thu, 4 Jul 2013 23:20:16 +0000 (01:20 +0200)]
Merge remote-tracking branch 'upstream/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
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.
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
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).
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.
Christian Groessler [Thu, 27 Jun 2013 22:49:12 +0000 (00:49 +0200)]
Merge remote-tracking branch 'upstream/master'
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__.
Oliver Schmidt [Thu, 27 Jun 2013 11:04:52 +0000 (13:04 +0200)]
No delimiter comment between includes and first segment.
Christian Groessler [Tue, 25 Jun 2013 10:04:15 +0000 (12:04 +0200)]
Merge remote-tracking branch 'upstream/master'
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
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
Christian Groessler [Mon, 24 Jun 2013 23:12:11 +0000 (01:12 +0200)]
move findfreeiocb function into its own object file
Christian Groessler [Mon, 24 Jun 2013 22:53:21 +0000 (00:53 +0200)]
small memory optimization: appmsav not needed in the xl target
Christian Groessler [Mon, 24 Jun 2013 22:48:43 +0000 (00:48 +0200)]
remove TABs
Christian Groessler [Mon, 24 Jun 2013 22:48:26 +0000 (00:48 +0200)]
some nicer debug messages
Christian Groessler [Mon, 24 Jun 2013 06:45:21 +0000 (08:45 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Fri, 21 Jun 2013 09:53:56 +0000 (11:53 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Thu, 20 Jun 2013 23:53:13 +0000 (01:53 +0200)]
Fix writing one byte beyond screen buffer.
Christian Groessler [Thu, 20 Jun 2013 22:01:07 +0000 (00:01 +0200)]
cleanups and add more comments
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.
Christian Groessler [Wed, 19 Jun 2013 09:06:17 +0000 (11:06 +0200)]
Merge remote-tracking branch 'upstream/master'
Christian Groessler [Wed, 19 Jun 2013 09:05:03 +0000 (11:05 +0200)]
some cleanups
Oliver Schmidt [Tue, 18 Jun 2013 17:06:46 +0000 (19:06 +0200)]
Simply define CH_DEL exactly then when there none yet.
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.
Christian Groessler [Mon, 17 Jun 2013 21:54:49 +0000 (23:54 +0200)]
Merge remote-tracking branch 'upstream/master'
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__.
Christian Groessler [Mon, 17 Jun 2013 16:56:28 +0000 (18:56 +0200)]
make one more debug message ".ifdef DEBUG"
Christian Groessler [Thu, 13 Jun 2013 20:59:14 +0000 (22:59 +0200)]
Merge remote-tracking branch 'upstream/master'
Oliver Schmidt [Thu, 13 Jun 2013 13:26:17 +0000 (15:26 +0200)]
Avoid GCC "unconst" warning.
Christian Groessler [Wed, 12 Jun 2013 23:17:53 +0000 (01:17 +0200)]
Better cleanup on program exit on atarixl target
Christian Groessler [Wed, 12 Jun 2013 23:16:35 +0000 (01:16 +0200)]
Move scrdev into it's own file. On the atarixl target it will be referenced by crt0.s.
Christian Groessler [Wed, 12 Jun 2013 23:16:05 +0000 (01:16 +0200)]
better error message
Christian Groessler [Wed, 12 Jun 2013 23:07:40 +0000 (01:07 +0200)]
some debug messages ".ifdef DEBUG"
Christian Groessler [Wed, 12 Jun 2013 22:54:03 +0000 (00:54 +0200)]
Add handling of write requests
Christian Groessler [Wed, 12 Jun 2013 11:27:28 +0000 (13:27 +0200)]
intermediate check-in -- added handling of read requests
Christian Groessler [Wed, 12 Jun 2013 11:26:26 +0000 (13:26 +0200)]
add LOWBUFS segment
Christian Groessler [Mon, 10 Jun 2013 12:22:30 +0000 (14:22 +0200)]
intermediate check-in
Christian Groessler [Mon, 10 Jun 2013 11:44:52 +0000 (13:44 +0200)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
asminc/atari.inc
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.
Christian Groessler [Fri, 7 Jun 2013 22:35:07 +0000 (00:35 +0200)]
Use symbolic names for all CIO commands.
Christian Groessler [Fri, 7 Jun 2013 21:29:49 +0000 (23:29 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Wed, 5 Jun 2013 21:09:32 +0000 (23:09 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Tue, 4 Jun 2013 08:54:34 +0000 (10:54 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Oliver Schmidt [Fri, 31 May 2013 22:11:31 +0000 (00:11 +0200)]
Added library reference em_libref to EMD interface.
Occasionally dynamically drivers suffer from not being to refer to
content in the C library. Therefore I added a mechanism to allow
a C library for a certian target to define a symbol that will be
handed over to dynamic drivers for that target. Then the drivers
can use their refernce to that symbol to access content in the C
library.
Oliver Schmidt [Fri, 31 May 2013 19:30:14 +0000 (21:30 +0200)]
Explicitly set search paths for libraries build.
The libraries build is prepared to work with binaries not part of the current
working tree. But in this case the default search path surely points to some
other working tree. Even the binaries in this working tree might have been
compiled with non-standard builtin search paths.
Anyway when building the libraries we want always to use the headers from
the current working tree. Therefore we want to set them explicitly. Instead
of setting all in all five paths on the command lines of ca65, cc65 and ld65 I
opted to just set the single environment variable.
Christian Groessler [Fri, 31 May 2013 12:49:46 +0000 (14:49 +0200)]
small cleanup
Christian Groessler [Fri, 31 May 2013 12:49:25 +0000 (14:49 +0200)]
Take SHADOW_RAM size into account.
Christian Groessler [Thu, 30 May 2013 23:50:07 +0000 (01:50 +0200)]
When turning the ROM off and on, also change the chargen pointer.
Christian Groessler [Thu, 30 May 2013 23:47:25 +0000 (01:47 +0200)]
some more changes -- atarixl target basically works now
Christian Groessler [Thu, 30 May 2013 23:45:53 +0000 (01:45 +0200)]
Handlers which manage the banking in and out of the ROM.
Christian Groessler [Thu, 30 May 2013 23:42:30 +0000 (01:42 +0200)]
add more saved content
Christian Groessler [Thu, 30 May 2013 23:40:45 +0000 (01:40 +0200)]
move ZPSAVE content into its own file (used by 2nd load chunk and crt0.s in atarixl target)
Christian Groessler [Thu, 30 May 2013 23:38:16 +0000 (01:38 +0200)]
adapt to atarixl target
Christian Groessler [Thu, 30 May 2013 23:37:40 +0000 (01:37 +0200)]
rename CIOV and SIOV to CIOV_org and SIOV_org for atarixl target
Christian Groessler [Thu, 30 May 2013 23:35:19 +0000 (01:35 +0200)]
move ZPSAVE into area already saved by 2nd load chunk
Christian Groessler [Thu, 30 May 2013 00:34:06 +0000 (02:34 +0200)]
Code & data for "shadow RAM preparation" load chunk in the atarixl target.
Intermediate check-in, unfinished...
Christian Groessler [Thu, 30 May 2013 00:33:09 +0000 (02:33 +0200)]
Code & data for "system check" load chunk in the atarixl target.
Christian Groessler [Thu, 30 May 2013 00:31:25 +0000 (02:31 +0200)]
"save area" is used to save modified system variables and ports. It's
shared between the second and main chunk.
Christian Groessler [Thu, 30 May 2013 00:30:19 +0000 (02:30 +0200)]
Some small first changes for the 'atarixl' target.
Christian Groessler [Thu, 30 May 2013 00:26:15 +0000 (02:26 +0200)]
Add two load chunks:
- First chunk checks system (if it's XL and memory is ok).
- Second chunk contains the contents for the shadow memory beneath the
ROM and copies the contents to their destination address.
It also moves the screen memory to low memory in front of the program.
Oliver Schmidt [Tue, 28 May 2013 23:12:24 +0000 (01:12 +0200)]
Use cbm_load() to load overlays on CBMs.
Oliver Schmidt [Tue, 28 May 2013 20:16:07 +0000 (22:16 +0200)]
Fixed discrepancy between definition and declaration.
Oliver Schmidt [Tue, 28 May 2013 20:07:04 +0000 (22:07 +0200)]
Brought back mouse driver source code.
The mouse driver source code in question was removed two years
ago with commit
6cbbe66c87fc19c322a0dd72a5c8ef094ea90c90 .
It seems however desirable to have it around visible in the source
code tree for reference purposes.