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:
ol.sc
2012-09-30 18:20:15 +00:00
parent 1e3197691a
commit 59e96ef740
23 changed files with 46 additions and 77 deletions

View File

@@ -70,6 +70,7 @@ OBJS = _scrsize.o \
mainargs.o \
randomize.o \
revers.o \
status.o \
sysuname.o
#--------------------------------------------------------------------------

View File

@@ -6,8 +6,7 @@
;
.export checkst
.include "pet.inc"
.importzp ST
.proc checkst
@@ -22,5 +21,3 @@
rts
.endproc

View File

@@ -9,6 +9,7 @@
.import callmain
.import CLRCH, BSOUT
.import __INTERRUPTOR_COUNT__
.importzp ST
.include "zeropage.inc"
.include "pet.inc"

View File

@@ -5,8 +5,7 @@
;
.export READST
.include "pet.inc"
.importzp ST
.proc READST

5
libsrc/pet/status.s Normal file
View File

@@ -0,0 +1,5 @@
;
; Oliver Schmidt, 2012-09-30
;
.exportzp ST := $96 ; IEC status byte