pub fn emulate(rom: Rom)
{
	let mut ram = &mut Ram::new_from_rom(&rom);
	let keyboard = & Keyboard::new(); 
	let mut cpu = Cpu::new(ram, keyboard);
	loop {
		cpu.step();
	}
}
/// Start emulation on the provided rom.
Start emulation on the provided rom.
Start emulation on the provided rom .
pub fn emulate(rom: Rom)
{
	let mut ram = &mut Ram::new_from_rom(&rom);
	let keyboard = & Keyboard::new(); 
	let mut cpu = Cpu::new(ram, keyboard);
	loop {
		cpu.step();
	}
}
pub fn emulate ( rom : Rom ) { let mut ram = & mut Ram :: new_from_rom ( & rom ) ; let keyboard = & Keyboard :: new ( ) ; let mut cpu = Cpu :: new ( ram , keyboard ) ; loop { cpu . step ( ) ; } }
Start emulation on the provided rom.
Start emulation on the provided rom .
rom
Rom