Hacker News new | ask | show | jobs
by tnecniv 3094 days ago
Making a Gameboy emulator was one of my favorite and most instructive personal projects.

It's worth noting that there was actual extra hardware built into the carts, so you need to implement certain features like extra RAM based on the cart ID in the ROM file.

1 comments

Not the cart ID, you're looking in the cart header at byte 0147 for the actual hardware (MBC1, MBC2, MMM01, etc) functionality in conjunction with bytes 0148 (ROM size) and 0149 (RAM size) for specific bank sizing/mapping.
Yeah that's what I meant. It's been more than 5 years so I didn't remember the exact details. Thanks for the specifics!