spc700 side
65816 side:
The strange thing is that when I try to disassemble the SPC700 code, it looks like it is working, since it is grabbing the right bytes and storing them in the right place, but when I look into the SPC700 RAM editor, the BRR data isn't there, as if it disappears the moment it is being written to. If I edit the RAM editor while it's running, the data stays and it plays a sound, though.
Code:
ldx #$00
-;
cpx $f6
bne -
lda $f4
sta $c000,x
stx $f6
inx
cpx #$99
bne -
ldx #$00
bra -
-;
cpx $f6
bne -
lda $f4
sta $c000,x
stx $f6
inx
cpx #$99
bne -
ldx #$00
bra -
65816 side:
Code:
spc700_streaming:
php
sep #$30
ldx #$00
-;
lda wave,x
sta $2140
stx $2142
-;
cpx $2142
bne -
inx
cpx #$99
bne --
plp
rts
php
sep #$30
ldx #$00
-;
lda wave,x
sta $2140
stx $2142
-;
cpx $2142
bne -
inx
cpx #$99
bne --
plp
rts
The strange thing is that when I try to disassemble the SPC700 code, it looks like it is working, since it is grabbing the right bytes and storing them in the right place, but when I look into the SPC700 RAM editor, the BRR data isn't there, as if it disappears the moment it is being written to. If I edit the RAM editor while it's running, the data stays and it plays a sound, though.