1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-03 11:29:42 +00:00
cc65/libsrc
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
..
apple2 Just a minor comment improvement. 2018-09-02 23:07:26 +02:00
atari Atari: fix interrupt handling if extended memory is banked in 2018-09-05 11:28:15 +02:00
atari2600 Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
atari5200 Atari, Atari5200: disable "attract mode" on mouse or joystick input 2018-09-05 11:23:12 +02:00
atmos Replaced _systime with clock_gettime. 2018-08-15 16:06:44 +02:00
c16 Replaced _systime with clock_gettime. 2018-08-15 16:06:44 +02:00
c64 Express assumption about struct timespec. 2018-08-18 01:29:40 +02:00
c128 Merge pull request #706 from xlar54/master 2018-08-29 10:34:05 -04:00
cbm Added clock_getres() for CBMs. 2018-08-15 19:40:27 +02:00
cbm510 Fixed the system banking in the cbm510 and the cbm610 targets' versions of clock_gettime() and clock_settime(). 2018-08-19 17:12:54 -04:00
cbm610 Fixed the system banking in the cbm510 and the cbm610 targets' versions of clock_gettime() and clock_settime(). 2018-08-19 17:12:54 -04:00
common Optimize for size. 2018-08-19 14:35:30 +02:00
conio Further optimizations in common/conio. 2018-05-22 16:00:05 +02:00
creativision Removed IRQ support from joystick drivers. 2018-02-01 22:38:36 +01:00
dbg Added "popptr1" which is of common use to save some bytes. 2018-05-20 15:30:18 +02:00
em Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
gamate Removed IRQ support from joystick drivers. 2018-02-01 22:38:36 +01:00
geos-apple directory structure changed from driver-centric to target-centric 2016-05-16 19:49:43 +02:00
geos-cbm Made dio_read(), dio_write(), and dio_write_verify() catch sector number conversion errors. 2018-02-23 16:12:12 -05:00
geos-common Replaced _systime with clock_gettime. 2018-08-15 16:06:44 +02:00
joystick Removed IRQ support from joystick drivers. 2018-02-01 22:38:36 +01:00
lynx Update irq.s 2018-08-20 22:31:08 +02:00
mouse Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
nes Moved the NES font into its own object module. 2018-08-29 12:13:58 -04:00
none crt0.s ("none" target): fix initialization of sp variable. 2018-01-11 13:15:19 +01:00
osic1p Removed CBM chartype table. 2017-12-02 11:04:59 +01:00
pce Fixed bugs; and, improved the efficiency of some pce library functions. 2018-08-30 11:48:46 +02:00
pet Use common include file cbm_kernal.inc 2018-07-01 09:56:37 +03:00
plus4 Replaced _systime with clock_gettime. 2018-08-15 16:06:44 +02:00
runtime Some minor cleanups. 2018-07-26 14:35:26 +02:00
serial Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
sim6502 Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
supervision spaces instead of tab 2018-06-06 21:18:47 +02:00
telestrat Merge branch 'master' into popptr1 2018-05-21 13:33:14 +02:00
tgi Fixed some code, to adapt to register-use changes caused by pull request #652. 2018-07-27 09:21:31 -04:00
vic20 TAB to space conversion 2018-06-30 16:25:43 +03:00
zlib Fixed some code, to adapt to register-use changes caused by pull request #652. 2018-07-27 09:21:31 -04:00
Makefile Implemented the requested changes. 2018-01-04 11:17:20 +01:00