summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/m1comm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/m1comm.h')
-rw-r--r--src/mame/machine/m1comm.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/machine/m1comm.h b/src/mame/machine/m1comm.h
index 915e7ee671d..c9adb75dc80 100644
--- a/src/mame/machine/m1comm.h
+++ b/src/mame/machine/m1comm.h
@@ -20,7 +20,7 @@ class m1comm_device : public device_t
{
public:
// construction/destruction
- m1comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m1comm_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;
@@ -66,26 +66,26 @@ protected:
virtual const tiny_rom_entry *device_rom_region() const override;
private:
- UINT8 m_shared[0x1000]; // 2x 2k = 4k; model1 accesses this with 16bit data and 11bit address (A0 to A10)
- UINT8 m_dlc_reg[0x20]; // MB89374 registers
- UINT8 m_dma_reg[0x20]; // MB89237A registers
- UINT8 m_syn; // bit0 is stored; purpose unknown, bit1 is used to enable/disable VINT/IRQ5
- 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[0x1000]; // 2x 2k = 4k; model1 accesses this with 16bit data and 11bit address (A0 to A10)
+ uint8_t m_dlc_reg[0x20]; // MB89374 registers
+ uint8_t m_dma_reg[0x20]; // MB89237A registers
+ uint8_t m_syn; // bit0 is stored; purpose unknown, bit1 is used to enable/disable VINT/IRQ5
+ 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[0x1000];
+ uint8_t m_buffer[0x1000];
#ifdef __M1COMM_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;
void comm_tick();
#endif