cpg
2bca737f57
more space improvements by Daniel Serpell
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-07 18:58:32 +00:00
cpg
e65719bf98
don't hardcode 'D' as device name, use __defdev
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:47:14 +00:00
cpg
20e9cf6d85
remove check for ATEOL
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 18:21:26 +00:00
cpg
b0afb15402
save 2 bytes -- patch by Uz
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 18:08:56 +00:00
cpg
0b28cda7b0
put _revflag into .bss
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:44:54 +00:00
cpg
94f7ce4978
fix comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:41:00 +00:00
cpg
7fb08aa749
move __do_oserror and __inviocb into their own source files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:35:21 +00:00
cpg
9b058add4a
remove not longer needed import of __errno
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4486 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:08:24 +00:00
cpg
daa41d41d6
remove not longer needed import of tmp2 and tmp3
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4485 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:06:47 +00:00
cpg
d17e0f7c02
space improvements by Daniel Serpell
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:03:18 +00:00
uz
bfbf94404b
Squeezed bytes and cycles out of the kbhit functions for almost all platforms.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4480 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-24 18:31:16 +00:00
cpg
7357b44104
don't use constructor to setup runtime stack
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 22:06:32 +00:00
cpg
fa25cc732f
move fdtoiocb function into its own file -- idea by Daniel Serpell
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 21:59:29 +00:00
cpg
5a593b8105
poor man's _toascii routine, contributed by Fatih Aygun
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 21:35:33 +00:00
cpg
314984aae4
save 3 bytes, patch by Daniel Serpell
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4476 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 21:21:49 +00:00
cpg
2011f92c3a
save a byte (idea by Uz, done by Daniel Serpell)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4475 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-23 21:17:56 +00:00
cpg
61b2834508
don't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4473 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-19 22:12:51 +00:00
cpg
38901e1614
move setup of stdin/stdout/stderr from crt0.s to getfd.s
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-19 20:57:23 +00:00
cpg
429c3888bc
add a comment describing why this file is really included despite an obvious reference to it
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4471 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-18 23:52:54 +00:00
cpg
4ee7121ba2
small space optimization -- 3 bytes reduced
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4470 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-18 22:16:13 +00:00
cpg
cce24a2c9a
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-15 14:55:14 +00:00
cpg
b739a2d335
changes from Fatih
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-15 14:46:09 +00:00
uz
097b094fdd
Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 15:53:01 +00:00
cpg
b30d834772
remove superfluous ".code" line
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-11 23:17:55 +00:00
cpg
ab6ff06e76
bugfix from Fatih
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-11 23:15:42 +00:00
cpg
7b42fd028a
fix comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4457 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-10 21:56:56 +00:00
cpg
b18d6ad8db
add Atari TGI drivers from Fatih Aygun
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-10 21:53:55 +00:00
uz
5c5d01d84a
Moved most platform assembler includes into asminc, so they will be available
...
in the distribution.
Added --forget-inc-paths to the command line of the assembler in the
Makefiles, because the assembler does now have builtin paths and will find
include files from an installation first.
Hopefully fixed any problems that arose from the two changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:44:22 +00:00
cpg
9cafacaf6d
introduce STARTUP segment to Atari platform
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3995 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-04 20:04:41 +00:00
uz
8216bf1d6a
Force an import of the special symbol __STARTUP__ in the C compiler when
...
main() is encountered. Define this symbol in the startup code. This will
automatically force linking of the startup code which can then reside inside
the standard library as any other object file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-31 12:05:42 +00:00
cpg
2f39754838
use RUNAD (from atari.inc) instead of /bin/bash2E0
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3963 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-04-29 21:37:10 +00:00
cpg
482b3da7d8
add Atari MultiJoy driver from Stefan A. Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-04-11 18:10:44 +00:00
cpg
f94ee2c20e
small optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-30 19:17:14 +00:00
cpg
8008a980bb
now it really works (tested w/MYDOS only)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3918 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-28 22:01:28 +00:00
cpg
46cb2548c1
fix comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3917 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-28 21:54:02 +00:00
uz
4812feb44b
git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-02 22:02:54 +00:00
cpg
e64672acc7
use __ZPSAVE_LOAD__ instead of __BSS_LOAD__ to create EXEHDR
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-04 17:32:00 +00:00
cuz
f257b2ee81
Moved the data that keeps a copy of the used zero page locations in its own
...
segment to reduce the executable size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3849 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-03 19:39:14 +00:00
cpg
baf1e77645
Use RMARGN instead of a hard coded value for compatibility with XEP80.
...
Patch by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-07-01 20:58:03 +00:00
cpg
b66b04f289
space optimization by Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-03-28 19:34:48 +00:00
cuz
06e00f9343
Declare zero page variables before use. Otherwise they aren't used in zero
...
page addressing mode, if the assembler has a choice.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-09 11:43:03 +00:00
cpg
f981dd35ad
fix INSTALL return value (Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3695 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-05 15:11:33 +00:00
cpg
48c3702315
add sysmkdir.o and sysrmdir.o
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:58:11 +00:00
cpg
c249515d48
initial version from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:56:04 +00:00
cpg
67cd3d8d76
error code 172 -> EEXIST (Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:12:58 +00:00
cpg
017be4c23b
TAB fixes from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 19:57:16 +00:00
cpg
be31ff1fe4
take __RESERVED_MEMORY__ from linker script into account when setting
...
upper memory limit
git-svn-id: svn://svn.cc65.org/cc65/trunk@3569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:48:32 +00:00
cpg
9fbc99eb6d
remove initscrmem and grmemusage:
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3568 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:44:01 +00:00
cpg
2efd1c79df
_graphmode_used isn't used anymore
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:42:59 +00:00
cpg
044de2eaca
remove graphuse.o
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 15:42:20 +00:00