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

@@ -68,6 +68,8 @@
;-----------------------------------------------------------------------------
.segment "ONCE"
.proc ppuinit
lda #%10101000
@@ -104,7 +106,6 @@
.endproc
;-----------------------------------------------------------------------------
.proc paletteinit
@@ -126,7 +127,7 @@
bne @loop
rts
.endproc
;-----------------------------------------------------------------------------