summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m3745x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m3745x.h')
-rw-r--r--src/devices/cpu/m6502/m3745x.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/cpu/m6502/m3745x.h b/src/devices/cpu/m6502/m3745x.h
index 0ddc69d099d..6b85aee9c20 100644
--- a/src/devices/cpu/m6502/m3745x.h
+++ b/src/devices/cpu/m6502/m3745x.h
@@ -61,7 +61,7 @@ public:
};
// construction/destruction
- m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source);
+ m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, address_map_constructor internal_map, const char *shortname, const char *source);
const address_space_config m_program_config;
@@ -117,7 +117,7 @@ public:
DECLARE_READ8_MEMBER(intregs_r);
DECLARE_WRITE8_MEMBER(intregs_w);
- bool are_port_bits_output(UINT8 port, UINT8 mask) { return ((m_ddrs[port] & mask) == mask) ? true : false; }
+ bool are_port_bits_output(uint8_t port, uint8_t mask) { return ((m_ddrs[port] & mask) == mask) ? true : false; }
protected:
// device-level overrides
@@ -127,15 +127,15 @@ protected:
virtual void execute_set_input(int inputnum, int state) override;
virtual const address_space_config *memory_space_config(address_spacenum spacenum) const override { return (spacenum == AS_PROGRAM) ? &m_program_config : nullptr; }
- void send_port(address_space &space, UINT8 offset, UINT8 data);
- UINT8 read_port(UINT8 offset);
+ void send_port(address_space &space, uint8_t offset, uint8_t data);
+ uint8_t read_port(uint8_t offset);
void recalc_irqs();
- UINT8 m_ports[6], m_ddrs[6];
- UINT8 m_intreq1, m_intreq2, m_intctrl1, m_intctrl2;
- UINT8 m_adctrl;
- UINT16 m_last_all_ints;
+ uint8_t m_ports[6], m_ddrs[6];
+ uint8_t m_intreq1, m_intreq2, m_intctrl1, m_intctrl2;
+ uint8_t m_adctrl;
+ uint16_t m_last_all_ints;
private:
emu_timer *m_timers[NUM_TIMERS];
@@ -144,8 +144,8 @@ private:
class m37450_device : public m3745x_device
{
public:
- m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
};
extern const device_type M37450;