From: beeanyew Date: Thu, 13 May 2021 15:38:22 +0000 (+0200) Subject: Remove CIA ovl enable write on boot, fix RTC size in default.cfg X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5203e0a61c6c28250e3d6de18ab2648f7bc6e6f4;p=pistorm Remove CIA ovl enable write on boot, fix RTC size in default.cfg --- diff --git a/default.cfg b/default.cfg index 552f4a8..086f2d2 100644 --- a/default.cfg +++ b/default.cfg @@ -23,7 +23,7 @@ map type=ram address=0x10000000 size=128M id=z3_autoconf_fast # NOTE: Gayle emulation is currently non-functional. Do not enable this. #map type=register address=0xD80000 size=0x40000 # Map RTC as a register range. -map type=register address=0xDC0000 size=0x30000 +map type=register address=0xDC0000 size=0x10000 # Number of instructions to run every main loop. loopcycles 300 # Set the platform to Amiga to enable all the registers and stuff. diff --git a/emulator.c b/emulator.c index 0b8c1ec..54b64a7 100644 --- a/emulator.c +++ b/emulator.c @@ -669,18 +669,13 @@ switch_config: void cpu_pulse_reset(void) { ps_pulse_reset(); - //write_reg(0x00); - // printf("Status Reg%x\n",read_reg()); - //usleep(100000); - //write_reg(0x02); - // printf("Status Reg%x\n",read_reg()); if (cfg->platform->handle_reset) cfg->platform->handle_reset(cfg); //m68k_write_memory_16(INTENA, 0x7FFF); ovl = 1; - m68k_write_memory_8(0xbfe201, 0x0001); // AMIGA OVL - m68k_write_memory_8(0xbfe001, 0x0001); // AMIGA OVL high (ROM@0x0) + //m68k_write_memory_8(0xbfe201, 0x0001); // AMIGA OVL + //m68k_write_memory_8(0xbfe001, 0x0001); // AMIGA OVL high (ROM@0x0) m68k_pulse_reset(); }