summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/tms5501.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/tms5501.cpp')
-rw-r--r--src/devices/machine/tms5501.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/machine/tms5501.cpp b/src/devices/machine/tms5501.cpp
index 71f3f298cde..404f3eaacd5 100644
--- a/src/devices/machine/tms5501.cpp
+++ b/src/devices/machine/tms5501.cpp
@@ -17,7 +17,7 @@
#define LOG 0
-const UINT8 tms5501_device::rst_vector[] = { 0xc7, 0xcf, 0xd7, 0xdf, 0xe7, 0xef, 0xf7, 0xff };
+const uint8_t tms5501_device::rst_vector[] = { 0xc7, 0xcf, 0xd7, 0xdf, 0xe7, 0xef, 0xf7, 0xff };
@@ -53,7 +53,7 @@ ADDRESS_MAP_END
// tms5501_device - constructor
//-------------------------------------------------
-tms5501_device::tms5501_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+tms5501_device::tms5501_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, TMS5501, "TMS5501", tag, owner, clock, "tms5501", __FILE__),
device_serial_interface(mconfig, *this),
m_write_irq(*this),
@@ -234,7 +234,7 @@ READ8_MEMBER( tms5501_device::rb_r )
READ8_MEMBER( tms5501_device::xi_r )
{
- UINT8 data = m_read_xi(0);
+ uint8_t data = m_read_xi(0);
if (m_cmd & CMD_XI7)
{
@@ -261,7 +261,7 @@ READ8_MEMBER( tms5501_device::rst_r )
READ8_MEMBER( tms5501_device::sta_r )
{
- UINT8 data = m_sta;
+ uint8_t data = m_sta;
m_sta &= ~STA_OE;
@@ -463,7 +463,7 @@ WRITE_LINE_MEMBER( tms5501_device::sens_w )
// set_interrupt -
//-------------------------------------------------
-void tms5501_device::set_interrupt(UINT8 mask)
+void tms5501_device::set_interrupt(uint8_t mask)
{
m_irq |= mask;
@@ -507,9 +507,9 @@ void tms5501_device::check_interrupt()
// get_vector -
//-------------------------------------------------
-UINT8 tms5501_device::get_vector()
+uint8_t tms5501_device::get_vector()
{
- UINT8 rst = 0;
+ uint8_t rst = 0;
for (int i = 0; i < 8; i++)
{