summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ldvp931.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ldvp931.h')
-rw-r--r--src/devices/machine/ldvp931.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/devices/machine/ldvp931.h b/src/devices/machine/ldvp931.h
index b35fa988039..c6445e06510 100644
--- a/src/devices/machine/ldvp931.h
+++ b/src/devices/machine/ldvp931.h
@@ -48,14 +48,14 @@ public:
typedef delegate<void (phillips_22vp931_device &, int)> data_ready_delegate;
// construction/destruction
- phillips_22vp931_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ phillips_22vp931_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// input and output
- void data_w(UINT8 data) { synchronize(TID_DEFERRED_DATA, data); }
- void reset_w(UINT8 data);
- UINT8 data_r();
- UINT8 ready_r() { return m_fromcontroller_pending ? CLEAR_LINE : ASSERT_LINE; }
- UINT8 data_available_r() { return m_tocontroller_pending ? ASSERT_LINE : CLEAR_LINE; }
+ void data_w(uint8_t data) { synchronize(TID_DEFERRED_DATA, data); }
+ void reset_w(uint8_t data);
+ uint8_t data_r();
+ uint8_t ready_r() { return m_fromcontroller_pending ? CLEAR_LINE : ASSERT_LINE; }
+ uint8_t data_available_r() { return m_tocontroller_pending ? ASSERT_LINE : CLEAR_LINE; }
// configuration
void set_data_ready_callback(data_ready_delegate callback) { m_data_ready = callback; }
@@ -81,7 +81,7 @@ protected:
// subclass overrides
virtual void player_vsync(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override;
- virtual INT32 player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override;
+ virtual int32_t player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override;
virtual void player_overlay(bitmap_yuy16 &bitmap) override { }
public:
@@ -108,30 +108,30 @@ protected:
data_ready_delegate m_data_ready; // data ready callback
// I/O port states
- UINT8 m_i8049_out0; // output 0 state
- UINT8 m_i8049_out1; // output 1 state
- UINT8 m_i8049_port1; // port 1 state
+ uint8_t m_i8049_out0; // output 0 state
+ uint8_t m_i8049_out1; // output 1 state
+ uint8_t m_i8049_port1; // port 1 state
// DATIC circuit implementation
- UINT8 m_daticval; // latched DATIC value
- UINT8 m_daticerp; // /ERP value from DATIC
- UINT8 m_datastrobe; // DATA STROBE line from DATIC
+ uint8_t m_daticval; // latched DATIC value
+ uint8_t m_daticerp; // /ERP value from DATIC
+ uint8_t m_datastrobe; // DATA STROBE line from DATIC
// communication status
- UINT8 m_reset_state; // state of the reset input
- UINT8 m_fromcontroller; // command byte from the controller
+ uint8_t m_reset_state; // state of the reset input
+ uint8_t m_fromcontroller; // command byte from the controller
bool m_fromcontroller_pending; // true if data is pending
- UINT8 m_tocontroller; // command byte to the controller
+ uint8_t m_tocontroller; // command byte to the controller
bool m_tocontroller_pending; // true if data is pending
// tracking
- INT8 m_trackdir; // direction of tracking
- UINT8 m_trackstate; // state of tracking
+ int8_t m_trackdir; // direction of tracking
+ uint8_t m_trackstate; // state of tracking
// debugging
- UINT8 m_cmdbuf[3]; // 3 bytes worth of commands
- UINT8 m_cmdcount; // number of command bytes seen
- INT16 m_advanced; // number of frames advanced
+ uint8_t m_cmdbuf[3]; // 3 bytes worth of commands
+ uint8_t m_cmdcount; // number of command bytes seen
+ int16_t m_advanced; // number of frames advanced
};