gb-ctr
DMG-CPU-Inside
gb-ctr | DMG-CPU-Inside | |
---|---|---|
6 | 4 | |
310 | 308 | |
- | - | |
6.8 | 10.0 | |
17 days ago | over 3 years ago | |
Typst | ||
Creative Commons Attribution Share Alike 4.0 | Creative Commons Attribution Share Alike 4.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gb-ctr
-
Documentation for cycle accurate Game Boy CPU
Gekkio's GB-CTR is a good reference of the SM83 (Gameboy CPU) with access pattern withM cycle accuracy. The GB-research repo by the same author also contains a lot of information.
-
Need help with CPU swap of Game Boy Pocket
In case you're interested in the precise pinout, see Appendix D in gb-ctr: https://github.com/Gekkio/gb-ctr
-
Game Boy PPU Pixel Pipeine
Does anyone know of good documentation beyond: - Pan Docs - The Cycle-Accurate Game Boy Docs - Complete Technical Reference - Nitty Gritty Gameboy Cycle Timing
-
Best documentation for the details?
The thing about the Game Boy (or most consoles, really, but especially the Game Boy since it uses a custom CPU) is that we don't know all the details. People have had to reverse engineer it to figure stuff out. /u/gekkio is one of the people doing that work, and his technical reference and test suite are the (ongoing) results of that.
-
Need some guidance about how to start
This is a great resource: the complete technical reference.
DMG-CPU-Inside
-
Documentation for cycle accurate Game Boy CPU
If you want to go deeper, you can look at the reverse engineered schematic of most of the stuff except the CPU core in the DMG-CPU-Inside project. You could also consult the MetroBoy project, which builds on the previous project and aims to be accurate pretty much down to the logic gate level.
-
Gate level chip documentation?
There's an ongoing project like this for the Gameboy that aims to build a logic block level description of the CPU and peripherals. There's also an emulator that's in very early stages (not sure if it's working at all yet). There's another edge accurate GB emulator which I don't believe is released yet, but should be work in progress.
-
Reverse-engineering the interrupt circuitry in the Intel 8086 processor
The furthest I've seen publicly is the original Playstation ASICs. http://psxdev.ru/ [Russian Language]
Similar in time to the playstation ASICs (and similar design in sort of a soup of standard cells on a CMOS process), but at a gate count similar to Ken's fantastic work here on the 8086 is the work reversing the Gameboy SoC: https://github.com/furrtek/DMG-CPU-Inside
-
GameRoy: a cross platform and highly accurate Game Boy emulator
First I would try to deduce the timing from this gate-level simulation of the game boy, but the master branch was broken at the time, so I didn't manage to compile it. So, I tried deducing it from its underling reverse engineered schematics, but it would take too much time, if it even was possible.
What are some alternatives?
MagenBoy - GameBoy and GameBoy Color emulator written in Rust
metroboy - A repository of gate-level simulators and tools for the original Game Boy.
gb-test-roms - Collection of Game Boy test roms.
gameroy - A Game Boy emulator, disassembler and debugger, written in Rust
pandocs - The single, most comprehensive Game Boy technical reference.
SameBoy - Game Boy and Game Boy Color emulator written in C
blarggs-test-roms - Blarggs Reproducible Gameboy Test Roms
raw-gl-context - cross-platform OpenGL context creation
mooneye-test-suite - Mooneye Test Suite is a suite of Game Boy test ROMs
edge - Edge-accurate Game Boy emulator written in C++
gb-research - Game Boy hardware research
pandocs - New home of the infamous Pan Docs historical document: the single, most comprehensive Game Boy technical reference