MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: Random generators in PCB vs mame
09/22/10 09:01 PM


> I for one find this to be a very interesting topic. I would enjoy knowing how arcade
> hardware generated random numbers (it would be different for every system, I imagine,
> but there are probably enough similarities to be able to discuss how it works in
> general).

To clarify: in most cases, this random number generation is internal to the *software* on a large majority of games. So the techniques used were likely similar to what was done on home computers in the early 80s.

A few later systems do have actual RNG hardware, specifically Sega System 32 and some of the later Neo Geo cartridges. The NG generator had a reversible pattern and is emulated correctly (I believe it's a LFSR, but don't hold me to that). We couldn't find the pattern for the Sega one, but nobody ever complains about those games on this topic

> So if Don Hodges wants to share any juicy tidbits on this topic I would really love
> to hear them!

Ditto.

The software-only RNGs likely are seeded by the frame count between boot and coin-up or other user inputs, so it's quite possible in that situation (especially if the RNG algorithm in the game software isn't very good) that MAME would behave differently from a cabinet that had been powered up for weeks or months at a time. This is one reason CAX is a nice sanity check on the emulation - the games are on only for the length of the show each day so they're in similar-to-MAME condition w.r.t. things like that, especially in the morning.







Entire thread
Subject Posted by Posted on
* Random generators in PCB vs mame GatKong 09/22/10 05:03 PM
. * Re: Random generators in PCB vs mame Tomu Breidah  09/23/10 07:30 AM
. * Re: Random generators in PCB vs mame R. Belmont  09/22/10 06:22 PM
. * Re: Random generators in PCB vs mame Bryan Ischo  09/22/10 07:56 PM
. * Re: Random generators in PCB vs mame R. Belmont  09/22/10 09:01 PM
. * Re: Random generators in PCB vs mame italieAdministrator  09/23/10 04:49 AM
. * Re: Random generators in PCB vs mame franciscohs  09/22/10 10:22 PM
. * Re: Random generators in PCB vs mame CrapBoardSoftware  09/23/10 09:18 AM
. * Re: Random generators in PCB vs mame etabeta  09/23/10 08:48 AM
. * Re: Random generators in PCB vs mame mahlemiut  09/22/10 11:20 PM
. * Re: Random generators in PCB vs mame R. Belmont  09/22/10 11:16 PM
. * Re: Random generators in PCB vs mame Phantom DJ  09/22/10 10:09 PM
. * Re: Random generators in PCB vs mame GatKong  09/23/10 04:12 AM
. * Re: Random generators in PCB vs mame Phantom DJ  09/26/10 07:13 AM
. * Re: Random generators in PCB vs mame GatKong  09/27/10 04:38 AM
. * Re: Random generators in PCB vs mame amused  09/23/10 03:59 AM
. * Re: Random generators in PCB vs mame ShimaPong  09/23/10 03:50 PM

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