Skip to content

adaGrad1/gbemu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Boy Emulator

A working gameboy (classic, not color) emulator! Currently not aiming for cycle-accuracy; just aiming for accurate CPU instructions and playable games.

Tested + playable with Tetris and Kirby's Dream Land

Build

Initialize git submodules

$ git submodule update
$ git submodule sync
$ git submodule init sm83

Manual build:

$ gcc -c -o cjson.o vendor/cJSON/cJSON.c
$ gcc -c -o main.o src/main.c
$ gcc -o gbemu main.o cjson.o
$ rm main.o cjson.o
$ ./build/gbemu

With GNU make:

$ make
$ ./build/gbemu

Or with nix:

$ nix develop
$ make
$ ./build/gdemu

Acknowledgements

cJSON.c: https://github.com/DaveGamble/cJSON (MIT license) sm83: https://github.com/SingleStepTests/sm83

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •