1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/libsrc/atari
Christian Groessler 1cc4fa9356 Atari: fix interrupt handling if extended memory is banked in
Extendend memory is mapped over the main memory in the 0x4000..0x7FFF
area. Many DOSes disable interrupts while extended memory is banked in,
but not all (e.g. SpartaDOS-X).
This change modifies the initial interrupt handler to map in main memory
before chaining to the "worker" handlers.
Since the initial interrupt handler uses a data segment to store the
trampoline to chain to the original handler, introduce a new "LOWBSS"
segment to hold this trampoline. Otherwise the trampoline may end up
inside the 0x4000..0x7FFF area.

Add a link time warning if "LOWCODE" segment lays within the extended
memory window.
2018-09-05 11:28:15 +02:00
..
emd Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
joy Atari, Atari5200: disable "attract mode" on mouse or joystick input 2018-09-05 11:23:12 +02:00
mou Atari, Atari5200: disable "attract mode" on mouse or joystick input 2018-09-05 11:23:12 +02:00
ser Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
targetutil Add issues from pull request #307. 2016-06-07 12:07:38 +02:00
tgi Removed IRQ support from TGI drivers. 2018-02-02 18:15:45 +01:00
_scrsize.s
_sys.s
break.s
carthdr.s
cartinit.s
cartstart.s
cashdr.s cleanups; split 'header' and 'init' part into two source files 2014-02-21 22:43:44 +01:00
casinit.s Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
cclear.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
cgetc.s Atari: split "setcursor" function out of cgetc.s source file into setcursor.s. 2017-10-03 21:58:52 +02:00
chline.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
clock.s
close.s
clrscr.s
color.s
cputc.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
crt0.s Atari: fix interrupt handling if extended memory is banked in 2018-09-05 11:28:15 +02:00
ctype.s
cvline.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
dio_cts.s
dio_stc.s Some minor cleanups. 2018-07-26 14:35:26 +02:00
diopncls.s
dioqsize.s
dioread.s
diowrite.s
diowritev.s
do_oserr.s
doesclrscr.s Fix doesclrscrafterexit() function on atarixl target. 2016-06-13 21:16:27 +02:00
dosdetect.s add support for XDOS command lines 2016-05-24 03:06:00 +02:00
exec.s A small rearrangement of instructions in Atari's exec() to let the comments 2016-06-16 00:47:13 +02:00
exehdr.s Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
exetrailer.s Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
fd.inc
fdtab.s
fdtable.s
fdtoiocb.s
findfreeiocb.inc
findfreeiocb.s
get_tv.s rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s 2014-03-04 15:44:10 +01:00
getargs.s add support for XDOS command lines 2016-05-24 03:06:00 +02:00
getdefdev.s Atari: fix lookup of default device on XDOS. 2016-09-12 23:40:25 +02:00
getdevice.s Implementation of getfirstdevice/getnextdevice for Atari. 2017-12-28 04:54:18 +01:00
getfd.s
gotox.s
gotoxy.s Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
gotoy.s
graphics.s
initcwd.s Adjusted current working directory initialization on Apple and Atari. 2015-10-15 00:15:38 +02:00
inviocb.s
irq.s Atari: fix interrupt handling if extended memory is banked in 2018-09-05 11:28:15 +02:00
is_cmdline_dos.s More optimization in libsrc/atari/is_cmdline_dos.s. 2017-01-24 21:01:42 +01:00
joy_stat_stddrv.s
joy_stddrv.s
kbhit.s
libref.s Split libref.s into multiple files to prevent inclusion of unnecessary code. 2014-04-22 12:50:07 +02:00
lseek.s
Makefile.inc Selection whether to use page 6 for mouse P/M data is not done in 2014-04-21 11:41:37 +02:00
mcbdefault.s - always use page 6 for P/M mouse cursor 2014-04-11 23:51:49 +02:00
mcbpm-shape.s remove build warning 2014-04-25 13:21:54 +02:00
mcbpm.s Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
mcbtxtchar-char.s address issue raised in the pull request; add support to not use page 6 2014-04-15 11:37:34 +02:00
mcbtxtchar.s address issue raised in the pull request; add support to not use page 6 2014-04-15 11:37:34 +02:00
mouse_stat_stddrv.s
mouse_stddrv.s
mouseref.s Split libref.s into multiple files to prevent inclusion of unnecessary code. 2014-04-22 12:50:07 +02:00
mul40.s
open.s Fix exec() for atarixl target. 2016-06-15 23:52:16 +02:00
oserrlist.s
oserror.s Implement exec() for Atari XDOS. 2016-06-13 20:40:01 +02:00
ostype.s
posixdirent.s
randomize.s
read.s fix uninitialized use of 'buflen' 2014-02-19 22:39:39 +01:00
revers.s
romswitch.inc
rwcommon.s
save_area.inc
save_area.s
savevec.s
scrdev.s
scroll.s
serref.s rename ser_libref.s to serref.s in order to be consistent with other targets 2014-04-22 13:42:17 +02:00
setcolor.s
setcursor.s Atari: split "setcursor" function out of cgetc.s source file into setcursor.s. 2017-10-03 21:58:52 +02:00
settime.s Added dummy clock_settime() for the Atari. 2018-08-18 01:36:56 +02:00
shadow_ram_handlers.s Atari: fix lookup of default device on XDOS. 2016-09-12 23:40:25 +02:00
shadow_ram_prepare.s
shadow_ram_timerirq1.s
siocall.s Some minor cleanups. 2018-07-26 14:35:26 +02:00
syschdir.s
sysmkdir.s
sysremove.s
sysrename.s Normalized style. 2014-06-03 18:30:11 +02:00
sysrmdir.s Atari: add new function '_is_cmdline_dos()' and some other small changes. 2016-05-25 00:57:43 +02:00
system_check.s Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
sysuname.s
tgi_stat_stddrv.s
tgi_stddrv.s
toascii.s
ucase_fn.s Some Atari runtime library fixes. 2016-06-06 22:45:20 +02:00
wherex.s
wherey.s
write.s
xlmemchk.inc