summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/f8
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/f8')
-rw-r--r--src/emu/cpu/f8/f8.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/cpu/f8/f8.c b/src/emu/cpu/f8/f8.c
index 824f35e7150..24f3fcf6036 100644
--- a/src/emu/cpu/f8/f8.c
+++ b/src/emu/cpu/f8/f8.c
@@ -109,7 +109,7 @@ static void ROMC_00(int insttim) /* SKR - added parameter to tell if */
* of PC0.
*/
- f8.dbus = cpu_readop(f8.pc0);
+ f8.dbus = program_decrypted_read_byte(f8.pc0);
f8.pc0 += 1;
f8_icount -= insttim; /* SKR - ROMC00 is usually short, not short+long, */
/* but DS is long */
@@ -123,7 +123,7 @@ static void ROMC_01(void)
* location addressed by PC0; then all devices add the 8-bit value
* on the data bus as signed binary number to PC0.
*/
- f8.dbus = cpu_readop_arg(f8.pc0);
+ f8.dbus = program_raw_read_byte(f8.pc0);
f8.pc0 += (INT8)f8.dbus;
f8_icount -= cL;
}
@@ -147,7 +147,7 @@ static void ROMC_03(int insttim) /* SKR - added parameter to tell if */
* Similiar to 0x00, except that it is used for immediate operands
* fetches (using PC0) instead of instruction fetches.
*/
- f8.dbus = f8.io = cpu_readop_arg(f8.pc0);
+ f8.dbus = f8.io = program_raw_read_byte(f8.pc0);
f8.pc0 += 1;
f8_icount -= insttim;
}
@@ -241,7 +241,7 @@ static void ROMC_0C(void)
* by PC0 into the data bus; then all devices move the value that
* has just been placed on the data bus into the low order byte of PC0.
*/
- f8.dbus = cpu_readop_arg(f8.pc0);
+ f8.dbus = program_raw_read_byte(f8.pc0);
f8.pc0 = (f8.pc0 & 0xff00) | f8.dbus;
f8_icount -= cL;
}
@@ -264,7 +264,7 @@ static void ROMC_0E(void)
* The value on the data bus is then moved to the low order byte
* of DC0 by all devices.
*/
- f8.dbus = cpu_readop_arg(f8.pc0);
+ f8.dbus = program_raw_read_byte(f8.pc0);
f8.dc0 = (f8.dc0 & 0xff00) | f8.dbus;
f8_icount -= cL;
}
@@ -304,7 +304,7 @@ static void ROMC_11(void)
* data bus. All devices must then move the contents of the
* data bus to the upper byte of DC0.
*/
- f8.dbus = cpu_readop_arg(f8.pc0);
+ f8.dbus = program_raw_read_byte(f8.pc0);
f8.dc0 = (f8.dc0 & 0x00ff) | (f8.dbus << 8);
f8_icount -= cL;
}
@@ -1908,14 +1908,14 @@ static CPU_SET_INFO( f8 )
case CPUINFO_INT_SP: f8.pc1 = info->i; break;
case CPUINFO_INT_PC:
f8.pc0 = info->i;
- f8.dbus = cpu_readop(f8.pc0);
+ f8.dbus = program_decrypted_read_byte(f8.pc0);
f8.pc0 += 1;
break;
case CPUINFO_INT_PREVIOUSPC: break; /* TODO? */
case CPUINFO_INT_INPUT_STATE: f8.irq_request = info->i; break;
case CPUINFO_INT_REGISTER + F8_PC0:
f8.pc0 = info->i;
- f8.dbus = cpu_readop(f8.pc0);
+ f8.dbus = program_decrypted_read_byte(f8.pc0);
f8.pc0 += 1;
break;
case CPUINFO_INT_REGISTER + F8_PC1: f8.pc1 = info->i; break;