Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory.
Moved getdevice.s from 'c64'/'c128' to 'cbm' making use of the new 'ST' setup. git-svn-id: svn://svn.cc65.org/cc65/trunk@5834 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -70,6 +70,7 @@ OBJS = _scrsize.o \
|
||||
mainargs.o \
|
||||
randomize.o \
|
||||
revers.o \
|
||||
status.o \
|
||||
sysuname.o
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
;
|
||||
|
||||
.export checkst
|
||||
|
||||
.include "pet.inc"
|
||||
.importzp ST
|
||||
|
||||
|
||||
.proc checkst
|
||||
@@ -22,5 +21,3 @@
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
.import callmain
|
||||
.import CLRCH, BSOUT
|
||||
.import __INTERRUPTOR_COUNT__
|
||||
.importzp ST
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "pet.inc"
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
;
|
||||
|
||||
.export READST
|
||||
|
||||
.include "pet.inc"
|
||||
.importzp ST
|
||||
|
||||
|
||||
.proc READST
|
||||
|
||||
5
libsrc/pet/status.s
Normal file
5
libsrc/pet/status.s
Normal file
@@ -0,0 +1,5 @@
|
||||
;
|
||||
; Oliver Schmidt, 2012-09-30
|
||||
;
|
||||
|
||||
.exportzp ST := $96 ; IEC status byte
|
||||
Reference in New Issue
Block a user