Changing the clock on the emulator?

The Uzebox now have a fully functional emulator! Download and discuss it here.
Post Reply
Posts: 17
Joined: Tue Dec 30, 2008 1:59 am
Location: Finland

Changing the clock on the emulator?

Post by Nikiz » Sat Dec 31, 2011 11:50 pm

I have been looking on the source code to find how to change the speed of the emulation. How I change it to like 35 MHz? I want to see what happens. Well, I did play with the "clocks"-values, but I ended up to screw up the video + audio and sometimes it crashes. It did however change the speed somehow. Is there another way to change the speed or does this happen on real hardware on higher clocks?

User avatar
Site Admin
Posts: 4487
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada

Re: Changing the clock on the emulator?

Post by uze6666 » Sun Jan 01, 2012 3:01 am

I don't think you can really change the clock speed of the emulation. AFAIK, what appears in the emulator's title bar is an approximation based on the number of cycles elapsed during a video frame. And such frame generation is in turn synched on the sound sampling rate, which is fixed (since it's controlled by the host system). If anyone else knows more how it's done, be sure to let us know.


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest