1
0
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:
Oliver Schmidt
2016-03-15 21:36:38 +01:00
parent 0edd05b4bf
commit a2c9cb021a
3 changed files with 9 additions and 18 deletions
+3 -2
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
;-----------------------------------------------------------------------------