Revision: 45708
http://sourceforge.net/p/vice-emu/code/45708
Author: gpz
Date: 2025-06-30 21:31:53 +0000 (Mon, 30 Jun 2025)
Log Message:
-----------
use DTV specific mem access functions also for the dummy accesses - should fix #2148
Modified Paths:
--------------
trunk/vice/src/c64dtv/c64dtvcpu.c
Modified: trunk/vice/src/c64dtv/c64dtvcpu.c
===================================================================
--- trunk/vice/src/c64dtv/c64dtvcpu.c 2025-06-28 03:01:18 UTC (rev 45707)
+++ trunk/vice/src/c64dtv/c64dtvcpu.c 2025-06-30 21:31:53 UTC (rev 45708)
@@ -275,6 +275,11 @@
#define LOAD_ZERO(addr) \
mem_read((uint16_t)((((uint16_t) dtv_registers[10]) << 8) + ((uint16_t)((addr) & 0xff))))
+#define STORE_DUMMY(addr, value) STORE(addr, value)
+#define LOAD_DUMMY(addr) LOAD(addr)
+#define STORE_ZERO_DUMMY(addr, value) STORE_ZERO(addr, value)
+#define LOAD_ZERO_DUMMY(addr) LOAD_ZERO(addr)
+
/* Route stack operations through register 11 (stack mapper) */
#define PUSH(val) (STORE((((uint16_t) dtv_registers[11]) << 8) + ((reg_sp--) & 0xff), val))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|