Giter VIP home page Giter VIP logo

jsgb's Introduction

jsGB: A GameBoy emulator in JavaScript
--------------------------------------

jsGB is an interpretive emulator of the GameBoy, designed to be run from
within a web browser. Yes, it's written in JavaScript.

Current status:

- The emulator is currently hard-coded to load a particular ROM; it should
  be possible at some point to develop a fancy dialog for display and
  loading of the ROMs available at the server.
- CPU: Emulated, including the CB-page opcodes. There are likely to be
  opcodes in the standard lists that are missing, and the "undocumented"
  ops will be missing.
- Graphics: Backgrounds and sprites emulated, windows missing.
- Keypad: Working.
- Timer: Untested.
- Interrupts: VBlank and timer emulated.
- Sound: Missing.

Tested browsers:

- FireFox 3.6
- Opera 10

Acknowledgements:

- Pan/ATX, nocash et al: Padocs DMG specification document
- Sean Young, Vrije University: Z80 opcode map
- Mostek Inc: Z80 timings
- Pat Fagan: Diffsheet from Z80 to GameBoy Z80
- Kevin Matney, UIUC: Microscopic dump of DMG BIOS
- Arvidsson, Eklund, Murphy: ExCanvas for IE
- Andy Na: XHR binary file transfer

jsgb's People

Contributors

two9a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsgb's Issues

code doesn't run

On initially downloading this the code does not seem to run at all. It appears that one possible issue is a minor typo in 'index.html'.

It looks like this:

<td class="regname">D</td><td class=reg" rel="d"></td>

There should be a " before reg.


Additionally the presentation of an non-existent '.gb' filename seems to cause the emulator some trouble. In addition to not working at all, it seems to cause all three tabs to show up in a vertical column (with the latter two not getting a header) rather than showing only the selected tab in the designated position. It appears to be a specific problem resulting from a wrong hardcoded value at page load. If you change the input field later to a non-existent file then it simply doesn't load that and retains the previous rom.

jsgb-issue_screenshot

Issues with bios in mmu.js

The sole 0x4C in _bios should be 0x3C
One of the c's in a 0x3C is lowercase
The second 0xF2 in _bios should be 0xE2

Source: compared with actual game boy bios
(sharing an actual game boy bios is illegal, this disassembly is accurate though to my game boy bios dump)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.