Just curious, is there a way in your software to change the rate of the cpu cycles it uses,.. as in slowing it down?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65179\"][{POST_SNAPBACK}][/a][/div]
Hi there!
Yes, there is a way to do this. You can specify the target MHz on the command line (such as --mhz 50) and also tell the emulator to synchronize clocks so that it will keep simulated time in sync with real wall-clock time. If your host machine is fast enough to hit the target MHz, then the clock synchronization logic dynamically inserts small delays to slow down the simulator to the specified rate. This is done using the Linux sleep system call so that spare cycles are returned to the host machine. This technique works really well and the delays are imperceptible to the user.
This is actually quite an important feature as otherwise the simulation would run too fast in places. It makes the Zaurus clock tick at the right rate, and also makes playing games much more fun.
You should even be able run one of the Zaurus packages that emulates another machine on the Zaurus emulator if you want! The most bizarre set-up I've had is setting at my lap-top PC running Windows and using VNC to display the remote desktop from a Linux virtual machine, that is provided by VMware hosted on a real Linux machine, and then run vm-arm-se inside that Linux virtual machine with display back out via VNC. Everything just works the way that it should. It would be kind of cool to then run something like a SNES emulator inside the emulated Zaurus inside the emulated Linux machine, displayed remotely to my Windows machine, but that just makes my head hurt too much!
There is more more information in the User Guide, and there's some performance measurements too. If you create an account at
www.virtera.com then you can download the User Guide from the "Documents Download" link and see for yourself. Feel free to ask for a beta trial if you are interested in trying it out.
Cheers,
Tezeee for Mark.