1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00
cc65/libsrc
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
..
apple2 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
atari Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
atari5200 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
atmos Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
c16 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
c64 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
c128 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
cbm Used longer error text. 2014-05-28 23:01:48 -04:00
cbm510 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
cbm610 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
common More conforming to the cc65 project's apparent writing style. 2014-05-23 16:52:02 -04:00
conio Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
dbg Have __PLUS4__ imply __C16__. 2013-06-27 23:09:54 +02:00
em Added library reference em_libref to EMD interface. 2013-06-01 00:11:31 +02:00
geos-apple Have src/Makefile and libsrc/Make use disjoint work directories. 2014-03-05 23:24:35 +01:00
geos-cbm Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
geos-common Some fine tuning of the mouse driver interface harmonization. 2014-01-17 21:09:15 +01:00
joystick Added library reference joy_libref to JOY interface. 2013-06-01 00:36:08 +02:00
lynx Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
mouse Added library reference mouse_libref to MOU interface. 2013-06-01 00:53:17 +02:00
nes Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
pet Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
plus4 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
runtime Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put. 2014-05-11 10:43:06 -04:00
serial Added library reference ser_libref to SER interface. 2013-06-01 11:03:14 +02:00
sim6502 No delimiter comment between includes and first segment. 2013-06-27 13:04:52 +02:00
supervision Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
tgi Added library reference tgi_libref to TGI interface. 2013-06-01 12:42:00 +02:00
vic20 Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
zlib Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Makefile Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00