1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-11 14:29:11 +00:00
cc65/libsrc/pet
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
..
joy 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
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
checkst.s Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory. 2012-09-30 18:20:15 +00: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
conio.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 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
devnum.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
get_tv.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
kbsout.s Added kernal replacement routines 2002-11-20 01:31:56 +00:00
kchkin.s Added kernal replacement routines 2002-11-20 01:31:56 +00:00
kckout.s Added kernal replacement routines 2002-11-20 01:31:56 +00:00
kclose.s Added kernal replacement routines 2002-11-20 01:31:56 +00:00
kernal.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
kopen.s Added kernal replacement routines 2002-11-20 01:31:56 +00:00
kplot.s Added a PLOT kernal replacement function 2002-12-12 18:44:28 +00:00
krdtim.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
kreadst.s Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory. 2012-09-30 18:20:15 +00:00
ksetlfs.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
ksetnam.s Use external symbols for the CBM kernal jump table functions. This allows 2002-11-19 23:02:47 +00:00
libref.s Added library reference joy_libref to JOY interface. 2013-06-01 00:36:08 +02:00
mainargs.s Added the model-specific addresses that the CBM exec() needs. 2013-08-25 00:43:23 -04: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
status.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