summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/am29000/am29000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/am29000/am29000.cpp')
-rw-r--r--src/devices/cpu/am29000/am29000.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/cpu/am29000/am29000.cpp b/src/devices/cpu/am29000/am29000.cpp
index 524cb8b28d8..62fbb6a5536 100644
--- a/src/devices/cpu/am29000/am29000.cpp
+++ b/src/devices/cpu/am29000/am29000.cpp
@@ -78,7 +78,7 @@ const device_type AM29000 = &device_creator<am29000_cpu_device>;
STATE ACCESSORS
***************************************************************************/
-am29000_cpu_device::am29000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+am29000_cpu_device::am29000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: cpu_device(mconfig, AM29000, "AMD Am29000", tag, owner, clock, "am29000", __FILE__)
, m_program_config("program", ENDIANNESS_BIG, 32, 32, 0)
, m_io_config("io", ENDIANNESS_BIG, 32, 32, 0)
@@ -439,7 +439,7 @@ void am29000_cpu_device::device_reset()
}
-void am29000_cpu_device::signal_exception(UINT32 type)
+void am29000_cpu_device::signal_exception(uint32_t type)
{
m_exception_queue[m_exceptions++] = type;
}
@@ -477,7 +477,7 @@ void am29000_cpu_device::external_irq_check()
}
-UINT32 am29000_cpu_device::read_program_word(UINT32 address)
+uint32_t am29000_cpu_device::read_program_word(uint32_t address)
{
/* TODO: ROM enable? */
if (m_cps & CPS_PI || m_cps & CPS_RE)
@@ -494,7 +494,7 @@ UINT32 am29000_cpu_device::read_program_word(UINT32 address)
HELPER FUNCTIONS
***************************************************************************/
-UINT32 am29000_cpu_device::get_abs_reg(UINT8 r, UINT32 iptr)
+uint32_t am29000_cpu_device::get_abs_reg(uint8_t r, uint32_t iptr)
{
if (r & 0x80)
{
@@ -528,8 +528,8 @@ UINT32 am29000_cpu_device::get_abs_reg(UINT8 r, UINT32 iptr)
void am29000_cpu_device::fetch_decode()
{
- UINT32 inst;
- UINT32 op_flags;
+ uint32_t inst;
+ uint32_t op_flags;
inst = read_program_word(m_pc);
m_next_ir = inst;
@@ -598,7 +598,7 @@ void am29000_cpu_device::fetch_decode()
void am29000_cpu_device::execute_run()
{
- UINT32 call_debugger = (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0;
+ uint32_t call_debugger = (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0;
external_irq_check();
@@ -627,8 +627,8 @@ void am29000_cpu_device::execute_run()
if (m_cfg & CFG_VF)
{
- UINT32 vaddr = m_vab | m_exception_queue[0] * 4;
- UINT32 vect = m_datadirect->read_dword(vaddr);
+ uint32_t vaddr = m_vab | m_exception_queue[0] * 4;
+ uint32_t vect = m_datadirect->read_dword(vaddr);
m_pc = vect & ~3;
m_next_pc = m_pc;
@@ -674,7 +674,7 @@ void am29000_cpu_device::execute_set_input(int inputnum, int state)
}
-offs_t am29000_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+offs_t am29000_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern CPU_DISASSEMBLE( am29000 );
return CPU_DISASSEMBLE_NAME(am29000)(this, buffer, pc, oprom, opram, options);