Moved things into ONCE.
Code and or data used only during initialization belongs into the ONCE segment.
This commit is contained in:
@@ -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
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user