gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Slow motion

#169652 - semihce - Tue Jul 28, 2009 1:04 am

Hi guys,

I have a program that generates gba game files. I have developed this program on Windows XP ServicePack 2 and it works very fine with this operating system. But when I install higher operating systems (such as Windows XP SP3 or Windows Vista) to my computer, the output gba file has some problems.

The problem is that I want to move a background image but it moves very SLOWLY when I try this program on Vista or XP SP3.

This is a sample gba file that is generated by the program on Vista operating system: http://rapidshare.com/files/260797193/GameRevolution.gba
This gba file moves very SLOWLY but normally it shouldn't.

Why my output gba file moves very slowly although I didn't change even one line of code in the program? Do u have any idea?

#169661 - semihce - Tue Jul 28, 2009 11:15 am

No one has any idea?

#169662 - semihce - Tue Jul 28, 2009 1:23 pm

Ok, the problem is that Visual Boy Advance emulator does not get along well with Vista operating system. I used BatGBA emulator and the output gba file runs faster now.

#169663 - vuurrobin - Tue Jul 28, 2009 1:29 pm

windows changed some stuff causing your program to function differently?

also, I doubt anybody can see the problem with just one gba file. I suggest you look at the generated source files and see what is different. then look at the part of the program that generated that piece of code and see what kind of windows stuff you're using. then try to work around it.

edit: cross-posted with semihce

#169671 - dantheman - Tue Jul 28, 2009 11:29 pm

You need to clarify. Does the same GBA file run at different speeds on the different operating systems, or is it just the same code compiled under different operating systems? In other words, is it the emulator that's causing the problem or is it the compiler? Posting the code you're using might help.

Are you sure you've got the same version of the devkit on both computers?

#169673 - DiscoStew - Wed Jul 29, 2009 3:07 am

Some time ago, when I'd use No$GBA, I ended up having some major slowdown, and the audio was crackly. It wasn't happening with other emulators, so I went through different settings to fix the problem, and the only one that seemed to work was disabling audio on the emulator entirely. Not happy with having no audio made me dig deeper into my computer, particularly with Windows settings. I ended up finding out that my on-board audio somehow got turned when I shouldn't have been, since I had an SBLive Value card plugged in. I turned off the on-board audio, and No$GBA didn't have the problem anymore.

My experience would suggest that you check if you have any conflicting components in your system , both hardware and software.
_________________
DS - It's all about DiscoStew

#169801 - keldon - Tue Aug 04, 2009 11:58 am

Try changing the priority of no$ to high ... ps mediafire is not [even] half as annoying as rapidshare (why do people still use it?).