MAMEWorld >> Programming
Index   Flat Mode Flat  

CrazyMonkey
MAME Fan
Reged: 02/05/16
Posts: 6
Send PM
Re: MegaPlay Programming
02/17/16 04:39 AM


Impossible. To play DAC it requires either processor to write the decibel byte to a port, and thus the output frequency is directly linked to the processor cycles; it's all of a "manual" work, and that's why fully Z80-based drivers usually play DAC with a bad quality. Since 68k is already too busy with the game engine itself, the 68k-based sound driver sends playback requests to a mini-player at z80, meant to handle the DAC channel. That's right, the 68k doesn't waste any time with DAC, but it's the 68k sequence playback mechanism in itself who takes that high CPU percentage.

I have decided that I'll reserve some more time and focus on optimizing the 68k driver, and use this one for the arcade builds only (the Genesis version could still use the z80-based driver). And so far I have figured most of what necessary to work with this platform (for now on the palettes; the rest is all the same as the Genesis).

Thank you anyways =)

Edited by CrazyMonkey (02/17/16 04:42 AM)







Entire thread
Subject Posted by Posted on
* MegaPlay Programming CrazyMonkey 02/05/16 05:49 PM
. * Re: MegaPlay Programming R. Belmont  02/11/16 06:00 PM
. * Re: MegaPlay Programming Haze  02/11/16 07:54 PM
. * Re: MegaPlay Programming CrazyMonkey  02/15/16 01:48 PM
. * Re: MegaPlay Programming Haze  02/15/16 07:11 PM
. * Re: MegaPlay Programming R. Belmont  02/16/16 08:50 PM
. * Re: MegaPlay Programming CrazyMonkey  02/16/16 10:53 PM
. * Re: MegaPlay Programming MooglyGuy  02/17/16 02:12 AM
. * Re: MegaPlay Programming CrazyMonkey  02/17/16 04:39 AM
. * Re: MegaPlay Programming MooglyGuy  02/17/16 10:45 PM
. * Re: MegaPlay Programming CrazyMonkey  02/18/16 02:36 AM
. * Re: MegaPlay Programming R. Belmont  02/18/16 08:32 PM
. * Re: MegaPlay Programming Haze  02/05/16 06:21 PM
. * Re: MegaPlay Programming CrazyMonkey  02/05/16 06:29 PM
. * Re: MegaPlay Programming Haze  02/05/16 06:35 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 35 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4276