svelteboy

Svelteboy

Assembly script gameboy emulator with a Svelte front-end

SvelteBoy

A gameboy emulator and debugger written in AssemblyScript and Svelte

Try it on my github page

Frontend in Vite+Svelte - backend in AssemblyScript

https://github.com/vizigr0u/svelteboy/assets/1981001/a2ff0eca-8390-42bf-9545-72663c4e7257

Status and scope

This is a gameboy emulator (DMG, the old bulky black and white one).

Long term goal

being able to run at least one of these : Tetris, Pokemon Red.

Features

A debugger that is good enough for me to dev and compare with good emulators.

Installing

git clone [email protected]:vizigr0u/svelteboy.git
cd svelteboy
npm install

Running the web version

npm run asbuild:release - builds the backend

npm run dev - runs the svelte frontend in dev mode

Running the tests

npm test - runs some tests

Project structure:

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

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes