Monday, May 23, 2011

JavaScript PC Emulator

JavaScript PC Emulator
This PC emulator is written in Javascript. The emulated hardware consists in the following devices:

- 32 bit x86 compatible CPU
- 8259 Programmble Interrupt Controller
- 8254 Programmble Interrupt Timer
- 16450 UART
- Real Time Clock.

The code is written in pure Javascript using the W3C Typed Arrays. A slightly slower fallback mode is implemented for browsers missing this support. For the exact list of supported browsers, see the FAQ. In any case, a fast Javascript engine is needed to have good performance.