Test rom 10

This commit is contained in:
Franco Colmenarez 2021-10-20 13:47:59 -05:00
parent b154b4a5cb
commit bdd2b4659a
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,8 @@ impl Bus {
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/06-ld r,r.gb".to_string()) {
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/07-jr,jp,call,ret,rst.gb".to_string()) {
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/08-misc instrs.gb".to_string()) {
let game_rom = match ROM::load_file("roms/cpu_instrs_individual/09-op r,r.gb".to_string()) {
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/09-op r,r.gb".to_string()) {
let game_rom = match ROM::load_file("roms/cpu_instrs_individual/10-bit ops.gb".to_string()) {
Ok(rom) => rom,
_ => ROM::from_bytes(&[0; 0xFFFF])
};

View File

@ -33,7 +33,8 @@ impl Console {
// exit = self.cpu.get_exec_calls_count() >= 243272; // log 6
// exit = self.cpu.get_exec_calls_count() >= 287416; // log 7
// exit = self.cpu.get_exec_calls_count() >= 223892; // log 8
exit = self.cpu.get_exec_calls_count() >= 4420382; // log 9
// exit = self.cpu.get_exec_calls_count() >= 4420382; // log 9
exit = self.cpu.get_exec_calls_count() >= 6714723; // log 10
}
}
}