1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-11 14:29:11 +00:00
cc65/libsrc/atari5200
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
cartentry.s remove TABs 2014-05-28 23:39:31 +02:00
cartname.s remove atari5200.mac 2014-05-30 13:38:29 +02:00
cartyear.s don't use scrcode for numbers 2014-05-29 00:18:22 +02:00
cclear.s add some conio functions 2014-03-11 01:17:59 +01:00
chline.s add some conio functions 2014-03-11 01:17:59 +01:00
clock.s provide CLK_TCK and CLOCKS_PER_SEC values for atari5200 2014-05-29 13:23:45 +02:00
clrscr.s clrscr for Atari 5200 default conio screen 2014-05-12 03:05:21 +02:00
conioscreen.s cleanups and add comments 2014-05-28 23:38:22 +02:00
cputc.s remove TABs 2014-05-28 23:39:31 +02:00
crt0.s atari5200 update: simple conio "hello world" works now 2014-04-25 03:02:44 +02:00
ctype.s first changes for atari5200 target 2014-03-01 17:20:09 +01:00
cvline.s add some conio functions 2014-03-11 01:17:59 +01:00
get_tv.s add get_tv() 2014-03-04 16:02:24 +01:00
gotox.s some CONIO fixes 2014-05-16 02:10:19 +02:00
gotoxy.s some CONIO fixes 2014-05-16 02:10:19 +02:00
gotoy.s add gotox, gotoy, and gotoxy 2014-03-13 02:38:35 +01:00
irq.s not a dummy implementation anymore... 2014-05-27 01:47:37 +02:00
joy_stat_stddrv.s add joystick driver -- trigger buttons are not queried yet 2014-05-12 03:03:44 +02:00
libref.s add joystick driver -- trigger buttons are not queried yet 2014-05-12 03:03:44 +02:00
mul20.s atari5200 update: simple conio "hello world" works now 2014-04-25 03:02:44 +02:00
randomize.s first changes for atari5200 target 2014-03-01 17:20:09 +01:00
setcursor.s cleanups and add comments 2014-05-28 23:38:22 +02:00
sysuname.s add some conio functions 2014-03-11 01:17:59 +01:00
y2k.inc first changes for atari5200 target 2014-03-01 17:20:09 +01:00