1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +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 Fixed two typos 2005-02-14 09:39:46 +00:00
apple2.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
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 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_pokey.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.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.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 The C16 is not really a separate machine, but identical to the Plus/4, so 2010-03-06 15:17:08 +00:00
c64.inc Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04:00
c128.inc Migrated the phantom-key exorcism code to the other C128 mouse drivers. 2014-05-05 05:30:31 -04:00
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 Made CBM scrcode assembly-macro properly handle all 256 codes. 2013-04-25 14:28:01 -04:00
cpu.mac Removed references to SunPlus. 2014-02-08 22:48:49 +01:00
ctype.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
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 Bumped driver api versions due to recent intoduction of library references. 2013-09-01 09:46:07 +02:00
errno.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
fcntl.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
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 New joystick API 2002-12-20 21:02:35 +00:00
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 Some fine tuning of the mouse driver interface harmonization. 2014-01-17 21:09:15 +01:00
nes.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
o65.inc Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
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 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
stdio.inc Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__. 2013-06-17 21:34:08 +02:00
supervision.inc Moved most platform assembler includes into asminc, so they will be available 2009-09-24 17:44:22 +00:00
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 Small change in the vector font format. 2011-07-17 17:15:54 +00:00
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 Change imports from "import" to "global", so the file can be used from 2012-11-04 13:54:06 +00:00