[osflash] Announcing FC64
Darron J. Schall
darron at darronschall.com
Tue Apr 25 17:42:10 EDT 2006
Nicolas Cannasse wrote:
> That's very interesting to see if the cost of the AS3JIT (compared to
> pure C code) + the cost of the AS3 6502VM + peripherals handling will
> match the original hardware speed. Any forecast / preliminary results ?
>
In the debug player, the current CPU runs at ~2.5 MHz. The original C64
runs at 1 MHz, so currently we're ahead of the game. This is, of
course, minus the display code, which will slow things down a bit.
However, I was able get someone from Adobe to do performance tuning on
the CPU core, and in the release player the code is a lot faster - the
CPU runs somewhere between 6 and 7 MHz (I don't know the exact number,
that's just what I was told).
So, in theory, we should be able to play games in "real-time", as long
as we don't write slow display code :-)
> One other possibility would be to generate some AS3 code from a C64
> binary. With an efficient optimizing compiler, that might speed-up
> things even more, but would need an additional intermediate compilation
> phase :)
If you're up to the challenge... ;-) Let's see how fast this thing runs
when all is said and done... hopefully we won't need to find workarounds
because of performance reasons!
-d
More information about the osflash
mailing list