diff --git a/cmd/test-apple-iie-boot.go b/cmd/test-apple-iie-boot.go index 6112121..e34b26c 100644 --- a/cmd/test-apple-iie-boot.go +++ b/cmd/test-apple-iie-boot.go @@ -53,7 +53,7 @@ func main() { disableBell = flag.Bool("disable-bell", false, "Disable bell") flag.Parse() - cpu.InitDisasm() + cpu.InitInstructionDecoder() mmu.InitRAM() mmu.InitApple2eROM() diff --git a/cmd/test-cpu.go b/cmd/test-cpu.go index 4e43284..44d9738 100644 --- a/cmd/test-cpu.go +++ b/cmd/test-cpu.go @@ -18,7 +18,7 @@ func main() { breakAddressString := flag.String("break", "", "Break on address") flag.Parse() - cpu.InitDisasm() + cpu.InitInstructionDecoder() mmu.InitRAM() diff --git a/cpu/opcodes.go b/cpu/opcodes.go index a8ea575..68800cc 100644 --- a/cpu/opcodes.go +++ b/cpu/opcodes.go @@ -309,7 +309,7 @@ func InitOpCodes() { OpCodes[0xFF] = OpCode{Mnemonic: "???", AddressingMode: AddressingModes[AmExpansion]} } -func InitDisasm() { +func InitInstructionDecoder() { InitAddressingModes() InitOpCodes() }