mirror of
https://github.com/cc65/cc65.git
synced 2026-04-21 09:17:52 +00:00
Moved things into ONCE.
Code and or data used only during initialization belongs into the ONCE segment.
This commit is contained in:
+3
-2
@@ -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