1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-20 05:29:39 +00:00
cc65/libsrc/cbm510
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
..
emd Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
joy Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
mou Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
ser Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
_scrsize.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
banking.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
break.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
cgetc.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
clrscr.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
color.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
cputc.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
crt0.s Added cursor-flags initiation. 2013-08-23 18:19:49 -04:00
devnum.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
extzp.inc Made Olivers devnum patch (r4588) work with the PET-II models. On these 2010-02-20 19:46:51 +00:00
extzp.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
irq.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
joy_stat_stddrv.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
joy_stddrv.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kbhit.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kclose.s More cbm510 changes to make file I/O and kernal access work 2003-12-27 16:11:14 +00:00
kernal.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kiobase.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kopen.s More cbm510 changes to make file I/O and kernal access work 2003-12-27 16:11:14 +00:00
krdtim.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kreadst.s More cbm510 changes to make file I/O and kernal access work 2003-12-27 16:11:14 +00:00
kscnkey.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kscreen.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ksetnam.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ksettim.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kudtim.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
libref.s Added library reference ser_libref to SER interface. 2013-06-01 11:03:14 +02:00
mainargs.s Added command-line argument parsing to the CBM510 and CBM610 targets. 2014-04-03 08:23:28 -04:00
mcbdefault.s Some fine tuning of the mouse driver interface harmonization. 2014-01-17 21:09:15 +01:00
mouse_stat_stddrv.s Added a driver to the CBM510 library that lets a joystick pretend to be a mouse. 2013-08-23 03:06:00 -04:00
mouse_stddrv.s Added a driver to the CBM510 library that lets a joystick pretend to be a mouse. 2013-08-23 03:06:00 -04:00
mouseref.s Added a driver to the CBM510 library that lets a joystick pretend to be a mouse. 2013-08-23 03:06:00 -04:00
peeksys.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
pencalib.c Added a cbm510 lightpen driver. 2013-09-09 17:03:40 -04:00
pokesys.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
randomize.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
revers.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
systime.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
sysuname.s New uname function 2003-08-12 17:24:02 +00:00