├── .gitattributes ├── .gitignore ├── .vscode └── launch.json ├── CMakeLists.txt ├── LICENSE.md ├── README.md ├── compile.bat ├── compile.sh ├── gb-emu-lib ├── APU.cpp ├── APU.hpp ├── CMakeLists.txt ├── CPU.cpp ├── CPU.hpp ├── Cartridge.cpp ├── Cartridge.hpp ├── Emulator.cpp ├── Emulator.hpp ├── GPU.cpp ├── GPU.hpp ├── ICPU.hpp ├── IMMU.hpp ├── IMemoryUnit.hpp ├── Joypad.cpp ├── Joypad.hpp ├── Logger.cpp ├── Logger.hpp ├── MBC.cpp ├── MBC.hpp ├── MMU.cpp ├── MMU.hpp ├── Serial.cpp ├── Serial.hpp ├── Timer.cpp ├── Timer.hpp ├── gb-emu-lib.vcxproj ├── gb-emu-lib.vcxproj.filters ├── packages.config ├── pch.cpp └── pch.hpp ├── gb-emu-tests ├── CMakeLists.txt ├── CPUTests.cpp ├── GPUTests.cpp ├── JoypadTests.cpp ├── MBCTests.cpp ├── TestMain.cpp ├── gb-emu-tests.vcxproj ├── gb-emu-tests.vcxproj.filters ├── packages.config ├── stdafx.cpp ├── stdafx.h └── targetver.h ├── gb-emu ├── CMakeLists.txt ├── Main.cpp ├── PCH.hpp ├── gb-emu.vcxproj ├── gb-emu.vcxproj.filters ├── packages.config └── pch.cpp └── res └── tests ├── 01-read_timing.gb ├── 01-special.gb ├── 02-interrupts.gb ├── 02-write_timing.gb ├── 03-modify_timing.gb ├── 03-op sp,hl.gb ├── 04-op r,imm.gb ├── 05-op rp.gb ├── 06-ld r,r.gb ├── 07-jr,jp,call,ret,rst.gb ├── 08-misc instrs.gb ├── 09-op r,r.gb ├── 10-bit ops.gb ├── 11-op a,(hl).gb ├── cpu_instrs.gb ├── instr_timing.gb ├── mem_timing.gb └── oam_bug.gb /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/README.md -------------------------------------------------------------------------------- /compile.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/compile.bat -------------------------------------------------------------------------------- /compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/compile.sh -------------------------------------------------------------------------------- /gb-emu-lib/APU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/APU.cpp -------------------------------------------------------------------------------- /gb-emu-lib/APU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/APU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/CMakeLists.txt -------------------------------------------------------------------------------- /gb-emu-lib/CPU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/CPU.cpp -------------------------------------------------------------------------------- /gb-emu-lib/CPU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/CPU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Cartridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Cartridge.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Cartridge.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Cartridge.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Emulator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Emulator.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Emulator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Emulator.hpp -------------------------------------------------------------------------------- /gb-emu-lib/GPU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/GPU.cpp -------------------------------------------------------------------------------- /gb-emu-lib/GPU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/GPU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/ICPU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/ICPU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/IMMU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/IMMU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/IMemoryUnit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/IMemoryUnit.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Joypad.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Joypad.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Joypad.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Joypad.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Logger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Logger.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Logger.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Logger.hpp -------------------------------------------------------------------------------- /gb-emu-lib/MBC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/MBC.cpp -------------------------------------------------------------------------------- /gb-emu-lib/MBC.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/MBC.hpp -------------------------------------------------------------------------------- /gb-emu-lib/MMU.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/MMU.cpp -------------------------------------------------------------------------------- /gb-emu-lib/MMU.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/MMU.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Serial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Serial.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Serial.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Serial.hpp -------------------------------------------------------------------------------- /gb-emu-lib/Timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Timer.cpp -------------------------------------------------------------------------------- /gb-emu-lib/Timer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/Timer.hpp -------------------------------------------------------------------------------- /gb-emu-lib/gb-emu-lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/gb-emu-lib.vcxproj -------------------------------------------------------------------------------- /gb-emu-lib/gb-emu-lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/gb-emu-lib.vcxproj.filters -------------------------------------------------------------------------------- /gb-emu-lib/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/packages.config -------------------------------------------------------------------------------- /gb-emu-lib/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.hpp" 2 | 3 | 4 | -------------------------------------------------------------------------------- /gb-emu-lib/pch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-lib/pch.hpp -------------------------------------------------------------------------------- /gb-emu-tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/CMakeLists.txt -------------------------------------------------------------------------------- /gb-emu-tests/CPUTests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/CPUTests.cpp -------------------------------------------------------------------------------- /gb-emu-tests/GPUTests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/GPUTests.cpp -------------------------------------------------------------------------------- /gb-emu-tests/JoypadTests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/JoypadTests.cpp -------------------------------------------------------------------------------- /gb-emu-tests/MBCTests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/MBCTests.cpp -------------------------------------------------------------------------------- /gb-emu-tests/TestMain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/TestMain.cpp -------------------------------------------------------------------------------- /gb-emu-tests/gb-emu-tests.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/gb-emu-tests.vcxproj -------------------------------------------------------------------------------- /gb-emu-tests/gb-emu-tests.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/gb-emu-tests.vcxproj.filters -------------------------------------------------------------------------------- /gb-emu-tests/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/packages.config -------------------------------------------------------------------------------- /gb-emu-tests/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/stdafx.cpp -------------------------------------------------------------------------------- /gb-emu-tests/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/stdafx.h -------------------------------------------------------------------------------- /gb-emu-tests/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu-tests/targetver.h -------------------------------------------------------------------------------- /gb-emu/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/CMakeLists.txt -------------------------------------------------------------------------------- /gb-emu/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/Main.cpp -------------------------------------------------------------------------------- /gb-emu/PCH.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/PCH.hpp -------------------------------------------------------------------------------- /gb-emu/gb-emu.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/gb-emu.vcxproj -------------------------------------------------------------------------------- /gb-emu/gb-emu.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/gb-emu.vcxproj.filters -------------------------------------------------------------------------------- /gb-emu/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/gb-emu/packages.config -------------------------------------------------------------------------------- /gb-emu/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "PCH.hpp" 2 | -------------------------------------------------------------------------------- /res/tests/01-read_timing.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/01-read_timing.gb -------------------------------------------------------------------------------- /res/tests/01-special.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/01-special.gb -------------------------------------------------------------------------------- /res/tests/02-interrupts.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/02-interrupts.gb -------------------------------------------------------------------------------- /res/tests/02-write_timing.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/02-write_timing.gb -------------------------------------------------------------------------------- /res/tests/03-modify_timing.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/03-modify_timing.gb -------------------------------------------------------------------------------- /res/tests/03-op sp,hl.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/03-op sp,hl.gb -------------------------------------------------------------------------------- /res/tests/04-op r,imm.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/04-op r,imm.gb -------------------------------------------------------------------------------- /res/tests/05-op rp.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/05-op rp.gb -------------------------------------------------------------------------------- /res/tests/06-ld r,r.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/06-ld r,r.gb -------------------------------------------------------------------------------- /res/tests/07-jr,jp,call,ret,rst.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/07-jr,jp,call,ret,rst.gb -------------------------------------------------------------------------------- /res/tests/08-misc instrs.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/08-misc instrs.gb -------------------------------------------------------------------------------- /res/tests/09-op r,r.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/09-op r,r.gb -------------------------------------------------------------------------------- /res/tests/10-bit ops.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/10-bit ops.gb -------------------------------------------------------------------------------- /res/tests/11-op a,(hl).gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/11-op a,(hl).gb -------------------------------------------------------------------------------- /res/tests/cpu_instrs.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/cpu_instrs.gb -------------------------------------------------------------------------------- /res/tests/instr_timing.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/instr_timing.gb -------------------------------------------------------------------------------- /res/tests/mem_timing.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/mem_timing.gb -------------------------------------------------------------------------------- /res/tests/oam_bug.gb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dooskington/GameLad/HEAD/res/tests/oam_bug.gb --------------------------------------------------------------------------------