Todd Moses
Todd Moses

Reputation: 11029

How to port C++ to swf with Alchemy?

Alchemy allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). While this idea seems really promising has anyone had success with this - if so are there examples?

I was wanting to convert some old DOS programs to SWF so they could be ran in the browser.

Upvotes: 1

Views: 584

Answers (1)

Jerry Coffin
Jerry Coffin

Reputation: 490128

Most old DOS code isn't very portable, so running it on anything but DOS will take considerable work. Quite a bit of it makes direct use of DOS interrupts, absolute locations in the memory map, and so on. Getting these to run under AVM2 would basically not just require a C compiler, but a full emulation of MS-DOS, a BIOS, and PC hardware.

Upvotes: 3

Related Questions