DAC output problem [solved]
Moderator: BigEvilCorporation
Well, it's accurate in a sense it emulates some stuff that other emulators generally don't: undocumented VDP register bits (like Mode 4, HVC latch, 3-bit palette, etc), lock-out when accessing illegal areas,, TMSS register lock-out, address error exception,...
However it won't give you any indication (unless you recompile it with log messages like I do for debugging emulation issues), so I am not sure how useful this could be. At least, your other drivers sound flawlessly and at the right volume.
However it won't give you any indication (unless you recompile it with log messages like I do for debugging emulation issues), so I am not sure how useful this could be. At least, your other drivers sound flawlessly and at the right volume.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Anyway, even if it does not include debug features, it's always faster to test rom on the emulator than on real hardware which imply to copy rom to my sd card, put it in everdrive, flash the internal eprom (which take sometime when you have a big rom like my sound test one) etcEke wrote:Well, it's accurate in a sense it emulates some stuff that other emulators generally don't: undocumented VDP register bits (like Mode 4, HVC latch, 3-bit palette, etc), lock-out when accessing illegal areas,, TMSS register lock-out, address error exception,...
However it won't give you any indication (unless you recompile it with log messages like I do for debugging emulation issues), so I am not sure how useful this could be. At least, your other drivers sound flawlessly and at the right volume.
At least now, i'll include your emulator in the "test tools" as it provides more accurate emulation than others on some points
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
So the problem was just pan set incorrectly or some other magic happening ? Unless you have mono sound setup I don't think its too hard to miss one speaker being silent...?
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
You can set the pan to left, right, both (center), or neither (off). There is apparently a "quirk" in the YM2612 that makes the two address ports the same, so the pan value was not being sent to the pan register, leaving it as off.TmEE co.(TM) wrote:So the problem was just pan set incorrectly or some other magic happening ? Unless you have mono sound setup I don't think its too hard to miss one speaker being silent...?
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
True, it was indeed a panning problem but not the one we expected.Chilly Willy wrote:Well, I was HALF right - the problem was the pan not being set correctly, I was just wrong on why it wasn't set.
Seems nearly every z80 pcm driver out has this issue - it's a surprise the problem hasn't been seen more often.
I still do not understand why the sound was barely audible...
You mean as it should have been completely muted but was still a little bit audible on real hardware ?Stef wrote: I still do not understand why the sound was barely audible...
In that case, this could mean the panning feature of the output DAC is not working exactly as we think. I don't know how this stuff generally works but maybe it's masking only some bits of the channel output, which still produce sound under some specific conditions.
I did not thought about it initially but you should give a try to Nemesis own emulator project, Exodus, which you can find last public version hereStef wrote:Anyway, even if it does not include debug features, it's always faster to test rom on the emulator than on real hardware which imply to copy rom to my sd card, put it in everdrive, flash the internal eprom (which take sometime when you have a big rom like my sound test one) etcEke wrote:Well, it's accurate in a sense it emulates some stuff that other emulators generally don't: undocumented VDP register bits (like Mode 4, HVC latch, 3-bit palette, etc), lock-out when accessing illegal areas,, TMSS register lock-out, address error exception,...
However it won't give you any indication (unless you recompile it with log messages like I do for debugging emulation issues), so I am not sure how useful this could be. At least, your other drivers sound flawlessly and at the right volume.
At least now, i'll include your emulator in the "test tools" as it provides more accurate emulation than others on some points
viewtopic.php?t=851
It claims to have the most accurate YM2612, PSG, Z80 & 68k existing cores (though nothing is known on what exactly make them more accurate) and, despite the VDP core still apparently misses a lot of features, it's quite stable now and provides the best debug environment I have ever seen...
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Haaa thanks i was looking after it !Eke wrote: I did not thought about it initially but you should give a try to Nemesis own emulator project, Exodus, which you can find last public version here
viewtopic.php?t=851
It claims to have the most accurate YM2612, PSG, Z80 & 68k existing cores (though nothing is known on what exactly make them more accurate) and, despite the VDP core still apparently misses a lot of features, it's quite stable now and provides the best debug environment I have ever seen...
I remember it was quite slow but very interesting because of its very high level of accuracy Adopted in my testing tools =)