Document more vars

This commit is contained in:
Michaelangel007 2017-10-23 08:34:19 -07:00
parent 8458746044
commit 97a4e357fe
1 changed files with 10 additions and 10 deletions

View File

@ -6,11 +6,11 @@
; bsave "cw.play.1950",1950:1980 ; bsave "cw.play.1950",1950:1980
; bsave "cw.sfx.5e36",5e36:8b9d ; bsave "cw.sfx.5e36",5e36:8b9d
temp = $FB temp = $FB ; menu item key name, delay for player
dst = $FC dst = $FC
src = $FE src = $FE
PRODOS = $BF00 PRODOS = $BF00
KEY = $C000 KEY = $C000
KEYSTROBE = $C010 KEYSTROBE = $C010
@ -48,18 +48,18 @@ __START
JSR TEXT JSR TEXT
JSR HOME JSR HOME
LDA #'A'+$80 LDA #'A'+$80 ; menu item key name
STA temp STA temp
LDX #$5E ; hi LDX #$5E ; hi - original CW SFX
LDY #$36 ; lo LDY #$36 ; lo - voice sample location
STX src+1 STX src+1
STY src+0 STY src+0
STX Pointers+1 STX Pointers+1
STY Pointers+0 STY Pointers+0
LDX #>Pointers LDX #>Pointers ; hi
LDY #<Pointers+2 LDY #<Pointers+2
STX dst+1 STX dst+1
STY dst+0 STY dst+0
@ -167,11 +167,11 @@ DoneDelay
PLA PLA
CMP #$FE CMP #$FE
BEQ SkipDelay BEQ SkipDelay
DAC Delay2
LDA #$FF LDA #$FF
NOP NOP
EOR #$FF EOR #$FF
STA DAC+1 STA Delay2+1 ; Waste 4 cycles
LDA SQUEEKER LDA SQUEEKER
SkipDelay SkipDelay
INC src+0 INC src+0