Skip to main content
Home Forums Mac 68K Speedup tips here — #26 Mac 68K Speedup tips here — #26
Post #26 by trag
Source ForumMac 68K Speedup tips here — #26
CategoryHardware
Post DateSat, 8 Sep 2007 - 02:36
Original URLhttps://68kmla.org/bb/threads/mac-68k-speedup-tips-here.9710/
Post
Speed Doubler alleviates the problem of the slow emulation built into the 601 based machines.
I've long wondered how Speed Doubler managed to do what it did. I can understand substituting various function calls with optimized algorithms that execute faster. But to achieve that marked an improvement would mean Apple's designs were bad to the point of incompetence.
Apple's emulator ran as an interpreter. It would take a 68K command, translate it, execute the code, then discard the translation.

Connectix's emulator ran as more of a compiler, or at least a caching interpreter. It would translate chunks of code and keep the translation around to be executed. Because most code contains a great many looping structures which are executed over and over again, this scheme saves buckets of interpretation time. Speed Doubler's emulator only needs to interpret a loop of code once and then it executes as many loops as required. Apple's emulator would interpret the loop of code every time through the loop, over and over and over and over.

mp.ls