Probably the
simplest thing would be to make a CPU emulator, and run it in
that. Then you can be totally architecturally agnostic.
Performance, of course, would suck.
Why on earth would performance suck? The original hardware was dog
slow, by todays standards.
Well, that's what I mean. For 'suck' it would require considerably more
cycles per emulated instruction. On today's hardware it would scream,
but remember that you're talking to someone who emulates a 6502 on a 6502 :)
--
------------------------------------ personal:
http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems *
www.floodgap.com * ckaiser at
floodgap.com
-- I'd kill for a Nobel Peace Prize. -- Steven Wright -------------------------