
Axe Sound Routine Optimised?
By:
Zeda on
Dec 24th, 2011 | syntax:
Z80 Assembler | size: 0.27 KB | hits: 111 | expires: Never
p_FreqOut:
xor a
__FreqOutLoop1:
push bc
xor %00000011
ld e,a
__FreqOutLoop2:
ld a,h
or l
jr z,__FreqOutDone
cpd
ld a,e
scf
jp pe,__FreqOutLoop2
__FreqOutDone:
pop bc
out ($00),a
ret nc
jr __FreqOutLoop1
__FreqOutEnd: