Thrashbarg
Experienced Member
Hi,
I've found myself a YM2151 and have fitted it to the 8080 as an improvement over the AY-3-8910/YM2149 - problem is I can't get it to sound. The documentation for it is very obscure. Can anyone help?
I'm positive the wiring is fine, all control signals are correct when I single step the program.
Here's the table which I'm sending to the YM. The first byte is the address, the second is the data.
DB 040H, 001H ; DT1 = 0, MUL = 1
DB 0C0H, 000H ; DT2 = 0
DB 080H, 00DH ; ATTACK RATE
DB 060H, 000H ; TOTAL LEVEL
DB 020H, 0C0H ; LEFT AND RIGHT ENABLED
DB 028H, 04AH ; NOTE MIDDLE C
DB 030H, 000H ; KEY FRACTION
DB 038H, 000H ; PMS = 0
DB 008H, 008H ; ACTIVATE NOTE CHANNEL 0
Thanks.
I've found myself a YM2151 and have fitted it to the 8080 as an improvement over the AY-3-8910/YM2149 - problem is I can't get it to sound. The documentation for it is very obscure. Can anyone help?
I'm positive the wiring is fine, all control signals are correct when I single step the program.
Here's the table which I'm sending to the YM. The first byte is the address, the second is the data.
DB 040H, 001H ; DT1 = 0, MUL = 1
DB 0C0H, 000H ; DT2 = 0
DB 080H, 00DH ; ATTACK RATE
DB 060H, 000H ; TOTAL LEVEL
DB 020H, 0C0H ; LEFT AND RIGHT ENABLED
DB 028H, 04AH ; NOTE MIDDLE C
DB 030H, 000H ; KEY FRACTION
DB 038H, 000H ; PMS = 0
DB 008H, 008H ; ACTIVATE NOTE CHANNEL 0
Thanks.