Skip to content
Unnamed Gameboy Emulator -- Created by Christian Hackbart in 2000, resurrected here
Branch: repairs
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cpu Reformatting code Jun 18, 2018
Debugger Reformatting code Jun 18, 2018
Global WIP on sound. Got all sounds except channel 3 perfect! Mar 28, 2019
Gpu Excising windows-specific graphics stuff Aug 6, 2018
Sound Fixing bug where sound buffer would grow too fast and start lagging Mar 31, 2019
doc Initial commit of Hackbart's UGE gameboy emulator. Jun 18, 2018
.gitignore Updated gitignore Sep 24, 2018
GAMEBOY.RES Initial commit of Hackbart's UGE gameboy emulator. Jun 18, 2018
GBEmu.ico
GBEmu.lpi Perfect sound emulation by changing one line of code. Mar 29, 2019
GBEmu.lpr
GBEmu.res Fixed DIBout flipping of image, added icon back Jun 21, 2018
Gameboy.lpi Initial commit of Hackbart's UGE gameboy emulator. Jun 18, 2018
Gameboy.lpr Reformatting code Jun 18, 2018
README.md
UnitMain.lfm Fixing bug where sound buffer would grow too fast and start lagging Mar 31, 2019
UnitMain.lrs
UnitMain.pas
bass.pas Disabled MME audio code, replaced it with bass Aug 10, 2018
mainloop.pas WIP on sound. Got all sounds except channel 3 perfect! Mar 28, 2019
outf2.pcm Fix VSync, remove DirectX code, add hotkeys for enabling/disabling so… Aug 8, 2018
test_gb.bat Work on debugging audio issues Jul 21, 2018

README.md

UGE

Unnamed Gameboy Emulator

I'm dumping the source code of an old Gameboy emulator from 2000. It was written by Christian Hackbart and formerly located at http://www.tu-ilmenau.de/~hackbart but the site seems to have gone down long ago. So to preserve it, here it is now. My interest was piqued because despite the glut of Gameboy emulators out there for almost every language, Pascal doesn't seem to have a contender in the ring... except this one.

I ran the original Delphi source through Lazarus' converter tool and made a few tweaks so it would compile with Lazarus 32-bit. DirectDraw support is busted, so DIB is on by deafult. The emulator runs insanely fast, and actually crashes if you leave the sound option on, since (I think) the sound buffer fills up and it starts locking up the whole program.

My eventual goal is to fix the speed and sound issues, then frankenstein it into the sound engine for a Gameboy music tracker.

You can’t perform that action at this time.