Writing my own gameboy emulator

52 points jack_naked_snake

I'm writing my own gameboy emulator in Rust, I'm trying to keep the code readable and expressive. Up until now the emulator can read the header and has some instructions.

​

Header { title: ['M', 'E', 'G', 'A', 'M', 'A', 'N', '4', '\\0', '\\0', '\\0', '\\0', '\\0', '\\0', '\\0'], manufacturer_code: ['\\0', '\\0', '\\0'], cgb_flag: None, licensee_code: UseOldLicensee, sgb_flag: NoSgb, c_type: Mbc1, rom_size: ByteRomSize { code: 4, banks: 32, size_kb: 512 }, old_licensee: Capcom, region: NonJapanese, global_checksum: 36049 }

Repository