Moved things into ONCE.

Code and or data used only during initialization belongs into the ONCE segment.
This commit is contained in:
Oliver Schmidt
2016-03-15 21:36:38 +01:00
parent 0edd05b4bf
commit a2c9cb021a
3 changed files with 9 additions and 18 deletions

View File

@@ -72,6 +72,9 @@ L2: sta ENABLE_ROM ; Bank in the ROM
.endproc
fnkeys: .byte $01, $01, $01, $01, $01, $01, $01, $01
.byte 133, 137, 134, 138, 135, 139, 136, 140
.segment "LOWCODE" ; Accesses the ROM - must go into low mem
@@ -87,11 +90,3 @@ L2: sta ENABLE_ROM ; Bank in the ROM
rts
.endproc
; Function key table, readonly
.rodata
fnkeys: .byte $01, $01, $01, $01, $01, $01, $01, $01
.byte 133, 137, 134, 138, 135, 139, 136, 140