summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/mc1502_fdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/mc1502_fdc.cpp')
-rw-r--r--src/devices/bus/isa/mc1502_fdc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/isa/mc1502_fdc.cpp b/src/devices/bus/isa/mc1502_fdc.cpp
index 73f8d5bd568..38217bb9978 100644
--- a/src/devices/bus/isa/mc1502_fdc.cpp
+++ b/src/devices/bus/isa/mc1502_fdc.cpp
@@ -85,16 +85,16 @@ TIMER_CALLBACK_MEMBER(mc1502_fdc_device::motor_callback)
motor_on = 0;
}
-UINT8 mc1502_fdc_device::mc1502_wd17xx_aux_r()
+uint8_t mc1502_fdc_device::mc1502_wd17xx_aux_r()
{
- UINT8 data;
+ uint8_t data;
data = 0;
return data;
}
-void mc1502_fdc_device::mc1502_wd17xx_aux_w(UINT8 data)
+void mc1502_fdc_device::mc1502_wd17xx_aux_w(uint8_t data)
{
floppy_image_device *floppy0 = m_fdc->subdevice<floppy_connector>("0")->get_device();
floppy_image_device *floppy1 = m_fdc->subdevice<floppy_connector>("1")->get_device();
@@ -123,7 +123,7 @@ void mc1502_fdc_device::mc1502_wd17xx_aux_w(UINT8 data)
/*
* Accesses to this port block (halt the CPU until DRQ, INTRQ or MOTOR ON)
*/
-UINT8 mc1502_fdc_device::mc1502_wd17xx_drq_r()
+uint8_t mc1502_fdc_device::mc1502_wd17xx_drq_r()
{
cpu_device *maincpu = machine().device<cpu_device>("maincpu");
@@ -136,7 +136,7 @@ UINT8 mc1502_fdc_device::mc1502_wd17xx_drq_r()
return m_fdc->drq_r();
}
-UINT8 mc1502_fdc_device::mc1502_wd17xx_motor_r()
+uint8_t mc1502_fdc_device::mc1502_wd17xx_motor_r()
{
return motor_on;
}
@@ -151,7 +151,7 @@ WRITE_LINE_MEMBER( mc1502_fdc_device::mc1502_fdc_irq_drq )
READ8_MEMBER( mc1502_fdc_device::mc1502_fdc_r )
{
- UINT8 data = 0xff;
+ uint8_t data = 0xff;
switch( offset )
{
@@ -165,7 +165,7 @@ READ8_MEMBER( mc1502_fdc_device::mc1502_fdc_r )
READ8_MEMBER( mc1502_fdc_device::mc1502_fdcv2_r )
{
- UINT8 data = 0xff;
+ uint8_t data = 0xff;
switch( offset )
{
@@ -189,7 +189,7 @@ WRITE8_MEMBER( mc1502_fdc_device::mc1502_fdc_w )
// mc1502_fdc_device - constructor
//-------------------------------------------------
-mc1502_fdc_device::mc1502_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+mc1502_fdc_device::mc1502_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, MC1502_FDC, "MC-1502 floppy", tag, owner, clock, "mc1502_fdc", __FILE__),
device_isa8_card_interface( mconfig, *this ),
m_fdc(*this, "fdc"), motor_on(0), motor_timer(nullptr)