From 5c4542283d2b5f8c9a98b20702dab5d2e056538e Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 1 Mar 2020 00:53:38 +0100 Subject: [PATCH] Disabled some excess logging. --- src/cpu_common/x86_ops_fpu.h | 16 ---------------- src/io.c | 8 ++++---- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/cpu_common/x86_ops_fpu.h b/src/cpu_common/x86_ops_fpu.h index 690357511..a1976f268 100644 --- a/src/cpu_common/x86_ops_fpu.h +++ b/src/cpu_common/x86_ops_fpu.h @@ -3,89 +3,73 @@ */ static int opESCAPE_d8_a16(uint32_t fetchdat) { - pclog("A16: D8 %02X\n", fetchdat & 0xff); return x86_opcodes_d8_a16[(fetchdat >> 3) & 0x1f](fetchdat); } static int opESCAPE_d8_a32(uint32_t fetchdat) { - pclog("A32: D8 %02X\n", fetchdat & 0xff); return x86_opcodes_d8_a32[(fetchdat >> 3) & 0x1f](fetchdat); } static int opESCAPE_d9_a16(uint32_t fetchdat) { - pclog("A16: D9 %02X\n", fetchdat & 0xff); return x86_opcodes_d9_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_d9_a32(uint32_t fetchdat) { - pclog("A32: D9 %02X\n", fetchdat & 0xff); return x86_opcodes_d9_a32[fetchdat & 0xff](fetchdat); } static int opESCAPE_da_a16(uint32_t fetchdat) { - pclog("A16: DA %02X\n", fetchdat & 0xff); return x86_opcodes_da_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_da_a32(uint32_t fetchdat) { - pclog("A32: DA %02X\n", fetchdat & 0xff); return x86_opcodes_da_a32[fetchdat & 0xff](fetchdat); } static int opESCAPE_db_a16(uint32_t fetchdat) { - pclog("A16: DB %02X\n", fetchdat & 0xff); return x86_opcodes_db_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_db_a32(uint32_t fetchdat) { - pclog("A32: DB %02X\n", fetchdat & 0xff); return x86_opcodes_db_a32[fetchdat & 0xff](fetchdat); } static int opESCAPE_dc_a16(uint32_t fetchdat) { - pclog("A16: DC %02X\n", fetchdat & 0xff); return x86_opcodes_dc_a16[(fetchdat >> 3) & 0x1f](fetchdat); } static int opESCAPE_dc_a32(uint32_t fetchdat) { - pclog("A32: DC %02X\n", fetchdat & 0xff); return x86_opcodes_dc_a32[(fetchdat >> 3) & 0x1f](fetchdat); } static int opESCAPE_dd_a16(uint32_t fetchdat) { - pclog("A16: DD %02X\n", fetchdat & 0xff); return x86_opcodes_dd_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_dd_a32(uint32_t fetchdat) { - pclog("A32: DD %02X\n", fetchdat & 0xff); return x86_opcodes_dd_a32[fetchdat & 0xff](fetchdat); } static int opESCAPE_de_a16(uint32_t fetchdat) { - pclog("A16: DE %02X\n", fetchdat & 0xff); return x86_opcodes_de_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_de_a32(uint32_t fetchdat) { - pclog("A32: DE %02X\n", fetchdat & 0xff); return x86_opcodes_de_a32[fetchdat & 0xff](fetchdat); } static int opESCAPE_df_a16(uint32_t fetchdat) { - pclog("A16: DF %02X\n", fetchdat & 0xff); return x86_opcodes_df_a16[fetchdat & 0xff](fetchdat); } static int opESCAPE_df_a32(uint32_t fetchdat) { - pclog("A32: DF %02X\n", fetchdat & 0xff); return x86_opcodes_df_a32[fetchdat & 0xff](fetchdat); } diff --git a/src/io.c b/src/io.c index 23debad58..6e53aafe2 100644 --- a/src/io.c +++ b/src/io.c @@ -351,8 +351,8 @@ inb(uint16_t port) if (!found) sub_cycles(io_delay); - if (!found) - pclog("inb(%04X) = %02X\n", port, ret); + // if (!found) + // pclog("inb(%04X) = %02X\n", port, ret); return(ret); } @@ -383,8 +383,8 @@ outb(uint16_t port, uint8_t val) if (!found) sub_cycles(io_delay); - if (!found) - pclog("outb(%04X, %02X)\n", port, val); + // if (!found) + // pclog("outb(%04X, %02X)\n", port, val); return; }