// Reset resets the CPU to its initial powerup state
Reset resets the CPU to its initial powerup state
// Reset resets the CPU to its initial powerup state
func (cpu *CPU) Reset() {
	cpu.SP   = 0x01ff
	cpu.RD   = 0x0000
	cpu.RK   = 0x0000
	cpu.RDBR = 0x0000
	cpu.PC   = cpu.nRead16_cross(0x00, 0xFFFC)
	cpu.SetFlags(0x34)
    cpu.abort = false
}
func ( cpu * CPU ) Reset ( ) { cpu . SP = 0x01ff cpu . RD = 0x0000 cpu . RK = 0x0000 cpu . RDBR = 0x0000 cpu . PC = cpu . nRead16_cross ( 0x00 , 0xFFFC ) cpu . SetFlags ( 0x34 ) cpu . abort = false }
Reset resets the CPU to its initial powerup state
Reset resets the CPU to its initial powerup state
//cpu.E    = 1     - should be //cpu.PC   = cpu.Read16(0xFFFC)