diff options
Diffstat (limited to 'src/mame/machine/m2comm.h')
-rw-r--r-- | src/mame/machine/m2comm.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/machine/m2comm.h b/src/mame/machine/m2comm.h index 020ac38fbb2..c525a381409 100644 --- a/src/mame/machine/m2comm.h +++ b/src/mame/machine/m2comm.h @@ -20,7 +20,7 @@ class m2comm_device : public device_t { public: // construction/destruction - m2comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + m2comm_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; @@ -48,7 +48,7 @@ public: // IRQ logic - 5 = VINT, 7 = DLC void check_vint_irq(); #ifdef __M2COMM_SIMULATION__ - void set_linktype(UINT16 linktype); + void set_linktype(uint16_t linktype); #endif protected: @@ -57,25 +57,25 @@ protected: virtual void device_reset() override; private: - UINT8 m_shared[0x4000]; // 16k shared memory - UINT8 m_zfg; // z80 flip gate? purpose unknown, bit0 is stored - UINT8 m_cn; // bit0 is used to enable/disable the comm board - UINT8 m_fg; // flip gate? purpose unknown, bit0 is stored, bit7 is connected to ZFG bit 0 + uint8_t m_shared[0x4000]; // 16k shared memory + uint8_t m_zfg; // z80 flip gate? purpose unknown, bit0 is stored + uint8_t m_cn; // bit0 is used to enable/disable the comm board + uint8_t m_fg; // flip gate? purpose unknown, bit0 is stored, bit7 is connected to ZFG bit 0 emu_file m_line_rx; // rx line - can be either differential, simple serial or toslink emu_file m_line_tx; // tx line - is differential, simple serial and toslink char m_localhost[256]; char m_remotehost[256]; - UINT8 m_buffer[0x4000]; + uint8_t m_buffer[0x4000]; #ifdef __M2COMM_SIMULATION__ - UINT8 m_linkenable; - UINT16 m_linktimer; - UINT8 m_linkalive; - UINT8 m_linkid; - UINT8 m_linkcount; + uint8_t m_linkenable; + uint16_t m_linktimer; + uint8_t m_linkalive; + uint8_t m_linkid; + uint8_t m_linkcount; - UINT16 m_linktype; + uint16_t m_linktype; void comm_init(); void comm_tick(); |