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:
30
libsrc/cbm510/extzp.s
Normal file
30
libsrc/cbm510/extzp.s
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user