1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-29 10:29:30 +00:00
Commit Graph

5835 Commits

Author SHA1 Message Date
Christian Groessler
d68307ee52 fix cleanup of stack 2013-07-24 10:24:47 +02:00
Christian Groessler
f30b74ddb4 Don't import tmp1, slipped in by mistake in last commit 2013-07-24 00:45:20 +02:00
Christian Groessler
f2807df4c2 Don't import tmp1, slipped in by mistake in last commit 2013-07-24 00:44:44 +02:00
Christian Groessler
bbc31f67da implement _sysrename for Atari 2013-07-24 00:41:49 +02:00
Christian Groessler
993555da94 implement _sysrename for Atari 2013-07-24 00:40:09 +02:00
Christian Groessler
a01b9f08ed Merge remote-tracking branch 'upstream/master'
Conflicts:
	libsrc/atari/sysrmdir.s
2013-07-24 00:37:21 +02:00
Christian Groessler
8f23c1bac7 don't include errno.inc -- not necessary 2013-07-17 23:37:03 +02:00
Christian Groessler
0bd97f5445 remove unused import sreg 2013-07-17 23:33:12 +02:00
Oliver Schmidt
2df404f14e Merge pull request #21 from groessler/something_to_pull
fix '_sysrmdir' for SpartaDOS
2013-07-16 06:52:43 -07:00
Greg King
3574f3a742 Normalized some hexadecimal addresses. 2013-07-16 01:48:57 -04:00
Greg King
641a609cf3 Moved common symbol names out of sources, and into a global include file. 2013-07-16 00:30:56 -04:00
Christian Groessler
e0aaac0088 fix '_sysrmdir' for SpartaDOS 2013-07-16 01:31:15 +02:00
Christian Groessler
a3ad7d07a1 fix '_sysrmdir' for SpartaDOS 2013-07-16 01:29:49 +02:00
Christian Groessler
fa89c6b020 Merge remote-tracking branch 'upstream/master' 2013-07-10 11:48:38 +02:00
Oliver Schmidt
c9c66dcfdd Merge pull request #20 from greg-king5/linker
Fixed ld65's precalculation of memory-area sizes and file-offsets.
2013-07-10 02:37:45 -07:00
Oliver Schmidt
25399e9c61 Merge pull request #19 from groessler/something_to_pull
close IOCB if open failed -- otherwise it is still marked as "in use"
2013-07-10 02:24:12 -07:00
Greg King
cf7f7b9ef2 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.
2013-07-10 02:37:09 -04:00
Christian Groessler
1bfd39ee20 close IOCB if open failed -- otherwise is is still marked as "in use" 2013-07-09 23:59:27 +02:00
Christian Groessler
f04dc3570c close IOCB if open failed -- otherwise is is still marked as "in use" 2013-07-09 23:39:42 +02:00
Greg King
078a1df2f6 Look for NULL pointer more efficiently. 2013-07-05 12:32:19 -04:00
Christian Groessler
feedf6690c Merge remote-tracking branch 'upstream/master' 2013-07-05 01:20:16 +02:00
Oliver Schmidt
21ef04845e Merge pull request #18 from xofeht/master
dbginfo.c bug fix
2013-07-04 12:24:19 -07:00
thefox
c12a8bf377 Fixed a logic bug in dbginfo.c module that prevented some valid debug info files from being parsed. 2013-07-04 21:10:58 +03:00
Christian Groessler
d3d7499faa Remove saving and restoring of zeropage variables.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	cfg/atarixl.cfg
	libsrc/atari/crt0.s
2013-07-03 11:38:28 +02:00
Oliver Schmidt
b5c88a54d5 Merge pull request #17 from groessler/something_to_pull
Atari targets: Don't save and restore the zero page locations used.
2013-07-02 23:58:08 -07:00
Christian Groessler
7ebaec1802 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).
2013-07-02 19:55:00 +02:00
Greg King
a555b5f6a5 Merge branch 'master' into lightpen 2013-07-01 09:25:02 -04:00
Greg King
42301b78ce Included a header that defines NULL. 2013-06-28 06:36:32 -04:00
Christian Groessler
250e26c56e Don't save original IRQ, NMI, and RESET vectors -- it's not needed. 2013-06-28 01:08:07 +02:00
Christian Groessler
1e9823306a Merge remote-tracking branch 'upstream/master' 2013-06-28 00:49:12 +02:00
Oliver Schmidt
5edcd639e0 Made EXTZP segment option for modules.
This allows to remove the "add empty EXTZP segement to avoid warnings"
approach.
2013-06-28 00:30:24 +02:00
Oliver Schmidt
3af758ced5 Have __PLUS4__ imply __C16__. 2013-06-27 23:09:54 +02:00
Greg King
ecef5551a8 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.
2013-06-27 10:01:47 -04:00
Oliver Schmidt
460cea425f No delimiter comment between includes and first segment. 2013-06-27 13:04:52 +02:00
Christian Groessler
82e73447c9 Merge remote-tracking branch 'upstream/master' 2013-06-25 12:04:15 +02:00
Oliver Schmidt
a8d66d0ef4 Merge pull request #16 from groessler/something_to_pull
move findfreeiocb function into its own object file
2013-06-24 23:45:47 -07:00
Christian Groessler
1bd902787b move findfreeiocb function into its own object file 2013-06-25 01:29:56 +02:00
Christian Groessler
a03b3574b6 use first free IOCB for "GRAPHICS 0" call instead of using a hard-coded one 2013-06-25 01:27:47 +02:00
Christian Groessler
df1165e0e0 move findfreeiocb function into its own object file 2013-06-25 01:12:11 +02:00
Christian Groessler
b31e0d3249 small memory optimization: appmsav not needed in the xl target 2013-06-25 00:53:21 +02:00
Christian Groessler
be880bd157 remove TABs 2013-06-25 00:48:43 +02:00
Christian Groessler
1347947f0d some nicer debug messages 2013-06-25 00:48:26 +02:00
Greg King
88c102b993 Renamed the mouse sample program because it also tests the mouse library. 2013-06-24 06:37:28 -04:00
Christian Groessler
a97e7f4801 Merge remote-tracking branch 'upstream/master' 2013-06-24 08:45:21 +02:00
Greg King
e63bf1cde1 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.
2013-06-23 03:18:28 -04:00
Oliver Schmidt
c4c67b9205 Fixed comment. 2013-06-21 12:36:37 +02:00
Oliver Schmidt
578d2fe25d Fixed comment. 2013-06-21 13:35:35 +03:00
Christian Groessler
3a8150f03d Merge remote-tracking branch 'upstream/master' 2013-06-21 11:53:56 +02:00
Oliver Schmidt
d6849d96bd Merge pull request #15 from groessler/something_to_pull
Fix writing one byte beyond screen buffer.
2013-06-21 02:39:20 -07:00
Christian Groessler
e3fb1b3d3d Fix writing one byte beyond screen buffer. 2013-06-21 11:33:55 +02:00