summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ldv1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ldv1000.h')
-rw-r--r--src/devices/machine/ldv1000.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/devices/machine/ldv1000.h b/src/devices/machine/ldv1000.h
index 0ea017d4214..ea543159a33 100644
--- a/src/devices/machine/ldv1000.h
+++ b/src/devices/machine/ldv1000.h
@@ -51,16 +51,16 @@ class pioneer_ldv1000_device : public laserdisc_device
{
public:
// construction/destruction
- pioneer_ldv1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pioneer_ldv1000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
template<class _cmd_strobe_cb> void set_command_strobe_callback(_cmd_strobe_cb latch) { m_command_strobe_cb.set_callback(latch); }
// input and output
- void data_w(UINT8 data);
- void enter_w(UINT8 data);
- UINT8 status_r() const { return m_status; }
- UINT8 status_strobe_r() const { return (m_portc1 & 0x20) ? ASSERT_LINE : CLEAR_LINE; }
- UINT8 command_strobe_r() const { return (m_portc1 & 0x10) ? ASSERT_LINE : CLEAR_LINE; }
+ void data_w(uint8_t data);
+ void enter_w(uint8_t data);
+ uint8_t status_r() const { return m_status; }
+ uint8_t status_strobe_r() const { return (m_portc1 & 0x20) ? ASSERT_LINE : CLEAR_LINE; }
+ uint8_t command_strobe_r() const { return (m_portc1 & 0x10) ? ASSERT_LINE : CLEAR_LINE; }
protected:
// timer IDs
@@ -80,7 +80,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 { }
// internal helpers
@@ -111,24 +111,24 @@ protected:
devcb_write_line m_command_strobe_cb;
/* communication status */
- UINT8 m_command; /* command byte to the player */
- UINT8 m_status; /* status byte from the player */
+ uint8_t m_command; /* command byte to the player */
+ uint8_t m_status; /* status byte from the player */
bool m_vsync; /* VSYNC state */
/* I/O port states */
- UINT8 m_counter_start; /* starting value for counter */
- UINT8 m_counter; /* current counter value */
- UINT8 m_portc0; /* port C on PPI 0 */
- UINT8 m_portb1; /* port B on PPI 1 */
- UINT8 m_portc1; /* port C on PPI 1 */
+ uint8_t m_counter_start; /* starting value for counter */
+ uint8_t m_counter; /* current counter value */
+ uint8_t m_portc0; /* port C on PPI 0 */
+ uint8_t m_portb1; /* port B on PPI 1 */
+ uint8_t m_portc1; /* port C on PPI 1 */
/* display/decode circuit emulation */
- UINT8 m_portselect; /* selection of which port to access */
- UINT8 m_display[2][20]; /* display lines */
- UINT8 m_dispindex; /* index within the display line */
- UINT8 m_vbi[7*3]; /* VBI data */
+ uint8_t m_portselect; /* selection of which port to access */
+ uint8_t m_display[2][20]; /* display lines */
+ uint8_t m_dispindex; /* index within the display line */
+ uint8_t m_vbi[7*3]; /* VBI data */
bool m_vbiready; /* VBI ready flag */
- UINT8 m_vbiindex; /* index within the VBI data */
+ uint8_t m_vbiindex; /* index within the VBI data */
};