MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


zoo keeper refresh rate change?
#291060 - 07/06/12 05:51 PM


Does anyone know why this happens? Is this really how the hardware works, or is something wrong in the driver and/or the listxml output?


http://forum.arcadecontrols.com/index.php?topic=113382.msg1254795#msg1254795

Quote:


The problem with zookeeper is that it reports 256x256@76, but after that it internally switches to 256x240@60.





GroovyMAME support forum on BYOAC



hap
Reged: 12/01/08
Posts: 296
Send PM


Re: zoo keeper refresh rate change? new [Re: krick]
#291069 - 07/06/12 06:38 PM


Yes, some video hardware allows the software to change low level parameters such as resolution and refresh rate. The info in MAME is what the params are initially at boot-up. There is no problem with mame zookeep AFAIK.



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: zoo keeper refresh rate change? new [Re: hap]
#291075 - 07/06/12 08:50 PM


> The info in MAME is what the params are initially at boot-up.
> There is no problem with mame zookeep AFAIK.

Why does MAME report the initial boot refresh rate and resolution instead of the actual gameplay refresh rate and resolution. That doesn't make much sense and it doesn't seem particularly useful.

Additionally, why would the boot refresh rate be 76Hz? Can a 15KHz arcade monitor even display that correctly?



GroovyMAME support forum on BYOAC



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: zoo keeper refresh rate change? new [Re: krick]
#291076 - 07/06/12 09:05 PM


As Aaron has said, MAME is intended for use on normal PCs with normal PC peripherals. If you can make it work on 15 kHz monitors and all the other BYOAC type stuff, that's fantastic and we're all cheering for you, but MAMEdev doesn't actively support that type of configuration. In this particular case, it's up to the GroovyMame guys to figure out how to make it work.

(For the record, MAME reports the initial bootup parameters because those are what the monitor will see first and should be most immediately prepared for. If you blow your flyback before the game finishes booting, the gameplay mode isn't much use ;-)

Edited by R. Belmont (07/06/12 09:08 PM)



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: zoo keeper refresh rate change? new [Re: R. Belmont]
#291077 - 07/06/12 09:17 PM


> (For the record, MAME reports the initial bootup parameters because those are what
> the monitor will see first and should be most immediately prepared for. If you blow
> your flyback before the game finishes booting, the gameplay mode isn't much use ;-)

That seems reasonable.

Would it make any sense to list all the resolution/refresh rates that a game outputs while running in the XML dump? I could see this information being useful for documentation purposes, not to mention on-line databases like MAWS (R.I.P.). At the moment, there's no easy way to tell which games switch resolution and/or refresh rate.

However, I'm not sure if there's an easy way to programmatically determine this information while generating the XML dump.



GroovyMAME support forum on BYOAC



AWJ
Reged: 03/08/05
Posts: 936
Loc: Ottawa, Ontario
Send PM


Re: zoo keeper refresh rate change? new [Re: R. Belmont]
#291081 - 07/06/12 10:31 PM


Actually, the MCFG_SCREEN_RAW_PARAMS in qix.c are noted in a comment as being arbitrary junk that will get overwritten at runtime (qix hardware uses a MC6845 CRTC). For other drivers that use a programmable CRTC but all the games in the driver are known to program it the same way (e.g. twincobr.c or the various TMS340-based Midway boards) we generally set the parameters to match what the games actually use.



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: zoo keeper refresh rate change? new [Re: AWJ]
#291130 - 07/07/12 08:16 AM


> Actually, the MCFG_SCREEN_RAW_PARAMS in qix.c are noted in a comment as being
> arbitrary junk that will get overwritten at runtime (qix hardware uses a MC6845
> CRTC).

Here's the line...


Code:

MCFG_SCREEN_RAW_PARAMS(QIX_CHARACTER_CLOCK*8, 256, 0, 256, 256, 0, 256)	/* temporary, CRTC will configure screen */



Are you saying that these numbers are made up?

Here's how this ends up in the listxml output...


Code:

{display tag="screen" type="raster" rotate="0" width="256" height="256" refresh="76.293945" pixclock="5000000" htotal="256" hbend="0" hbstart="256" vtotal="256" vbend="0" vbstart="256" /}


(substitute the normal less-than and greater-than in place of the curly brackets)

The main problem is the refresh rate... 76.293945 Hz
Which like I said above, I'm not sure that's even valid for a 15KHz arcade monitor.

How does the refresh rate get calculated from the MCFG_SCREEN_RAW_PARAMS ?


> For other drivers that use a programmable CRTC but all the games in the driver
> are known to program it the same way (e.g. twincobr.c or the various TMS340-based
> Midway boards) we generally set the parameters to match what the games actually use.

So you're saying that all games in this driver do not program it the same way, unlike the other drivers you mention.

Edited by krick (07/07/12 08:17 AM)



GroovyMAME support forum on BYOAC



jrose78
MAME Fan
Reged: 07/03/12
Posts: 6
Send PM


Re: zoo keeper refresh rate change? new [Re: krick]
#291321 - 07/09/12 06:43 PM


I have an LCD that can do custum refresh rates and I use Groovymame and a game specific .ini to force it to 60hz. Seems to work ok and reports 100%.


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 272 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1816