summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/s3520cf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/s3520cf.cpp')
-rw-r--r--src/devices/machine/s3520cf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/s3520cf.cpp b/src/devices/machine/s3520cf.cpp
index e504e5b9022..f0f80d4c7fa 100644
--- a/src/devices/machine/s3520cf.cpp
+++ b/src/devices/machine/s3520cf.cpp
@@ -35,14 +35,14 @@ const device_type S3520CF = &device_creator<s3520cf_device>;
// s3520cf_device - constructor
//-------------------------------------------------
-s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, S3520CF, "S-3520CF RTC", tag, owner, clock, "s3520cf", __FILE__), m_dir(0), m_latch(0), m_reset_line(0), m_read_latch(0), m_current_cmd(0), m_cmd_stream_pos(0), m_rtc_addr(0), m_mode(0), m_sysr(0), m_rtc_state()
{
}
TIMER_CALLBACK_MEMBER(s3520cf_device::timer_callback)
{
- static const UINT8 dpm[12] = { 0x31, 0x28, 0x31, 0x30, 0x31, 0x30, 0x31, 0x31, 0x30, 0x31, 0x30, 0x31 };
+ static const uint8_t dpm[12] = { 0x31, 0x28, 0x31, 0x30, 0x31, 0x30, 0x31, 0x31, 0x30, 0x31, 0x30, 0x31 };
int dpm_count;
m_rtc.sec++;
@@ -117,9 +117,9 @@ void s3520cf_device::device_reset()
// rtc_read - used to route RTC reading registers
//-------------------------------------------------
-inline UINT8 s3520cf_device::rtc_read(UINT8 offset)
+inline uint8_t s3520cf_device::rtc_read(uint8_t offset)
{
- UINT8 res;
+ uint8_t res;
res = 0;
@@ -156,7 +156,7 @@ inline UINT8 s3520cf_device::rtc_read(UINT8 offset)
return res;
}
-inline void s3520cf_device::rtc_write(UINT8 offset,UINT8 data)
+inline void s3520cf_device::rtc_write(uint8_t offset,uint8_t data)
{
if(offset == 0xf)
{