1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-29 02:55:20 +00:00
cc65/asminc
Oliver Schmidt 2c975d3642 Create static drivers directly from source files.
Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:

The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.

However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.

Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').
2014-06-04 23:50:18 +02:00
..
_file.inc Added pushback char to struct FILE 2004-05-12 13:16:36 +00:00
_heap.inc
apple2.inc
atari5200.inc rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc 2014-05-30 22:00:18 +02:00
atari_antic.inc rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc 2014-05-30 22:00:18 +02:00
atari_gtia.inc
atari_pokey.inc
atari.inc
atari.mac Replaced builtin macro packages with .mac files that are included like ordinary .inc files. 2013-04-08 00:11:05 +02:00
atmos.inc Added a simplistic read() that gives a stdin console on the Atmos. 2013-12-24 05:18:04 -05:00
c16.inc
c64.inc Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
c128.inc
cbm510.inc Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
cbm610.inc Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
cbm_filetype.inc According to Greg King, Vorpal files are regular files. 2012-07-01 18:10:57 +00:00
cbm.mac
cpu.mac
ctype.inc
em-error.inc Rewrote em_load_driver in assembler fixing a possible memory leak. 2012-07-22 11:36:09 +00:00
em-kernel.inc
errno.inc
fcntl.inc
generic.mac Added two useful opcode mnemonic aliases. 2013-05-08 00:03:44 -04:00
get_tv.inc Some renaming 2004-10-26 21:03:47 +00:00
joy-error.inc
joy-kernel.inc Bumped driver api versions due to recent intoduction of library references. 2013-09-01 09:46:07 +02:00
longbranch.mac Replaced builtin macro packages with .mac files that are included like ordinary .inc files. 2013-04-08 00:11:05 +02:00
lynx.inc Define timer 7 for sound 2012-12-11 05:56:59 +00:00
modload.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
module.mac Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
mouse-kernel.inc
nes.inc
o65.inc
opcodes.inc Added a macro package for writing self modyfying code. By Christian Krüger. 2012-02-21 20:02:20 +00:00
pet.inc Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
plus4.inc Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
ser-error.inc add SER_ERR_NOT_OPEN status code 2013-12-06 20:53:49 +01:00
ser-kernel.inc add SER_BAUD_56_875 2013-12-06 20:53:49 +01:00
signal.inc Signals implemented 2003-03-14 00:09:21 +00:00
smc.inc
stdio.inc
supervision.inc
tgi-error.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
tgi-kernel.inc Bumped driver api versions due to recent intoduction of library references. 2013-09-01 09:46:07 +02:00
tgi-vectorfont.inc
time.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
utsname.inc Use structs 2003-12-03 20:23:09 +00:00
vic20.inc Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
zeropage.inc