cryboy

Version, currently master branch1 version
  • master branchlatestNov 1, 2017

github.com/hanswannop/CryBoy

The beginnings of a GameBoy emulator in Crystal Lang

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cryboy:
    github: hanswannop/CryBoy
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared

Dependencies

Runtime Dependencies

  • crsfml2.4.10github: BlaXpirit/crsfml

README

Cry Boy

Still just getting started...

Why???

This will be far from the first gameboy emulator, though it is likely to be the first one written in Crystal. Having implemented a cpu core for the chip8, I wanted to tackle something a little bigger, and for a system I personally grew up with. I was taken by Colby Swandale's attempt to write one in a more human readable language like Ruby, and wondered if Crystal might be used simultaneously deliver legible code as well as playable framerates.

Dependencies

https://github.com/BlaXpirit/crsfml

Compile

crystal deps
make

Reference material

Not going to pretend this was developed in a vacuum, and much credit goes to those who came before. The following resources have proven invaluable. https://github.com/romeroadrian/nes.cr https://www.youtube.com/watch?v=HyzD8pNlpwI https://speakerdeck.com/colby/making-a-gameboy-emulator-in-ruby https://www.cl.cam.ac.uk/~pv273/slides/emulation.pdf http://problemkaputt.de/pandocs.htm https://cturt.github.io/cinoop.html http://imrannazar.com/GameBoy-Emulation-in-JavaScript