2002-11-22 22:16:20 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 22.11.2002
|
|
|
|
;
|
|
|
|
; READST replacement function
|
|
|
|
;
|
|
|
|
|
|
|
|
.export READST
|
|
|
|
|
|
|
|
.include "plus4.inc"
|
2012-10-02 19:22:19 +00:00
|
|
|
.importzp ST
|
2002-11-22 22:16:20 +00:00
|
|
|
|
|
|
|
; Read the status byte from the zero page instead of banking in the ROM
|
|
|
|
|
|
|
|
.proc READST
|
|
|
|
lda ST ; Load status
|
|
|
|
rts ; Return to caller
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|