View Single Post
Old July 11th, 2006   #114 (permalink)
Forgotten
Emu author
 
Forgotten's Avatar
 
Join Date: Oct 2001
Posts: 483
The emulation speed varies depending on how emulation is needed. Some games have short game cycles and use sleep functions which halt the CPU until an interrupt happens. This can be emulated faster by VBA as it doesn't have to emulate instructions and it just need to pass time virtually to make the next event happen instead of emulating instructions and having to make events happen at the same time.

So, this is the major difference between games that emulate fast and games that emulate slowly. If you were to look at what's going on the slow ones, they will have some sort of busy loop in the code instead of halting the CPU and waiting for the next interrupt.
Forgotten is offline