-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathincSIDPlayer.asm
More file actions
53 lines (45 loc) · 779 Bytes
/
Copy pathincSIDPlayer.asm
File metadata and controls
53 lines (45 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SetUpSIDPlayer
sei
lda #<irq
ldx #>irq
sta $314
stx $315
lda TitleMusicSet
cmp #True
beq Hold
lda #$1b
ldx #$00
ldy #$7f
sta $d011
stx $d012
sty $dc0d
lda #$01
sta $d01a
sta $d019 ; ACK any raster IRQs
lda #$00
jsr $1048
lda #True
sta TitleMusicSet
hold
cli
;jmp hold
rts
;
;jmp hold ;We don't want to do anything else here. :)
; we could also RTS here, when also changing $ea81 to $ea31
irq
;pha
;txa
;pha
;tya
;pha
asl $d019 ; ACK any raster IRQs
jsr $1021
jmp $ea31
* = $1000 ; Dark Tower & Acid Mix
;incbin "Acid_Mix.sid", $7E
; $1000 - $1800
incbin "Lander.sid", $7E
; $7000 - $ADF1
;* = $7000
;incbin "Mission_Jupiter.sid", $7E