mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-01 05:31:52 +00:00
sb: forgot a file
This commit is contained in:
parent
41d7fe69c8
commit
5d4e0b066b
35
games/sb/purple.s
Normal file
35
games/sb/purple.s
Normal file
@ -0,0 +1,35 @@
|
||||
PURPLE = $D000
|
||||
PURPLE_LENGTH = 28
|
||||
|
||||
play_purple:
|
||||
; only avail if language card
|
||||
|
||||
lda SOUND_STATUS
|
||||
and #SOUND_IN_LC
|
||||
beq done_play_purple
|
||||
|
||||
; switch in language card
|
||||
; read/write RAM $d000 bank 1
|
||||
|
||||
bit $C083
|
||||
bit $C083
|
||||
|
||||
|
||||
; call the btc player
|
||||
|
||||
lda #<PURPLE
|
||||
sta BTC_L
|
||||
lda #>PURPLE
|
||||
sta BTC_H
|
||||
|
||||
ldx #PURPLE_LENGTH ; 28 pages long???
|
||||
jsr play_audio
|
||||
|
||||
; read/write RAM, $d000 bank 2
|
||||
|
||||
bit $c08B
|
||||
bit $c08B
|
||||
|
||||
done_play_purple:
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user