Search results
How to create SFX for Moonsound's FM registers ?
Score: 172.21 %,
Type: Forum topic , Comments: 42 comments
for FM channels ?
I don't know anything about this. Have 0 experience with it.
I'm also ... 7,(hl)
res 6,(hl)
ld c,$a0
ld hl,AYREGS
.sfxloop:
out (c),a ;first write ...
inc a
cp 13
jr nz,.sfxloop
;/out buffered sfx data So we write to psg register $a0 ...
wait 15 T-States between reading and writing to Vram
Score: 171.68 %,
Type: Forum topic , Comments: 51 comments
this (untested):
ld C, #0x98
ld HL, #DATA_ADDR
.rept 31
outi
outi
outi
inc HL
.endm
outi ... the entire SAT at once (untested):
ld C, #0x98
ld HL, #DATA_ADDR
ld B, 128 ; 32*4
outir ... than copying everything at once.
ld C, #0x98
ld HL, #DATA_ADDR
ld B, 128 ; 32*4
outir ...
