summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/pc_xporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/pc_xporter.h')
-rw-r--r--src/devices/bus/a2bus/pc_xporter.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/devices/bus/a2bus/pc_xporter.h b/src/devices/bus/a2bus/pc_xporter.h
index cb008a3ec76..048dd210de4 100644
--- a/src/devices/bus/a2bus/pc_xporter.h
+++ b/src/devices/bus/a2bus/pc_xporter.h
@@ -34,8 +34,8 @@ class a2bus_pcxporter_device:
{
public:
// construction/destruction
- a2bus_pcxporter_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);
- a2bus_pcxporter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ a2bus_pcxporter_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);
+ a2bus_pcxporter_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -51,22 +51,22 @@ public:
optional_device<pc_kbdc_device> m_pc_kbdc;
// overrides of standard a2bus slot functions
- virtual UINT8 read_c0nx(address_space &space, UINT8 offset) override;
- virtual void write_c0nx(address_space &space, UINT8 offset, UINT8 data) override;
- virtual UINT8 read_cnxx(address_space &space, UINT8 offset) override;
- virtual void write_cnxx(address_space &space, UINT8 offset, UINT8 data) override;
- virtual UINT8 read_c800(address_space &space, UINT16 offset) override;
- virtual void write_c800(address_space &space, UINT16 offset, UINT8 data) override;
-
- UINT8 m_u73_q2;
- UINT8 m_out1;
+ virtual uint8_t read_c0nx(address_space &space, uint8_t offset) override;
+ virtual void write_c0nx(address_space &space, uint8_t offset, uint8_t data) override;
+ virtual uint8_t read_cnxx(address_space &space, uint8_t offset) override;
+ virtual void write_cnxx(address_space &space, uint8_t offset, uint8_t data) override;
+ virtual uint8_t read_c800(address_space &space, uint16_t offset) override;
+ virtual void write_c800(address_space &space, uint16_t offset, uint8_t data) override;
+
+ uint8_t m_u73_q2;
+ uint8_t m_out1;
int m_dma_channel;
- UINT8 m_dma_offset[4];
- UINT8 m_pc_spkrdata;
- UINT8 m_pit_out2;
+ uint8_t m_dma_offset[4];
+ uint8_t m_pc_spkrdata;
+ uint8_t m_pit_out2;
bool m_cur_eop;
- UINT8 m_nmi_enabled;
+ uint8_t m_nmi_enabled;
// interface to the keyboard
DECLARE_WRITE_LINE_MEMBER( keyboard_clock_w );
@@ -103,14 +103,14 @@ protected:
virtual void device_reset() override;
private:
- UINT8 m_ram[768*1024];
- UINT8 m_c800_ram[0x400];
- UINT8 m_regs[0x400];
- UINT32 m_offset;
+ uint8_t m_ram[768*1024];
+ uint8_t m_c800_ram[0x400];
+ uint8_t m_regs[0x400];
+ uint32_t m_offset;
address_space *m_pcmem_space, *m_pcio_space;
bool m_reset_during_halt;
- UINT8 m_6845_reg;
+ uint8_t m_6845_reg;
void pc_select_dma_channel(int channel, bool state);
};