https://github.com/leandromoreira/jgb
gameboy emulator written in JavaScript
https://github.com/leandromoreira/jgb
Last synced: 2 months ago
JSON representation
gameboy emulator written in JavaScript
- Host: GitHub
- URL: https://github.com/leandromoreira/jgb
- Owner: leandromoreira
- License: mit
- Created: 2014-12-29T16:43:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-30T02:29:50.000Z (over 10 years ago)
- Last Synced: 2025-02-14T03:42:22.223Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 441 KB
- Stars: 4
- Watchers: 5
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jgb
===gameboy emulator written in JS
Development
===```shell
$ git clone https://github.com/leandromoreira/jgb.git
$ cd jbg
$ open SpecRunner.html #to run all the tests.
```Technical specs
===
```
CPU - 8-bit (Similar to the Z80 processor)
Clock Speed - 4.194304MHz (4.295454MHz for SGB, max. 8.4MHz for CGB)
Work RAM - 8K Byte (32K Byte for CGB)
Video RAM - 8K Byte (16K Byte for CGB)
Screen Size - 2.6"
Resolution - 160x144 (20x18 tiles)
Max sprites - Max 40 per screen, 10 per line
Sprite sizes - 8x8 or 8x16
Palettes - 1x4 BG, 2x3 OBJ (for CGB: 8x4 BG, 8x3 OBJ)
Colors - 4 grayshades (32768 colors for CGB)
Horiz Sync - 9198 KHz (9420 KHz for SGB)
Vert Sync - 59.73 Hz (61.17 Hz for SGB)
Sound - 4 channels with stereo sound
Power - DC6V 0.7W (DC3V 0.7W for GB Pocket, DC3V 0.6W for CGB)
````References
===* [Nocash gb hardware documentation.](http://problemkaputt.de/pandocs.htm)
* [Complete documentation (pdf)](http://marc.rawer.de/Gameboy/Docs/GBCPUman.pdf)
* [Cpu LR35902 opcodes](http://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html)
* [Tech demos/roms with source code.](http://www.opusgames.com/games/GBDev/GBDev.html)
* [General demos and gb development soft/hard.](http://gbdev.gg8.se/)