0 Members and 1 Guest are viewing this topic.
di ld a, 0FDh out (01h), a main: ld a, (hl) and 0Fh ld c, a call Label15 ld a, (hl) srl a srl a srl a srl a and 0Fh ld c, a push iy pop iy ;slow this down a little call Label15 inc hl dec de ld a, d push iy ;slow this down a little pop iy or e jr nz,main ei ret quit: pop af pop af ;fix the stack pop af retLabel15: ld b, c inc b ld a, 0D3hLabel18: out (00h), a djnz Label18 ld a, 10h sub c ld b, a ld a, 0D0hLabel19: out (00h), a djnz Label19 ret
For those of you who think you will laugh and point at me for asking a reasonable question, please leave immediately.
So are you wanting some sort of WAV playback, or do you want beeps?
Your routine is built to play how many bits per sample, and at what sample rate?
It's actually 4-bit, I believe.
This also looks like an interesting topic. I'm curious as well. Thanks for asking a great question Hot Dog.
Quote from: ztrumpet on August 18, 2010, 10:24:52 pmThis also looks like an interesting topic. I'm curious as well. Thanks for asking a great question Hot Dog. Well, I'm tossing around the idea with having about 16 "midi" instruments and making music for S.A.D. for 15 Mhz calculators. If I can't get enough channels and can't change single notes, however, it ain't going to happen
Quote from: Hot_Dog on August 18, 2010, 10:26:02 pmQuote from: ztrumpet on August 18, 2010, 10:24:52 pmThis also looks like an interesting topic. I'm curious as well. Thanks for asking a great question Hot Dog. Well, I'm tossing around the idea with having about 16 "midi" instruments and making music for S.A.D. for 15 Mhz calculators. If I can't get enough channels and can't change single notes, however, it ain't going to happenSo you're planning to run this on top of a game? :O I'm not sure how possible this is when using all of the processing time.