From 017a3f5f6d11a3ba85947da2eb471f19acb337e4 Mon Sep 17 00:00:00 2001 From: Kittycannon Date: Tue, 16 Jun 2026 10:59:48 -0600 Subject: [PATCH] debug things --- src/spider/runtime/cpu/CPU.cpp | 2 ++ src/spider/runtime/instr/Instr_000-01F.cpp | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/spider/runtime/cpu/CPU.cpp b/src/spider/runtime/cpu/CPU.cpp index 92159a9..0018501 100644 --- a/src/spider/runtime/cpu/CPU.cpp +++ b/src/spider/runtime/cpu/CPU.cpp @@ -67,7 +67,9 @@ namespace spider { void CPU::fetchInstr() { u16 i = _reel->readU16(RI); + RX._u16 = i; const u16 oc = (i >> 7); + RY._u16 = oc; _opcode = oc & 0x1FF; // GCC WHY! _addrm = static_cast((i >> 2) & 0x1F); _size = static_cast(i & 0x3); diff --git a/src/spider/runtime/instr/Instr_000-01F.cpp b/src/spider/runtime/instr/Instr_000-01F.cpp index 6dd96a8..473b864 100644 --- a/src/spider/runtime/instr/Instr_000-01F.cpp +++ b/src/spider/runtime/instr/Instr_000-01F.cpp @@ -109,10 +109,6 @@ namespace spider { *_src = ALU0; } - void CPU::AHM() { - // TODO: Implement AHM - } - void CPU::COM() { fetchOperDst(); switch (_size) { @@ -401,9 +397,4 @@ namespace spider { } } - void CPU::FBT() { - fetchOperReg(); - RF = _dst->_u64; // TODO: Mask accepted flags - } - }