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:
@@ -82,6 +82,7 @@ OBJS = _scrsize.o \
|
||||
mainargs.o \
|
||||
randomize.o \
|
||||
revers.o \
|
||||
status.o \
|
||||
systime.o \
|
||||
sysuname.o
|
||||
|
||||
|
||||
@@ -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
5
libsrc/plus4/status.s
Normal file
@@ -0,0 +1,5 @@
|
||||
;
|
||||
; Oliver Schmidt, 2012-09-30
|
||||
;
|
||||
|
||||
.exportzp ST := $90 ; IEC status byte
|
||||
Reference in New Issue
Block a user