summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp8/pdp8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8.cpp')
-rw-r--r--src/devices/cpu/pdp8/pdp8.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/pdp8/pdp8.cpp b/src/devices/cpu/pdp8/pdp8.cpp
index 747bea2ffb9..8946932b147 100644
--- a/src/devices/cpu/pdp8/pdp8.cpp
+++ b/src/devices/cpu/pdp8/pdp8.cpp
@@ -50,7 +50,7 @@ const device_type PDP8CPU = &device_creator<pdp8_device>;
// pdp8_device - constructor
//-------------------------------------------------
-pdp8_device::pdp8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pdp8_device::pdp8_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: cpu_device(mconfig, PDP8CPU, "PDP8CPU", tag, owner, clock, "pdp8_cpu", __FILE__),
m_program_config("program", ENDIANNESS_BIG, 12, 12),
m_pc(0),
@@ -152,7 +152,7 @@ void pdp8_device::state_string_export(const device_state_entry &entry, std::stri
// of the shortest instruction, in bytes
//-------------------------------------------------
-UINT32 pdp8_device::disasm_min_opcode_bytes() const
+uint32_t pdp8_device::disasm_min_opcode_bytes() const
{
return 2;
}
@@ -163,7 +163,7 @@ UINT32 pdp8_device::disasm_min_opcode_bytes() const
// of the longest instruction, in bytes
//-------------------------------------------------
-UINT32 pdp8_device::disasm_max_opcode_bytes() const
+uint32_t pdp8_device::disasm_max_opcode_bytes() const
{
return 2;
}
@@ -174,7 +174,7 @@ UINT32 pdp8_device::disasm_max_opcode_bytes() const
// helper function
//-------------------------------------------------
-offs_t pdp8_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+offs_t pdp8_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern CPU_DISASSEMBLE( pdp8 );
return CPU_DISASSEMBLE_NAME(pdp8)(this, buffer, pc, oprom, opram, options);
@@ -190,7 +190,7 @@ offs_t pdp8_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *opr
// cycles it takes for one instruction to execute
//-------------------------------------------------
-UINT32 pdp8_device::execute_min_cycles() const
+uint32_t pdp8_device::execute_min_cycles() const
{
return 1; // TODO
}
@@ -201,7 +201,7 @@ UINT32 pdp8_device::execute_min_cycles() const
// cycles it takes for one instruction to execute
//-------------------------------------------------
-UINT32 pdp8_device::execute_max_cycles() const
+uint32_t pdp8_device::execute_max_cycles() const
{
return 3; // TODO
}
@@ -212,7 +212,7 @@ UINT32 pdp8_device::execute_max_cycles() const
// input/interrupt lines
//-------------------------------------------------
-UINT32 pdp8_device::execute_input_lines() const
+uint32_t pdp8_device::execute_input_lines() const
{
return 0; // TODO
}
@@ -242,7 +242,7 @@ void pdp8_device::execute_run()
debugger_instruction_hook(this, m_pc);
- UINT16 op = m_program->read_word(m_pc);
+ uint16_t op = m_program->read_word(m_pc);
--m_icount;
}