Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Why so slow?......  (Read 2138 times)

0 Members and 1 Guest are viewing this topic.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Why so slow?......
« on: November 03, 2009, 09:26:57 pm »
I've noticed some games rom/ram checks are very fast, and some pretty slow. I can understand with later games, but I'm talking about golden age games. For example, DK is about a second. Pac-man/Ms Pac take several seconds. How come?
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Why so slow?......
« Reply #1 on: November 04, 2009, 10:05:31 am »
I have no tech knowledge but at a guess I would say it depends on the amount of chips on the board, plus the game designer probably set it so each rom chip is checked a set number of times, whereas others were just once.

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:July 10, 2025, 01:33:58 am
  • There's my post
    • RayB.com
Re: Why so slow?......
« Reply #2 on: November 04, 2009, 12:10:34 pm »
Which games for example? I've never seen it take long, but I use very old versions of MAME.
NO MORE!!

Justin Z

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 362
  • Last login:August 23, 2024, 07:17:22 am
Re: Why so slow?......
« Reply #3 on: November 04, 2009, 12:18:31 pm »
Arkanoid is the first example that pops into my head.  There's a countdown when you first boot the machine that is several seconds as I recall.

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:July 10, 2025, 01:33:58 am
  • There's my post
    • RayB.com
Re: Why so slow?......
« Reply #4 on: November 04, 2009, 12:21:54 pm »
Oh the INTERNAL checks. They are slow because the game is throttled to it's "real" CPU speed. If you want to skip those, press F10 to turn off throttling, then turn it back on when it's done (which will be like, less than a second later).
NO MORE!!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Why so slow?......
« Reply #5 on: November 04, 2009, 01:37:55 pm »
Mame emulates the original hardware.  If the original game took X number of seconds, mame tries to match.

So the question revolves around how the original game tested.  Was it a crc check on part or whole chips?  Did it involve multiple reads and (for RAM) writes?  Was there a timed pause between chips/tests?  Or did the next chip/test start immediately after the prior?  Or were they done in parallel?  Add that older machines had slower RAM/ROM and slower CPUs, so they expected to run slower (bits/sec) than current hardware.  And last but not least, these tests were done only on machine startup, so they didn't need to finish quickly: most machine were on all day so no player saw how long it took to start up.

edit: RayB beat me to it.
Robin
Knowledge is Power

Justin Z

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 362
  • Last login:August 23, 2024, 07:17:22 am
Re: Why so slow?......
« Reply #6 on: November 04, 2009, 04:07:16 pm »
That's what I always figured -- the designers were probably like "yeah nobody's going to care if this takes 15 seconds because, well, you turn the machine on once in the morning and that's it."

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Why so slow?......
« Reply #7 on: November 05, 2009, 07:16:00 pm »
Notice I didn't say 'in MAME'. So of course the actual games, although as MAME is intended to accurately emulate, the point is a little moot.

Oh the INTERNAL checks. They are slow because the game is throttled to it's "real" CPU speed. If you want to skip those, press F10 to turn off throttling, then turn it back on when it's done (which will be like, less than a second later).


Apparently there is something in AdvanceMAME that is doing this automatically. Not for all games, but many. If it's that simple, and while there are savestates and such, perhaps someone'd like to write a script for this to add to your build or FE folder or something?
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 10328
  • Last login:July 14, 2025, 02:03:34 pm
  • boom
    • Arcade Madness
Re: Why so slow?......
« Reply #8 on: November 06, 2009, 08:38:59 am »

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Why so slow?......
« Reply #9 on: November 06, 2009, 09:00:02 am »
Never made much difference to me to be honest, after all it's only a few seconds each time. It's not like it's as bad as old computer tapes with long loading times, or even modern consoles, with up to a few minutes between stages and stuff while it reads off a disc - wish they'd research better cartridge technology so we can go back to instant gaming. But then, even then they stuck loads of non-skippable company logos on the start you have to sit through.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Why so slow?......
« Reply #10 on: November 07, 2009, 04:23:01 pm »
Never made much difference to me to be honest, after all it's only a few seconds each time.

The newer the game, the long it can be, sometimes up to thirty seconds or more.




Hey. You don't have ta get gussied up ta kiss me.
« Last Edit: November 07, 2009, 04:26:09 pm by Ummon »
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.