From a5acfb91408f9480f463bbf4efaf9e94e5c997cc Mon Sep 17 00:00:00 2001 From: Will Angenent Date: Wed, 9 May 2018 19:32:38 +0100 Subject: [PATCH] Renamed InitDisasm to InitInstructionDecoder --- cmd/test-apple-iie-boot.go | 2 +- cmd/test-cpu.go | 2 +- cpu/opcodes.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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() }