diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/cpu/pdp8/pdp8.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8.cpp')
-rw-r--r-- | src/devices/cpu/pdp8/pdp8.cpp | 16 |
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; } |