mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Clear variables optimisation and better text screen init
This commit is contained in:
-15
@@ -925,8 +925,6 @@ deletePtr = temp
|
|||||||
jsr WeaponCleanup
|
jsr WeaponCleanup
|
||||||
|
|
||||||
|
|
||||||
mva #TextBackgroundColor colpf2s
|
|
||||||
mva #TextForegroundColor colpf3s
|
|
||||||
mva #>WeaponFont chbas
|
mva #>WeaponFont chbas
|
||||||
|
|
||||||
;parameter for old plot (unPlot) max 5 points
|
;parameter for old plot (unPlot) max 5 points
|
||||||
@@ -964,19 +962,6 @@ MakeTanksVisible
|
|||||||
dex
|
dex
|
||||||
bpl MakeTanksVisible
|
bpl MakeTanksVisible
|
||||||
|
|
||||||
|
|
||||||
ldx #0
|
|
||||||
txa
|
|
||||||
ClearResults
|
|
||||||
sta ResultsTable,x
|
|
||||||
sta DirectHitsL,x
|
|
||||||
sta DirectHitsH,x
|
|
||||||
sta EarnedMoneyL,x
|
|
||||||
sta EarnedMoneyH,x
|
|
||||||
inx
|
|
||||||
cpx #MaxPlayers
|
|
||||||
bne ClearResults
|
|
||||||
|
|
||||||
mva #1 CurrentRoundNr ;we start from round 1
|
mva #1 CurrentRoundNr ;we start from round 1
|
||||||
mva #6 NTSCcounter
|
mva #6 NTSCcounter
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
+5
-1
@@ -22,7 +22,11 @@
|
|||||||
; ora #$02 ; normal screen width
|
; ora #$02 ; normal screen width
|
||||||
lda #%00110010 ; normal screen width, DL on, P/M off
|
lda #%00110010 ; normal screen width, DL on, P/M off
|
||||||
sta dmactls
|
sta dmactls
|
||||||
|
jsr PMoutofScreen
|
||||||
|
mva #TextBackgroundColor colpf2s
|
||||||
|
mva #TextForegroundColor colpf3s
|
||||||
|
mva #$ca colpf1s
|
||||||
|
|
||||||
VDLI DLIinterruptText.DLIinterruptNone ; jsr SetDLI for text screen without DLIs
|
VDLI DLIinterruptText.DLIinterruptNone ; jsr SetDLI for text screen without DLIs
|
||||||
|
|
||||||
mva #0 OptionsY
|
mva #0 OptionsY
|
||||||
|
|||||||
Reference in New Issue
Block a user