mirror of
https://github.com/FranLMSP/rmg-001.git
synced 2024-11-23 10:12:11 +00:00
Testing more roms
This commit is contained in:
parent
0a1f075734
commit
a4659dc147
@ -45,7 +45,10 @@ impl Bus {
|
|||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/01-special.gb".to_string()) {
|
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/01-special.gb".to_string()) {
|
||||||
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/03-op sp,hl.gb".to_string()) {
|
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/03-op sp,hl.gb".to_string()) {
|
||||||
let game_rom = match ROM::load_file("roms/cpu_instrs_individual/04-op r,imm.gb".to_string()) {
|
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/04-op r,imm.gb".to_string()) {
|
||||||
|
// let game_rom = match ROM::load_file("roms/cpu_instrs_individual/05-op rp.gb".to_string()) {
|
||||||
|
// 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()) {
|
||||||
Ok(rom) => rom,
|
Ok(rom) => rom,
|
||||||
_ => ROM::from_bytes(&[0; 0xFFFF])
|
_ => ROM::from_bytes(&[0; 0xFFFF])
|
||||||
};
|
};
|
||||||
|
@ -27,7 +27,11 @@ impl Console {
|
|||||||
// thread::sleep(time::Duration::from_millis(100));
|
// thread::sleep(time::Duration::from_millis(100));
|
||||||
// exit = self.cpu.get_exec_calls_count() >= 1258895; // log 1
|
// exit = self.cpu.get_exec_calls_count() >= 1258895; // log 1
|
||||||
// exit = self.cpu.get_exec_calls_count() >= 1068422; // log 3
|
// exit = self.cpu.get_exec_calls_count() >= 1068422; // log 3
|
||||||
exit = self.cpu.get_exec_calls_count() >= 1262766; // log 4
|
// exit = self.cpu.get_exec_calls_count() >= 1262766; // log 4
|
||||||
|
// exit = self.cpu.get_exec_calls_count() >= 1763388; // log 5
|
||||||
|
// exit = self.cpu.get_exec_calls_count() >= 1763388; // log 5
|
||||||
|
// exit = self.cpu.get_exec_calls_count() >= 243272; // log 6
|
||||||
|
exit = self.cpu.get_exec_calls_count() >= 287416; // log 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user