diff --git a/still_alive/duet.s b/still_alive/duet.s index eed0f57f..376133e9 100644 --- a/still_alive/duet.s +++ b/still_alive/duet.s @@ -25,15 +25,15 @@ ;.define EQU = ; These are all "Free" zero page locations -FREQ1 EQU $06 -FREQ2 EQU $07 -DURATION EQU $08 -INSTRUMENT1 EQU $09 -INSTRUMENT2 EQU $1D -MADDRL EQU $1E -MADDRH EQU $1F -LOC4E EQU $4E -COUNT256 EQU $4F +;FREQ1 EQU $06 +;FREQ2 EQU $07 +;DURATION EQU $08 +;INSTRUMENT1 EQU $09 +;INSTRUMENT2 EQU $1D +;MADDRL EQU $1E +;MADDRH EQU $1F +;LOC4E EQU $4E +;COUNT256 EQU $4F play_ed: LDA #$01 ; 900: A9 01 ; 2 *!* diff --git a/still_alive/sa_ed.s b/still_alive/sa_ed.s index d7764484..4854029f 100644 --- a/still_alive/sa_ed.s +++ b/still_alive/sa_ed.s @@ -42,9 +42,18 @@ only_forty: ; sta LYRICSH +;MADDRL EQU 30 +;MADDRH EQU 31 + ;================== ; load song ;================== + lda #music_address + sta MADDRH + + jsr play_ed ;================== ; loop forever @@ -81,5 +90,6 @@ lyrics: ;.incbin "SA.KR4" +music_address: .incbin "SA.ED" diff --git a/still_alive/zp.inc b/still_alive/zp.inc index 86d2ae1b..555a493e 100644 --- a/still_alive/zp.inc +++ b/still_alive/zp.inc @@ -1,5 +1,21 @@ .define EQU = +;; Electric Duet addresses + +; These are all "Free" zero page locations +FREQ1 EQU $06 +FREQ2 EQU $07 +DURATION EQU $08 +INSTRUMENT1 EQU $09 +INSTRUMENT2 EQU $1D +MADDRL EQU $1E +MADDRH EQU $1F +LOC4E EQU $4E +COUNT256 EQU $4F + + +;; LZ4 addresses + LZ4_SRC EQU $00 LZ4_DST EQU $02 LZ4_END EQU $04