Moved additional zero page locations into EXTZP segment so they are usable

inside modules.
Removed readjoy.s and added a loadable joystick driver instead.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1989 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-02-16 14:41:12 +00:00
parent 0c0e27fa02
commit 397c068cfb
7 changed files with 239 additions and 110 deletions

30
libsrc/cbm510/extzp.s Normal file
View File

@@ -0,0 +1,30 @@
;
; Ullrich von Bassewitz, 2003-02-16
;
; Additional zero page locations for the CBM510.
; NOTE: The zeropage locations contained in this file get initialized
; in the startup code, so if you change anything here, be sure to check
; not only the linker config, but also the startup file.
;
; ------------------------------------------------------------------------
.include "extzp.inc"
.segment "EXTZP", zeropage
vic: .res 2
sid: .res 2
cia1: .res 2
cia2: .res 2
acia: .res 2
tpi1: .res 2
tpi2: .res 2
ktab1: .res 2
ktab2: .res 2
ktab3: .res 2
ktab4: .res 2
time: .res 4
RecvBuf: .res 2 ; RS232 receive buffer
SendBuf: .res 2 ; RS232 transmit buffer