]>
git.sur5r.net Git - cc65/log
Oliver Schmidt [Tue, 8 Oct 2013 21:03:53 +0000 (23:03 +0200)]
Applied fix contributed by Greg King.
The code
void foo(void)
{
int i;
long l = 1L * i;
}
triggered an
Internal compiler error:
Code generation messed up: StackPtr is -4, should be -2
Greg King: "We are lucky that the bug is simple -- a missing "else". The result is that the compiler thinks that it does the opposite of what it actually does: It thinks that it pushes the non-constant expression onto the stack. It doesn't; so, cc65's stack pointer is wrong."
Oliver Schmidt [Fri, 4 Oct 2013 11:15:56 +0000 (04:15 -0700)]
Merge pull request #51 from groessler/something_to_pull
small optimization
Christian Groessler [Fri, 4 Oct 2013 10:40:35 +0000 (12:40 +0200)]
small optimization
Oliver Schmidt [Fri, 4 Oct 2013 09:43:48 +0000 (02:43 -0700)]
Merge pull request #50 from groessler/something_to_pull
Add "system check" load chunk to regular (non-XL) Atari target.
Christian Groessler [Thu, 3 Oct 2013 23:02:35 +0000 (01:02 +0200)]
Lower the default Atari start adress from $2E00 to $2000. With
the startup memory check of the "system check" load chunk this
should be fine
Christian Groessler [Thu, 3 Oct 2013 22:53:34 +0000 (00:53 +0200)]
Enable "system check" load chunk for non-XL Atari target.
Oliver Schmidt [Thu, 3 Oct 2013 12:35:55 +0000 (05:35 -0700)]
Merge pull request #49 from groessler/something_to_pull
Atari XL: use all available memory below the ROM
Christian Groessler [Thu, 3 Oct 2013 12:15:39 +0000 (14:15 +0200)]
Fix typo in last change.
Christian Groessler [Thu, 3 Oct 2013 12:11:35 +0000 (14:11 +0200)]
Use all available memory below the ROM.
Oliver Schmidt [Wed, 2 Oct 2013 21:50:02 +0000 (14:50 -0700)]
Merge pull request #48 from efornara/time_fix
fixed timep handling in time()
Emanuele Fornara [Wed, 2 Oct 2013 19:55:01 +0000 (20:55 +0100)]
fixed timep handling in time()
Oliver Schmidt [Tue, 1 Oct 2013 19:02:02 +0000 (12:02 -0700)]
Merge pull request #45 from groessler/something_to_pull
Atari XL target
Christian Groessler [Tue, 1 Oct 2013 09:32:08 +0000 (11:32 +0200)]
Some formatting and style fixes.
Christian Groessler [Fri, 27 Sep 2013 20:14:26 +0000 (22:14 +0200)]
disable DEBUG
Christian Groessler [Fri, 27 Sep 2013 20:01:54 +0000 (22:01 +0200)]
untabify
Christian Groessler [Fri, 27 Sep 2013 19:49:45 +0000 (21:49 +0200)]
Leave the character generator at $E000 like atarixl.cfg does.
Christian Groessler [Wed, 25 Sep 2013 20:19:57 +0000 (22:19 +0200)]
Merge remote-tracking branch 'upstream/master'
Oliver Schmidt [Mon, 23 Sep 2013 22:16:11 +0000 (15:16 -0700)]
Merge pull request #44 from greg-king5/archiver
Hide an unneeded ar65 status message.
Greg King [Mon, 23 Sep 2013 20:10:12 +0000 (16:10 -0400)]
Made the archiver announce a library's creation only if it is being verbose.
Christian Groessler [Fri, 20 Sep 2013 16:09:53 +0000 (18:09 +0200)]
adapt to CHARGEN_RELOC
Christian Groessler [Fri, 20 Sep 2013 16:09:16 +0000 (18:09 +0200)]
Add comment describing the need to have the runtime library compiled
with CHARGEN_RELOC enabled.
Christian Groessler [Thu, 19 Sep 2013 22:26:49 +0000 (00:26 +0200)]
move CHARGEN_RELOC enabling to Makefile.inc
Christian Groessler [Thu, 19 Sep 2013 22:10:34 +0000 (00:10 +0200)]
cleanup and document CHARGEN_RELOC change
Christian Groessler [Thu, 19 Sep 2013 21:34:45 +0000 (23:34 +0200)]
add CHARGEN_RELOC knob to conditionally include the code to change CHBASE
Christian Groessler [Thu, 19 Sep 2013 21:21:09 +0000 (23:21 +0200)]
move macros to enable and disable the ROM into a separate include file
Christian Groessler [Thu, 19 Sep 2013 20:40:20 +0000 (22:40 +0200)]
adjust some variable names
Christian Groessler [Thu, 19 Sep 2013 20:36:22 +0000 (22:36 +0200)]
Use '.ifdef' and '.ifndef' instead of '.if .defined' and '.if .not .defined'.
Christian Groessler [Wed, 18 Sep 2013 15:11:26 +0000 (17:11 +0200)]
Merge remote-tracking branch 'upstream/master'
Oliver Schmidt [Wed, 18 Sep 2013 14:42:00 +0000 (07:42 -0700)]
Merge pull request #43 from groessler/something_to_pull
override _sys() function for Atari targets
Christian Groessler [Wed, 18 Sep 2013 14:36:03 +0000 (16:36 +0200)]
use '.ifndef' instead of '.if .not .defined'
Christian Groessler [Wed, 18 Sep 2013 14:36:03 +0000 (16:36 +0200)]
use '.ifndef' instead of '.if .not .defined'
Christian Groessler [Tue, 17 Sep 2013 20:52:18 +0000 (22:52 +0200)]
override _sys() function for Atari targets
Christian Groessler [Wed, 18 Sep 2013 13:34:57 +0000 (15:34 +0200)]
Merge remote-tracking branch 'upstream/master'
Oliver Schmidt [Wed, 18 Sep 2013 13:23:25 +0000 (06:23 -0700)]
Merge pull request #42 from groessler/something_to_pull
Testprogram for _sys() on Atari; some atari.h changes
Christian Groessler [Tue, 17 Sep 2013 23:27:44 +0000 (01:27 +0200)]
some cosmetic cleanups
Christian Groessler [Tue, 17 Sep 2013 22:48:01 +0000 (00:48 +0200)]
Get rid of SAVEAREA segment: fold it into LOWDATA.
Christian Groessler [Tue, 17 Sep 2013 22:38:29 +0000 (00:38 +0200)]
Default atatixl.cfg file now leaves the character generator at $E000.
This reduces the potential to flicker, but creates two separate
memory areas in the high memory.
For applications which require a large continuous memory space in
high memory, atarixl-largehimem.cfg is provided. With high IRQ
activity or DL interrupt there might be flicker.
Christian Groessler [Tue, 17 Sep 2013 22:28:48 +0000 (00:28 +0200)]
remove __RESERVED_MEMORY__: not supported on atarixl
Christian Groessler [Tue, 17 Sep 2013 22:27:45 +0000 (00:27 +0200)]
introduce SHADOW_RAM2
Christian Groessler [Tue, 17 Sep 2013 22:25:18 +0000 (00:25 +0200)]
add support for SHADOW_RAM2 segment
Christian Groessler [Tue, 17 Sep 2013 22:17:45 +0000 (00:17 +0200)]
introduce SHADOW_RAM2
Christian Groessler [Tue, 17 Sep 2013 21:03:33 +0000 (23:03 +0200)]
consider __STACKSIZE__ when initializing sp for atarixl
Christian Groessler [Tue, 17 Sep 2013 20:52:18 +0000 (22:52 +0200)]
override _sys() function for Atari targets
Christian Groessler [Tue, 17 Sep 2013 20:33:48 +0000 (22:33 +0200)]
add testprogram for _sys() function on Atari
Christian Groessler [Tue, 17 Sep 2013 20:32:43 +0000 (22:32 +0200)]
add IOCB command codes to atari.h
Christian Groessler [Tue, 17 Sep 2013 20:33:48 +0000 (22:33 +0200)]
add testprogram for _sys() function on Atari
Christian Groessler [Tue, 17 Sep 2013 20:32:43 +0000 (22:32 +0200)]
add IOCB command codes to atari.h
Christian Groessler [Fri, 13 Sep 2013 19:47:39 +0000 (21:47 +0200)]
more atarixl linker cfg file cleanups; adapt atarixl-overlay.cfg
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
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.
Christian Groessler [Fri, 13 Sep 2013 14:15:11 +0000 (16:15 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.
Christian Groessler [Fri, 13 Sep 2013 14:00:56 +0000 (16:00 +0200)]
Remove obsolete ZPSAVE segment.
Christian Groessler [Thu, 12 Sep 2013 11:24:35 +0000 (13:24 +0200)]
Merge remote-tracking branch 'upstream/master'
Conflicts:
testcode/lib/tinyshell.c
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: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 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 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.
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.
Christian Groessler [Wed, 11 Sep 2013 20:43:35 +0000 (22:43 +0200)]
add code to add free shadow memory to heap (currently disabled)
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.
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.
Christian Groessler [Tue, 10 Sep 2013 11:36:28 +0000 (13:36 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Sat, 7 Sep 2013 15:44:53 +0000 (17:44 +0200)]
remove ZP_CIOV_save and ZP_SIOV_save
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.
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)
Christian Groessler [Wed, 4 Sep 2013 20:10:36 +0000 (22:10 +0200)]
Remove screen flicker while mapping ROM out and in.
Some cleanups.
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.
Christian Groessler [Wed, 4 Sep 2013 11:28:10 +0000 (13:28 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
Christian Groessler [Tue, 27 Aug 2013 20:46:05 +0000 (22:46 +0200)]
Merge remote-tracking branch 'upstream/master'
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.
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
Christian Groessler [Tue, 27 Aug 2013 20:01:19 +0000 (22:01 +0200)]
em-test.c: add support for Atari
Christian Groessler [Tue, 27 Aug 2013 08:22:41 +0000 (10:22 +0200)]
Merge remote-tracking branch 'upstream/master'
Christian Groessler [Tue, 27 Aug 2013 08:21:42 +0000 (10:21 +0200)]
rename KEYBDV_wrapper to KEYBDV_handler
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
Christian Groessler [Mon, 26 Aug 2013 10:16:26 +0000 (12:16 +0200)]
remove warning about missing return value; fix typo
Christian Groessler [Mon, 26 Aug 2013 08:36:40 +0000 (10:36 +0200)]
changes for atarixl target
Christian Groessler [Mon, 26 Aug 2013 07:00:11 +0000 (09:00 +0200)]
Merge remote-tracking branch 'upstream/master'