Feb. 11th, 2008

izard: (Default)
Writing yet another emulator of one old system on top of one of modern VMs running on top of emulator of embedded processor. The speed of an emulator is similar to ARM5 200MHz.

Emulated machine:
Freq=3.5MHz, CPI=~7 thus need to process 500k instructions/second.
Platform only allows processing 300k switches per second using jump table optimization, necessary overhead (actually executing instructions, updating screen etc) makes it down to 50k. After careful optimizations I made it to 200k. Further optimization is pointless, I need to rework the algorithm and/or architecture.

Binary translation won't work because platform does not allow self modifying code.
HLE won't work as an average application does not use platform API from ROM very ofter or in tight loops.

I devote few hours on weekends to this project, so will publish live performance updates here.

Profile

izard: (Default)
izard

July 2025

S M T W T F S
  12345
67 8 91011 12
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 13th, 2025 05:09 pm
Powered by Dreamwidth Studios