Skip to content

drpaneas/hareboy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HareBoy

A Game Boy (DMG) emulator written in Hare

Demo 1 Demo 2 Demo 3

Demo 4 Demo 5 Demo 6

Usage

./hareboy <rom.gb>

Controls

Key Action
Arrow keys D-pad
Z A
X B
Enter Start
Shift Select
Escape Quit

Building

You need Hare (including QBE and harec), SDL2 development libraries via hare-sdl2 bindings.

Install SDL2 on your system:

sudo apt-get install libsdl2-dev

Install the hare-sdl2 bindings into Hare's third-party module path:

git clone https://git.sr.ht/~sircmpwn/hare-sdl2
sudo mkdir -p /usr/local/src/hare/third-party
sudo cp -r hare-sdl2/sdl2 /usr/local/src/hare/third-party/

Compile

hare build -lSDL2 -o hareboy .

About

Gameboy (DMG) emulator written in Hare

Resources

License

Stars

Watchers

Forks

Languages