Skip to content

Assembly script gameboy emulator with a Svelte front-end

License

Notifications You must be signed in to change notification settings

vizigr0u/svelteboy

Repository files navigation

SvelteBoy

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

Capture as of 2023-09-01

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 git@github.com: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

About

Assembly script gameboy emulator with a Svelte front-end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published