Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  .ROMs Vs .WADs (Why are .WADs faster?)
« previous next »
  • Print
Pages: [1]

Author Topic: .ROMs Vs .WADs (Why are .WADs faster?)  (Read 2922 times)

Offline Reece

  • Member
  • *
  • Posts: 101
  • AKA, ZallCaTor
.ROMs Vs .WADs (Why are .WADs faster?)
« on: March 26, 2013, 01:04:47 PM »
     I have a question, (obviously, lol.)
I have asked before why ROMs run slowly, and the music is choppy.
I got this answer: "That sounds like the emulator isn't able to run fast enough to keep up with the game. This is the case for lots of games, Rockboy is not particularly optimized and the devices are not that powerful."
So if my device is not powerful enough to run ROMs smoothly, how come my device can run DOOM? Doesn't DOOM require allot more from the device than simple ROMs? Is there something I am missing? Could RockBoy just not be running ROMs as efficiently as RockDoom runs WADs?
« Last Edit: March 26, 2013, 01:28:10 PM by Reece »
Logged
Reece, AKA; ZallCaTor
Devices: |Clip+|Fuze V2|

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9215
Re: .ROMs Vs .WADs (Why are .WADs faster?)
« Reply #1 on: March 26, 2013, 01:35:45 PM »
ROMs are emulated while doom is native. Look up emulation if you're not familiar with why its tens to hundreds of times slower the native code.
Logged

Offline aussiechris

  • Member
  • *
  • Posts: 3
Re: .ROMs Vs .WADs (Why are .WADs faster?)
« Reply #2 on: April 30, 2013, 11:10:00 PM »
A quick (over simplified) guide to native vs emulated:

You can kind of think of it like the difference between an English speaker reading a book in English and reading a book written in Arabic while it is being transcribed into English via a translator.

Doom and Rockbox speak the same language, so even though Doom might be more complex, there is no need to translate anything so the whole process moves along much quicker.

Gameboy Roms and Rockbox have no idea what the other is talking about and they need Rockboy to translate. Convincing the rom that is talking to gameboy hardware means that every single low level function of the original gameboy hardware has to be implemented in software. This takes heaps of processing power and really slows things down even though technically the gameboy rom is usually asking for something less challenging from the original hardware.

If you could disassemble the rom and reassemble for rockbox hardware (not feasible or possible without MUCH effort) it would probably run like a champ!

I hope this oversimplified analogy gives you a bit of an idea why the roms are so slow.

Chris
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  .ROMs Vs .WADs (Why are .WADs faster?)
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.069 seconds with 22 queries.