mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Exit optimizations and better delay for C64
This commit is contained in:
+4
-1
@@ -128,7 +128,7 @@ FirstZpageVariable = $58 ; $57
|
||||
.zpvar RangeLeft .word
|
||||
.zpvar RangeRight .word
|
||||
.zpvar NewAngle .byte
|
||||
.zpvar escFlag .byte
|
||||
.zpvar escFlag .byte ; 7 bit - Exit game, 6 bit - Exit to GameOver (cleared - exit to Menu), 0 - nothing
|
||||
.zpvar LineYdraw .byte
|
||||
.zpvar LineXdraw .word
|
||||
.zpvar plot4x4color .byte ; $00 / $ff
|
||||
@@ -334,6 +334,9 @@ MakeDarkScreen
|
||||
ldx flyDelay
|
||||
DelayLoop
|
||||
lda $d012
|
||||
@ cmp $d012
|
||||
beq @-
|
||||
lda $d012
|
||||
@ cmp $d012
|
||||
beq @-
|
||||
dex
|
||||
|
||||
Reference in New Issue
Block a user