initial patch from #1972
This commit is contained in:
21
libsrc/cbm610/status.s
Normal file
21
libsrc/cbm610/status.s
Normal file
@@ -0,0 +1,21 @@
|
||||
;
|
||||
; Stefan Haubenthal, 2023-01-16
|
||||
;
|
||||
|
||||
.export initst
|
||||
|
||||
.include "extzp.inc"
|
||||
.include "cbm610.inc"
|
||||
|
||||
.proc initst
|
||||
|
||||
ldx IndReg
|
||||
ldy #$0F
|
||||
sty IndReg ; Switch to the system bank
|
||||
ldy #STATUS
|
||||
lda #$00 ; Initialize value
|
||||
sta (sysp0),y
|
||||
stx IndReg
|
||||
rts
|
||||
|
||||
.endproc
|
||||
Reference in New Issue
Block a user