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

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

View File

@@ -11,6 +11,7 @@
.import __INTERRUPTOR_COUNT__
.import __RAM_START__, __RAM_SIZE__ ; Linker generated
.import __STACKSIZE__ ; Linker generated
.importzp ST
.include "zeropage.inc"
.include "plus4.inc"

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

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