diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/ncr5390.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/machine/ncr5390.h')
-rw-r--r-- | src/devices/machine/ncr5390.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/machine/ncr5390.h b/src/devices/machine/ncr5390.h index 7dfac6f5681..200e1acb57e 100644 --- a/src/devices/machine/ncr5390.h +++ b/src/devices/machine/ncr5390.h @@ -14,7 +14,7 @@ class ncr5390_device : public nscsi_device { public: - ncr5390_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ncr5390_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // static configuration helpers template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast<ncr5390_device &>(device).m_irq_handler.set_callback(object); } @@ -44,8 +44,8 @@ public: virtual void scsi_ctrl_changed() override; - UINT8 dma_r(); - void dma_w(UINT8 val); + uint8_t dma_r(); + void dma_w(uint8_t val); protected: virtual void device_start() override; @@ -184,10 +184,10 @@ private: emu_timer *tm; - UINT8 command[2], config, status, istatus; - UINT8 clock_conv, sync_offset, sync_period, bus_id, select_timeout, seq; - UINT8 fifo[16]; - UINT16 tcount; + uint8_t command[2], config, status, istatus; + uint8_t clock_conv, sync_offset, sync_period, bus_id, select_timeout, seq; + uint8_t fifo[16]; + uint16_t tcount; int mode, fifo_pos, command_pos; int state, xfr_phase; int command_length; @@ -202,8 +202,8 @@ private: void start_command(); void step(bool timeout); - bool check_valid_command(UINT8 cmd); - int derive_msg_size(UINT8 msg_id); + bool check_valid_command(uint8_t cmd); + int derive_msg_size(uint8_t msg_id); void function_complete(); void function_bus_complete(); void bus_complete(); @@ -215,8 +215,8 @@ private: void reset_soft(); void reset_disconnect(); - UINT8 fifo_pop(); - void fifo_push(UINT8 val); + uint8_t fifo_pop(); + void fifo_push(uint8_t val); void send_byte(); void recv_byte(); |