mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Main menu display speedup
This commit is contained in:
+1
-1
@@ -579,7 +579,7 @@ EndPut4x4
|
||||
.proc ClearScreen
|
||||
;--------------------------------------------------
|
||||
mwa #display temp
|
||||
ldy #0
|
||||
Go ldy #0
|
||||
@ lda #$ff
|
||||
sta (temp),y
|
||||
inw temp
|
||||
|
||||
+2
-1
@@ -16,7 +16,8 @@
|
||||
; - money each player has on the beginning of the game (moneyL i moneyH)
|
||||
; - and I am sure maxwind, gravity, no_of_rounds in a game, speed of shell flight
|
||||
|
||||
jsr clearscreen ;let the screen be clean
|
||||
mwa #(display+40*140) temp ; we only need to clear last 60 lines (faster)
|
||||
jsr clearscreen.Go ;let the screen be clean
|
||||
|
||||
mwa #DisplayCopyRom temp
|
||||
mwa #display temp2
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user