diff options
Diffstat (limited to 'src/devices/bus/ti99_peb/ti_rs232.h')
-rw-r--r-- | src/devices/bus/ti99_peb/ti_rs232.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/bus/ti99_peb/ti_rs232.h b/src/devices/bus/ti99_peb/ti_rs232.h index 371eefccdf9..255127c63ea 100644 --- a/src/devices/bus/ti99_peb/ti_rs232.h +++ b/src/devices/bus/ti99_peb/ti_rs232.h @@ -30,7 +30,7 @@ class ti_rs232_pio_device : public ti_expansion_card_device friend class ti_rs232_attached_device; public: - ti_rs232_pio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ti_rs232_pio_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8Z_MEMBER(readz) override; DECLARE_WRITE8_MEMBER(write) override; @@ -56,16 +56,16 @@ protected: private: void incoming_dtr(int uartind, line_state value); - void transmit_data(int uartind, UINT8 value); - UINT8 map_lines_out(int uartind, UINT8 value); - UINT8 map_lines_in(int uartind, UINT8 value); + void transmit_data(int uartind, uint8_t value); + uint8_t map_lines_out(int uartind, uint8_t value); + uint8_t map_lines_in(int uartind, uint8_t value); void receive_data_or_line_state(int uartind); void set_bit(int uartind, int line, int value); void configure_interface(int uartind, int type, int value); - void output_line_state(int uartind, int mask, UINT8 value); - void output_exception(int uartind, int param, UINT8 value); - void ctrl_callback(int uartind, int type, UINT8 data); + void output_line_state(int uartind, int mask, uint8_t value); + void output_exception(int uartind, int param, uint8_t value); + void ctrl_callback(int uartind, int type, uint8_t data); // UART chips tms9902_device* m_uart[2]; @@ -75,15 +75,15 @@ private: // Connected image (file) that represents the device connected to the // parallel interface ti_pio_attached_device* m_piodev; - UINT8* m_dsrrom; + uint8_t* m_dsrrom; // Input buffer for each UART. We have to copy the contents of sdlsocket here // because the buffer in corefile will be lost on the next write operation - std::unique_ptr<UINT8[]> m_recvbuf[2]; + std::unique_ptr<uint8_t[]> m_recvbuf[2]; int m_bufpos[2], m_buflen[2]; // Latches the state of the output lines for UART0/UART1 - UINT8 m_signals[2]; + uint8_t m_signals[2]; int m_recv_mode[2]; // May be NORMAL or ESC // Baud rate management @@ -106,7 +106,7 @@ private: bool m_pio_write; // true if image is to be written to /* Keeps the value put on the bus when SENILA becomes active. */ - UINT8 m_ila; + uint8_t m_ila; }; /****************************************************************************/ @@ -117,7 +117,7 @@ private: class ti_rs232_attached_device : public device_t, public device_image_interface { public: - ti_rs232_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ti_rs232_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); iodevice_t image_type() const override { return IO_SERIAL; } bool is_readable() const override { return true; } @@ -144,7 +144,7 @@ private: class ti_pio_attached_device : public device_t, public device_image_interface { public: - ti_pio_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ti_pio_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); iodevice_t image_type() const override { return IO_PARALLEL; } bool is_readable() const override { return true; } |