├── .gitignore ├── COPYING ├── PROBLEMS ├── README.md ├── TODO ├── bootrom ├── Linkfile ├── Makefile ├── bootrom.bin ├── bootrom.s └── regs.i ├── notes └── src ├── Basic_Gb_Apu.cpp ├── Basic_Gb_Apu.h ├── Makefile ├── audio.cpp ├── audio.h ├── bootrom.h ├── cart.c ├── cart.h ├── cartdesc.c ├── cartdesc.h ├── cpu.c ├── cpu.h ├── endian.h ├── gb_apu ├── Blip_Buffer.cpp ├── Blip_Buffer.h ├── Blip_Synth.h ├── Gb_Apu.cpp ├── Gb_Apu.h ├── Gb_Oscs.cpp ├── Gb_Oscs.h ├── Makefile ├── Multi_Buffer.cpp ├── Multi_Buffer.h ├── blargg_common.h ├── blargg_source.h └── boost │ ├── config.hpp │ ├── cstdint.hpp │ └── static_assert.hpp ├── gbinfo.cpp ├── input.c ├── input.h ├── main.cpp ├── main.h ├── mbc.c ├── mbc.h ├── mbc_boot.c ├── mbc_boot.h ├── mbc_cam.c ├── mbc_cam.h ├── mbc_huc1.c ├── mbc_huc1.h ├── mbc_huc3.c ├── mbc_huc3.h ├── mbc_mbc1.c ├── mbc_mbc1.h ├── mbc_mbc2.c ├── mbc_mbc2.h ├── mbc_mbc3.c ├── mbc_mbc3.h ├── mbc_mbc5.c ├── mbc_mbc5.h ├── mbc_mbc7.c ├── mbc_mbc7.h ├── mbc_none.c ├── mbc_none.h ├── memory.c ├── memory.h ├── old-cart-device ├── cart_chardev.c ├── cart_chardev.h ├── mbc_c_boot.c ├── mbc_c_boot.h ├── mbc_c_cam.c ├── mbc_c_cam.h ├── mbc_c_mbc1.c ├── mbc_c_mbc1.h ├── mbc_c_mbc2.c ├── mbc_c_mbc2.h ├── mbc_c_mbc3.c ├── mbc_c_mbc3.h ├── mbc_c_mbc5.c ├── mbc_c_mbc5.h ├── mbc_c_none.c └── mbc_c_none.h ├── pqueue.c ├── pqueue.h ├── serial.c ├── serial.h ├── tools ├── Makefile └── bin2c.c ├── types.h ├── video.c └── video.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/.gitignore -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/COPYING -------------------------------------------------------------------------------- /PROBLEMS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/PROBLEMS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/TODO -------------------------------------------------------------------------------- /bootrom/Linkfile: -------------------------------------------------------------------------------- 1 | [objects] 2 | bootrom.o 3 | -------------------------------------------------------------------------------- /bootrom/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/bootrom/Makefile -------------------------------------------------------------------------------- /bootrom/bootrom.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/bootrom/bootrom.bin -------------------------------------------------------------------------------- /bootrom/bootrom.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/bootrom/bootrom.s -------------------------------------------------------------------------------- /bootrom/regs.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/bootrom/regs.i -------------------------------------------------------------------------------- /notes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/notes -------------------------------------------------------------------------------- /src/Basic_Gb_Apu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/Basic_Gb_Apu.cpp -------------------------------------------------------------------------------- /src/Basic_Gb_Apu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/Basic_Gb_Apu.h -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/audio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/audio.cpp -------------------------------------------------------------------------------- /src/audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/audio.h -------------------------------------------------------------------------------- /src/bootrom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/bootrom.h -------------------------------------------------------------------------------- /src/cart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cart.c -------------------------------------------------------------------------------- /src/cart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cart.h -------------------------------------------------------------------------------- /src/cartdesc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cartdesc.c -------------------------------------------------------------------------------- /src/cartdesc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cartdesc.h -------------------------------------------------------------------------------- /src/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cpu.c -------------------------------------------------------------------------------- /src/cpu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/cpu.h -------------------------------------------------------------------------------- /src/endian.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/endian.h -------------------------------------------------------------------------------- /src/gb_apu/Blip_Buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Blip_Buffer.cpp -------------------------------------------------------------------------------- /src/gb_apu/Blip_Buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Blip_Buffer.h -------------------------------------------------------------------------------- /src/gb_apu/Blip_Synth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Blip_Synth.h -------------------------------------------------------------------------------- /src/gb_apu/Gb_Apu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Gb_Apu.cpp -------------------------------------------------------------------------------- /src/gb_apu/Gb_Apu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Gb_Apu.h -------------------------------------------------------------------------------- /src/gb_apu/Gb_Oscs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Gb_Oscs.cpp -------------------------------------------------------------------------------- /src/gb_apu/Gb_Oscs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Gb_Oscs.h -------------------------------------------------------------------------------- /src/gb_apu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Makefile -------------------------------------------------------------------------------- /src/gb_apu/Multi_Buffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Multi_Buffer.cpp -------------------------------------------------------------------------------- /src/gb_apu/Multi_Buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/Multi_Buffer.h -------------------------------------------------------------------------------- /src/gb_apu/blargg_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/blargg_common.h -------------------------------------------------------------------------------- /src/gb_apu/blargg_source.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/blargg_source.h -------------------------------------------------------------------------------- /src/gb_apu/boost/config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/boost/config.hpp -------------------------------------------------------------------------------- /src/gb_apu/boost/cstdint.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/boost/cstdint.hpp -------------------------------------------------------------------------------- /src/gb_apu/boost/static_assert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gb_apu/boost/static_assert.hpp -------------------------------------------------------------------------------- /src/gbinfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/gbinfo.cpp -------------------------------------------------------------------------------- /src/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/input.c -------------------------------------------------------------------------------- /src/input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/input.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/main.h -------------------------------------------------------------------------------- /src/mbc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc.c -------------------------------------------------------------------------------- /src/mbc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc.h -------------------------------------------------------------------------------- /src/mbc_boot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_boot.c -------------------------------------------------------------------------------- /src/mbc_boot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_boot.h -------------------------------------------------------------------------------- /src/mbc_cam.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_cam.c -------------------------------------------------------------------------------- /src/mbc_cam.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_cam.h -------------------------------------------------------------------------------- /src/mbc_huc1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_huc1.c -------------------------------------------------------------------------------- /src/mbc_huc1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_huc1.h -------------------------------------------------------------------------------- /src/mbc_huc3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_huc3.c -------------------------------------------------------------------------------- /src/mbc_huc3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_huc3.h -------------------------------------------------------------------------------- /src/mbc_mbc1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc1.c -------------------------------------------------------------------------------- /src/mbc_mbc1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc1.h -------------------------------------------------------------------------------- /src/mbc_mbc2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc2.c -------------------------------------------------------------------------------- /src/mbc_mbc2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc2.h -------------------------------------------------------------------------------- /src/mbc_mbc3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc3.c -------------------------------------------------------------------------------- /src/mbc_mbc3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc3.h -------------------------------------------------------------------------------- /src/mbc_mbc5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc5.c -------------------------------------------------------------------------------- /src/mbc_mbc5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc5.h -------------------------------------------------------------------------------- /src/mbc_mbc7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc7.c -------------------------------------------------------------------------------- /src/mbc_mbc7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_mbc7.h -------------------------------------------------------------------------------- /src/mbc_none.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_none.c -------------------------------------------------------------------------------- /src/mbc_none.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/mbc_none.h -------------------------------------------------------------------------------- /src/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/memory.c -------------------------------------------------------------------------------- /src/memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/memory.h -------------------------------------------------------------------------------- /src/old-cart-device/cart_chardev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/cart_chardev.c -------------------------------------------------------------------------------- /src/old-cart-device/cart_chardev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/cart_chardev.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_boot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_boot.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_boot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_boot.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_cam.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_cam.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_cam.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_cam.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc1.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc1.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc2.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc2.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc3.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc3.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc5.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_mbc5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_mbc5.h -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_none.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_none.c -------------------------------------------------------------------------------- /src/old-cart-device/mbc_c_none.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/old-cart-device/mbc_c_none.h -------------------------------------------------------------------------------- /src/pqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/pqueue.c -------------------------------------------------------------------------------- /src/pqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/pqueue.h -------------------------------------------------------------------------------- /src/serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/serial.c -------------------------------------------------------------------------------- /src/serial.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/serial.h -------------------------------------------------------------------------------- /src/tools/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/tools/Makefile -------------------------------------------------------------------------------- /src/tools/bin2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/tools/bin2c.c -------------------------------------------------------------------------------- /src/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/types.h -------------------------------------------------------------------------------- /src/video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/video.c -------------------------------------------------------------------------------- /src/video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkbenaim/cboy/HEAD/src/video.h --------------------------------------------------------------------------------