For anything related to sound (YM2612, PSG, Z80, PCM...)
Moderator: BigEvilCorporation
-
TmEE co.(TM)
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
-
Contact:
Post
by TmEE co.(TM) » Sun Oct 28, 2007 3:19 pm
Code: Select all
FMnotesOn
HL, FMPORT2
LD A, $28
LD (FMPORT1), A
NOP #2
LD (HL), $F0
NOP #2
LD (HL), $F1
NOP #2
LD (HL), $F2
NOP #2
LD (HL), $F4
NOP #2
LD (HL), $F5
RET
This code should put all keys on, but in Kmod I see that only last one is on...
Is there a bug in Kmod, or I'm not doing something ?
-
Shiru
- Very interested
- Posts: 786
- Joined: Sat Apr 07, 2007 3:11 am
- Location: Russia, Moscow
-
Contact:
Post
by Shiru » Thu Nov 01, 2007 5:04 am
If there was such bug in KMod, how so many games can work?
Seems you do all right. Try to output #28 to port 1 each time before output to port 2. I always do so, and all works fine.
-
TmEE co.(TM)
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
-
Contact:
Post
by TmEE co.(TM) » Thu Nov 01, 2007 12:37 pm
Its a bug in Kmod, lots of other drivers that aren't VBL based don't show Key on/offs correctly too.