]>
git.sur5r.net Git - cc65/log
Christian Groessler [Wed, 24 Jul 2013 13:29:10 +0000 (15:29 +0200)]
Merge remote-tracking branch 'upstream/master'
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
Christian Groessler [Wed, 24 Jul 2013 13:04:56 +0000 (15:04 +0200)]
add "tinyshell" test program for file operations
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
Stephan Mühlstrasser [Tue, 16 Jul 2013 20:29:14 +0000 (22:29 +0200)]
Created C1P object file generator.
Stephan Mühlstrasser [Tue, 16 Jul 2013 16:16:36 +0000 (18:16 +0200)]
Merge branch 'master' into c1p
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
Christian Groessler [Mon, 15 Jul 2013 23:29:49 +0000 (01:29 +0200)]
fix '_sysrmdir' for SpartaDOS
Stephan Mühlstrasser [Mon, 15 Jul 2013 20:45:09 +0000 (22:45 +0200)]
Suppress call to copydata routine, which seems to
be necessary only in very special cases that
are unclear at the moment.
Stephan Mühlstrasser [Mon, 15 Jul 2013 20:24:10 +0000 (22:24 +0200)]
Adapt to memory size of C1P.
Stephan Mühlstrasser [Sun, 14 Jul 2013 20:50:38 +0000 (22:50 +0200)]
Nominal support for target Ohio Scientific Challenger 1P
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"
Greg King [Fri, 5 Jul 2013 16:32:19 +0000 (12:32 -0400)]
Look for NULL pointer more efficiently.
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).
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.
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__.
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.
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
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.
Christian Groessler [Mon, 24 Jun 2013 06:45:21 +0000 (08:45 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
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'
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.
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.