>Manjo, what would be your goal with having an emulation layer? Is it to
>port preexisting apps to the newer platform, or to make the Prime more like
>a 48/49 in operation? Or is it >something else? Just curious.
>When I was first experimenting with Saturn code on the 49g+/50g, it struck
>me that there could be a nice benefit to developing a modernized version of
>a specialized emulated
>processor in software which would then be used to develop a new device
>platform. It could be designed to have special features for number
>crunching (ala the Saturn), but still taking
>advantage of a more modern architecture (wider bus, multi-core, etc.).
>Keeping it as an emulated layer would make it easier to maintain a product
>line as CPUs come and go. I'm not
>saying it would be easy, but it seems to me that it would be easier to
>update the "Saturnator" part of the system than to port the whole codebase
>every time a vendor decides to stop
>making a given CPU. I'm sure I'm over-simplifying this, but hopefully you
>get the point.
What "Saturn(+)" does is:
-using ROM functions and stack/pointer based language/operation gives the
code very high density
-20bits per mid-high level command compared to thumb mode 16bits per low
level ARM instruction.
-on the other hand with 64MB of memory onboard the code density is not an
issue anymore :-(
The "Saturnator" on 50G does a very good job.
Although there is room for improovement, as well as there are a things which
would make it even more accurate
(some insructions don't behave 1:1 as with real saturn -this should be
fixed)
"Saturn" is the essence, the beauty of HP calculators all the way, HP
calculator is not the same without it.
Saturn emulation would give the *ability to run most if not all the existing
code*, by doing this it would *look/feel more like 48/49/50*
for all of us who need this :-)
ARM on the other hand:
is a mature architecture and here to stay.
It will not vanish in a forseeable future, from that point we don't need
virtual machine or CPU emulation to make
a compatibility layer for the future.
ARM is "the same" from first cellphone up to now, it's just bigger, better,
more configurable, faster, muti-core and so on...
It is in fact time for Saturn to make room for ARM as native hardware
platfrom.
I'm sure JYA is refining his "Saturnator" for Prime as i write my crap here,
in fact Prime could run JYA's TI emulator and
would be even faster than a real TI, but that's another story and it would
not be "fair play" to fellow TI developers and users :-)
manjo
http://fly.srk.fer.hr/~manjo