minor style improv

This commit is contained in:
2022-10-08 01:18:10 -04:00
parent da2c027fee
commit ecc8e11d13
+6 -8
View File
@@ -115,7 +115,6 @@
.zpvar HowToDraw .byte .zpvar HowToDraw .byte
.zpvar gravity .byte .zpvar gravity .byte
.zpvar LineLength .word .zpvar LineLength .word
;.zpvar LineAddress4x4 .word
.zpvar tracerflag .byte .zpvar tracerflag .byte
.zpvar isInventory .byte .zpvar isInventory .byte
.zpvar DifficultyLevel .byte .zpvar DifficultyLevel .byte
@@ -132,7 +131,7 @@
; libraries ; libraries
;----------------------------------------------- ;-----------------------------------------------
.IF TARGET = 5200 .IF TARGET = 5200
OPT h-f+ OPT h-f+ ; no headers, single block --> cart bin file
icl 'lib/5200SYS.ASM' icl 'lib/5200SYS.ASM'
icl 'lib/5200MACRO.ASM' icl 'lib/5200MACRO.ASM'
/* .enum @kbcode /* .enum @kbcode
@@ -184,7 +183,6 @@
; Game loading address ; Game loading address
ORG $4000 ORG $4000
;opt f+ ; single block
WeaponFont WeaponFont
ins 'artwork/weapons_AW6_mod.fnt' ; 'artwork/weapons.fnt' ins 'artwork/weapons_AW6_mod.fnt' ; 'artwork/weapons.fnt'
@@ -226,15 +224,15 @@ FirstSTART
; one time zero variables in RAM (non zero page) ; one time zero variables in RAM (non zero page)
lda #0 lda #0
ldy #OneTimeZeroVariablesCount-1 ldy #OneTimeZeroVariablesCount-1
@ sta OneTimeZeroVariables,y @ sta OneTimeZeroVariables,y
dey dey
bpl @- bpl @-
; initialize variables in RAM (non zero page) ; initialize variables in RAM (non zero page)
ldy #initialvaluesCount-1 ldy #initialvaluesCount-1
@ lda initialvaluesStart,y @ lda initialvaluesStart,y
sta variablesToInitialize,y sta variablesToInitialize,y
dey dey
bpl @- bpl @-