├── .gitignore ├── CMakeLists.txt ├── doc ├── cpu │ └── sm83.md └── funboy_demo.png ├── license.md ├── meson.build ├── meson_options.txt ├── readme.md └── src ├── alarms.c ├── alarms.h ├── cpu └── sm83 │ ├── sm83.c │ ├── sm83.h │ ├── sm83_cached.c │ ├── sm83_ops.c │ └── sm83_ops.h ├── device ├── device.h ├── generic_bus.c ├── generic_ram.c ├── generic_register.c └── generic_rom.c ├── io ├── fbdev.c ├── io.h ├── mac.c ├── mac.r └── sdl.c ├── system └── gb │ ├── dmg_ppu.c │ ├── gb.c │ ├── gb.h │ ├── input.c │ ├── input.h │ ├── mbc.h │ ├── mbc1.c │ ├── mbc3.c │ ├── ppu.h │ ├── serial_log.c │ ├── serial_log.h │ ├── timer.c │ └── timer.h └── version.h /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | .vscode/ 3 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /doc/cpu/sm83.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/doc/cpu/sm83.md -------------------------------------------------------------------------------- /doc/funboy_demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/doc/funboy_demo.png -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/license.md -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/meson.build -------------------------------------------------------------------------------- /meson_options.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/meson_options.txt -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/readme.md -------------------------------------------------------------------------------- /src/alarms.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/alarms.c -------------------------------------------------------------------------------- /src/alarms.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/alarms.h -------------------------------------------------------------------------------- /src/cpu/sm83/sm83.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/cpu/sm83/sm83.c -------------------------------------------------------------------------------- /src/cpu/sm83/sm83.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/cpu/sm83/sm83.h -------------------------------------------------------------------------------- /src/cpu/sm83/sm83_cached.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/cpu/sm83/sm83_cached.c -------------------------------------------------------------------------------- /src/cpu/sm83/sm83_ops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/cpu/sm83/sm83_ops.c -------------------------------------------------------------------------------- /src/cpu/sm83/sm83_ops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/cpu/sm83/sm83_ops.h -------------------------------------------------------------------------------- /src/device/device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/device/device.h -------------------------------------------------------------------------------- /src/device/generic_bus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/device/generic_bus.c -------------------------------------------------------------------------------- /src/device/generic_ram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/device/generic_ram.c -------------------------------------------------------------------------------- /src/device/generic_register.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/device/generic_register.c -------------------------------------------------------------------------------- /src/device/generic_rom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/device/generic_rom.c -------------------------------------------------------------------------------- /src/io/fbdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/io/fbdev.c -------------------------------------------------------------------------------- /src/io/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/io/io.h -------------------------------------------------------------------------------- /src/io/mac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/io/mac.c -------------------------------------------------------------------------------- /src/io/mac.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/io/mac.r -------------------------------------------------------------------------------- /src/io/sdl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/io/sdl.c -------------------------------------------------------------------------------- /src/system/gb/dmg_ppu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/dmg_ppu.c -------------------------------------------------------------------------------- /src/system/gb/gb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/gb.c -------------------------------------------------------------------------------- /src/system/gb/gb.h: -------------------------------------------------------------------------------- 1 | 2 | #define GB_CLOCK_SPEED 4194304 3 | 4 | int gb_main( char *rompath ); -------------------------------------------------------------------------------- /src/system/gb/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/input.c -------------------------------------------------------------------------------- /src/system/gb/input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/input.h -------------------------------------------------------------------------------- /src/system/gb/mbc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/mbc.h -------------------------------------------------------------------------------- /src/system/gb/mbc1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/mbc1.c -------------------------------------------------------------------------------- /src/system/gb/mbc3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/mbc3.c -------------------------------------------------------------------------------- /src/system/gb/ppu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/ppu.h -------------------------------------------------------------------------------- /src/system/gb/serial_log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/serial_log.c -------------------------------------------------------------------------------- /src/system/gb/serial_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/serial_log.h -------------------------------------------------------------------------------- /src/system/gb/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/timer.c -------------------------------------------------------------------------------- /src/system/gb/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/system/gb/timer.h -------------------------------------------------------------------------------- /src/version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goshhhy/funboy/HEAD/src/version.h --------------------------------------------------------------------------------