1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00
Commit Graph

275 Commits

Author SHA1 Message Date
uz
4026a28c60 Added a new flags byte to the TGI headers. Bumped the API version.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5083 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 11:23:27 +00:00
cpg
6d0db06931 interruptor support by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@5055 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-13 16:42:45 +00:00
ol.sc
4aa00e84e1 Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 10:38:48 +00:00
ol.sc
14cfadbc75 Computed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4/3 for a classic CRT and using the given driver resolutions as storage aspect ratio (SAR).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5001 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-30 12:46:03 +00:00
ol.sc
5e37ed1a16 Target-specific black & white values for use by the target-shared TGI kernel
git-svn-id: svn://svn.cc65.org/cc65/trunk@4993 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 17:11:23 +00:00
uz
6cbbe66c87 Removed the obsolete mouse module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4960 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-31 16:44:12 +00:00
uz
a9990fbcf3 Changed priorities of destructors so atexit will be called before open files
are closed on exit, so atexit handlers may close the files themselves or
whatever is necessary for a clean shutdown.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4939 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-28 10:55:03 +00:00
uz
fa1b5047dd Fixed order of options in call to ld65, which became important after the
latest changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4843 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-11-09 21:33:14 +00:00
cpg
f0d0e4e543 really use default drive
git-svn-id: svn://svn.cc65.org/cc65/trunk@4834 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-29 19:53:45 +00:00
cpg
3386876fd3 __defdev is not dependent on DYNAMIC_DD
git-svn-id: svn://svn.cc65.org/cc65/trunk@4833 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-29 19:52:31 +00:00
cpg
50becf541b fix for files with no extension
git-svn-id: svn://svn.cc65.org/cc65/trunk@4832 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-29 19:25:01 +00:00
cpg
5f006333bf add posixdirent.s by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@4830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-28 21:03:05 +00:00
cpg
03ed1b3a6a some fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@4829 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-28 21:02:09 +00:00
cpg
1aeb5651f5 initial version by Stefan A. Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@4828 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-28 20:55:18 +00:00
uz
3a88860d8b Removed the rs232 module from the makefile, since it will no longer compile.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-15 20:58:46 +00:00
uz
54cd9a17dd Removed useless high byte loads of the error code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-08 15:00:15 +00:00
cpg
e673b53850 adapt to new oserror/errno handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@4732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-06 22:43:19 +00:00
uz
ba0562c9f0 Save two bytes by a small code change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4708 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 10:15:44 +00:00
cpg
84b1e343b5 syschdir by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@4658 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-01 22:33:25 +00:00
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