A gameboy emulator and debugger written in AssemblyScript and Svelte
Try it on my github page
Frontend in Vite+Svelte - backend in AssemblyScript
demo-low-res.mp4
This is a gameboy emulator (DMG, the old bulky black and white one).
being able to run at least one of these : Tetris, Pokemon Red.
A debugger that is good enough for me to dev and compare with good emulators.
git clone git@github.com:vizigr0u/svelteboy.git
cd svelteboy
npm install
npm run asbuild:release
- builds the backend
npm run dev
- runs the svelte frontend in dev mode
npm test
- runs some tests
assembly/
: The emulator written in AssemblyScript.
Also contains a Gameboy disassembler and some tests.
dist/
: Svelte frontend build
build/
: Where the backend gets built in WebAssembly
src/
: Svelte frontend source
tests/
: node side of the tests, whats get ran by npm test
tools/runrom
: cli tool to run the emulator