Skip to content

alexaladren/jsgameboy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

JS GameBoy Emulator

GameBoy emulator coded in JavaScript for browsers. You can see it working on http://gb.alexaladren.net

Usage

  • You can play it directly on http://gb.alexaladren.net
  • You can download this repository and open index.html with any browser

Code

The JS code is divided in 3 files:

  • emulator.js handles the interaction with the browser and the player itself. It contains code for loading ROMs, receiving input and save games.
  • GameBoy.js simulates the 'motherboard' of the GameBoy, including memory addressing, rendering, time control, audio, etc.
  • Z80.js emulates the Z80 processor used in GameBoy, the instruction set and registers. It is coded in ASM.js, a subset of JavaScript that allows browsers to 'compile' the JS code for faster processing

About

JS GameBoy Emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published