xboxscene.org forums

Pages: [1] 2

Author Topic: Which Gba Emu Can Get Full Framerate?  (Read 190 times)

Zero

  • Archived User
  • Hero Member
  • *
  • Posts: 595
Which Gba Emu Can Get Full Framerate?
« on: February 11, 2004, 02:30:00 PM »

Good luck with any emu other than Xports.
Logged

XDelusion

  • Archived User
  • Hero Member
  • *
  • Posts: 970
Which Gba Emu Can Get Full Framerate?
« Reply #1 on: February 11, 2004, 04:10:00 PM »

Hmm Lantus, is that Avatar supposed to suggest something? smile.gif
Logged

Corspegrinder99

  • Archived User
  • Sr. Member
  • *
  • Posts: 426
Which Gba Emu Can Get Full Framerate?
« Reply #2 on: February 11, 2004, 04:31:00 PM »

QUOTE (XDelusion @ Feb 12 2004, 02:10 AM)
Hmm Lantus, is that Avatar supposed to suggest something? smile.gif

lol
Logged

Zero

  • Archived User
  • Hero Member
  • *
  • Posts: 595
Which Gba Emu Can Get Full Framerate?
« Reply #3 on: February 11, 2004, 05:15:00 PM »

QUOTE (XDelusion @ Feb 12 2004, 01:10 AM)
Hmm Lantus, is that Avatar supposed to suggest something? smile.gif

He's had that since Surreal was released.
Logged

Retroplay

  • Archived User
  • Sr. Member
  • *
  • Posts: 307
Which Gba Emu Can Get Full Framerate?
« Reply #4 on: February 11, 2004, 05:54:00 PM »

I just completed 'Metroid Zero Mission' using Xboy Advance v9 and I didn't have the problems you describe.
If you have a PAL Xbox try and set display to PAL60.
Logged

alexh

  • Archived User
  • Full Member
  • *
  • Posts: 158
Which Gba Emu Can Get Full Framerate?
« Reply #5 on: February 11, 2004, 11:53:00 PM »

QUOTE (lantus @ Feb 12 2004, 12:34 AM)
The main reason for this is because the ARM processor has a ton of opcodes that need to be emulated.

I'm just curious, but how is the number of opcodes for the emulated CPU related to how fast it runs?

I guess if you can get the emulation code for all opcodes in the Host CPU cache?

Nope, still dont understand what you mean.

Alex
Logged

Benji99

  • Archived User
  • Newbie
  • *
  • Posts: 20
Which Gba Emu Can Get Full Framerate?
« Reply #6 on: February 11, 2004, 11:59:00 PM »

QUOTE

I'm just curious, but how is the number of opcodes for the emulated CPU related to how fast it runs?


Let me give you a very scientific programmer's answer...

The more crap that needs to be emulated.
The more you need to emulate them.
Logged

Fredas

  • Archived User
  • Newbie
  • *
  • Posts: 10
Which Gba Emu Can Get Full Framerate?
« Reply #7 on: February 12, 2004, 12:38:00 PM »

QUOTE (Retroplay @ Feb 12 2004, 02:54 AM)
I just completed 'Metroid Zero Mission' using Xboy Advance v9 and I didn't have the problems you describe.

I'm using NTSC.  Perhaps you played it with the frameskipping set at its default
(two) rather than zero.  I'd rather wait for better emulation than play a rare
gem with that sort of experience truncation.  Anyway, while I normally might
have suggested checking your frameskipping, unfortunately, for whatever
reason, the only time one ever sees that setting is when they load a new game
for the first time.  Afterwards, it's unavailable.  Not in the video settings, not
in the configuration, not anywhere.  One has to be able to tell that they're
not seeing 60fps, and I've come to realize that many people cannot.
Logged

lantus

  • Archived User
  • Sr. Member
  • *
  • Posts: 297
Which Gba Emu Can Get Full Framerate?
« Reply #8 on: February 12, 2004, 12:48:00 PM »

taken from the VBA FAQ:

Why does the speed varies so much from game to game?
Unfortunately, emulating every possible instruction for every frame is a very expensive operation and requires a fast machine.
These are the different kind of game loops that may be used:

CPU Loop: usually keeps checking on a flag in a loop until it changes (usually changes in an interrupt) - this makes emulation slow and it could have been acomplished with the Halt/IntrWait/VBlankWait BIOS calls before checking the flag each time
Halt/IntrWait/VBlankWait BIOS calls - these BIOS calls put the CPU in a HALT state where the emulator will speed up as there are no instructions to emulate. Usually a flag will be checked once the call returns from the BIOS in order to continue the game loop
The difference between the fist and second approach are enourmous when emulating. Unless a program needs all the cycles on a frame, it should always try to use the BIOS calls which put the CPU in the HALT state
Logged

Likklebaer

  • Archived User
  • Hero Member
  • *
  • Posts: 767
Which Gba Emu Can Get Full Framerate?
« Reply #9 on: February 12, 2004, 04:13:00 PM »

According to the FAQ on Xport's website, a Frame Skip setting of 0 is the Auto setting, meaning the emu will only drop frames when it needs to.

I haven't tried this on the latest versions of XboyAdvance, but it used to work great. Hopefully this is still the case.
Logged

Glicer

  • Archived User
  • Newbie
  • *
  • Posts: 1
Which Gba Emu Can Get Full Framerate?
« Reply #10 on: February 21, 2004, 06:48:00 PM »

Fredas - I just fired up zero mission and I've as well discovered tears in the BGM after setting the frame skip to 0.  The video is just as smooth as you would expect however the audio tears are horrible.  I'm back on v7 so I was certainly disappointed to hear you had the same trouble with v9.  You mentioned you were using a different emulator for fusion with no problems at all - you can't remember which one?  Even playing fusion with setting the frame skip to 0, I experience some tears in the music though not nearly as bad as zero mission.   dry.gif
Logged

Likklebaer

  • Archived User
  • Hero Member
  • *
  • Posts: 767
Which Gba Emu Can Get Full Framerate?
« Reply #11 on: February 22, 2004, 03:02:00 AM »

happy.gif
Logged

Dante_Ali

  • Archived User
  • Full Member
  • *
  • Posts: 143
Which Gba Emu Can Get Full Framerate?
« Reply #12 on: February 25, 2004, 11:22:00 PM »

QUOTE (floyd @ Feb 26 2004, 08:54 AM)
Well I can't play either Fusion or Zero Mission without some serious choppiness with the latest Xboyadvance.  

Are all the other gba emus even slower?  And is there no hope whatsoever to optimizing them at all? (ie gba will never run full framerate)

One of my spare PCs has an Athlon 700MHz processor with specs roughly comparable to those of the Xbox (except for the RAM and videocard). The framerate  is about the same as Xboy Advance on the Xbox.

I'm guessing without core speed improvements to Visual Boy Advance, you'll never see the Xbox running GBA games at fullspeed.
Logged

floyd

  • Archived User
  • Newbie
  • *
  • Posts: 30
Which Gba Emu Can Get Full Framerate?
« Reply #13 on: March 03, 2004, 01:26:00 PM »

QUOTE (Dante_Ali @ Feb 26 2004, 09:22 AM)
QUOTE (floyd @ Feb 26 2004, 08:54 AM)
Well I can't play either Fusion or Zero Mission without some serious choppiness with the latest Xboyadvance. 

Are all the other gba emus even slower?  And is there no hope whatsoever to optimizing them at all? (ie gba will never run full framerate)

One of my spare PCs has an Athlon 700MHz processor with specs roughly comparable to those of the Xbox (except for the RAM and videocard). The framerate  is about the same as Xboy Advance on the Xbox.

I'm guessing without core speed improvements to Visual Boy Advance, you'll never see the Xbox running GBA games at fullspeed.

Thats what I was afraid of.  And there isn't much reason for the VBA dev to optimize the core, seeing as 90% of people on PC run a faster cpu than 733mhz.

Unbelievable that we can see near-perfect n64 emulation and yet GBA is so choppy.  Maybe we'll see some miracle from a smart dev, though (fingers crossed)
Logged

lantus

  • Archived User
  • Sr. Member
  • *
  • Posts: 297
Which Gba Emu Can Get Full Framerate?
« Reply #14 on: March 03, 2004, 01:43:00 PM »

its not really fair to compare the two. Most n64 emulators use a dynarec, HLE and use hardware rendering.

imagine how slow a n64 emulator with software rendering, no dynarec and no HLE would be.
Logged
Pages: [1] 2