Show HN: X86CSS – An x86 CPU emulator written in CSS
a day ago
- #Emulator
- #CSS
- #x86
- x86CSS is a CSS-only x86 CPU emulator that runs 8086 machine code without JavaScript.
- The emulator uses CSS animations and style container queries for functionality, with an optional JavaScript clock for stability.
- Users can run their own 8086 assembly or C programs by compiling them and integrating them into the emulator via provided scripts.
- The project implements most x86 architecture features but omits some instructions and quirks for simplicity.
- Example programs can interface with custom I/O addresses for screen output and keyboard input.
- The emulator requires a Chromium-based browser and works with minimal HTML, primarily using CSS for operation.