summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/minx/minx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/minx/minx.cpp')
-rw-r--r--src/devices/cpu/minx/minx.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/minx/minx.cpp b/src/devices/cpu/minx/minx.cpp
index f5bcc222d1d..4ec4a344371 100644
--- a/src/devices/cpu/minx/minx.cpp
+++ b/src/devices/cpu/minx/minx.cpp
@@ -75,20 +75,20 @@ TODO:
const device_type MINX = &device_creator<minx_cpu_device>;
-minx_cpu_device::minx_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+minx_cpu_device::minx_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: cpu_device(mconfig, MINX, "Nintendo Minx", tag, owner, clock, "minx", __FILE__)
, m_program_config("program", ENDIANNESS_BIG, 8, 24, 0)
{
}
-UINT16 minx_cpu_device::rd16( UINT32 offset )
+uint16_t minx_cpu_device::rd16( uint32_t offset )
{
return RD( offset ) | ( RD( offset + 1 ) << 8 );
}
-void minx_cpu_device::wr16( UINT32 offset, UINT16 data )
+void minx_cpu_device::wr16( uint32_t offset, uint16_t data )
{
WR( offset, ( data & 0x00FF ) );
WR( offset + 1, ( data >> 8 ) );
@@ -156,17 +156,17 @@ void minx_cpu_device::device_reset()
}
-UINT8 minx_cpu_device::rdop()
+uint8_t minx_cpu_device::rdop()
{
- UINT8 op = RD( GET_MINX_PC );
+ uint8_t op = RD( GET_MINX_PC );
m_PC++;
return op;
}
-UINT16 minx_cpu_device::rdop16()
+uint16_t minx_cpu_device::rdop16()
{
- UINT16 op = rdop();
+ uint16_t op = rdop();
op = op | ( rdop() << 8 );
return op;
}
@@ -228,7 +228,7 @@ void minx_cpu_device::execute_set_input(int inputnum, int state)
}
-offs_t minx_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+offs_t minx_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern CPU_DISASSEMBLE( minx );
return CPU_DISASSEMBLE_NAME(minx)(this, buffer, pc, oprom, opram, options);