summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/s3virge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/s3virge.cpp')
-rw-r--r--src/devices/bus/isa/s3virge.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/bus/isa/s3virge.cpp b/src/devices/bus/isa/s3virge.cpp
index 1e2ccc27458..cf05045005e 100644
--- a/src/devices/bus/isa/s3virge.cpp
+++ b/src/devices/bus/isa/s3virge.cpp
@@ -20,27 +20,27 @@ const device_type S3VIRGE = &device_creator<s3virge_vga_device>;
const device_type S3VIRGEDX = &device_creator<s3virgedx_vga_device>;
const device_type S3VIRGEDX1 = &device_creator<s3virgedx_rev1_vga_device>;
-s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: s3_vga_device(mconfig, S3VIRGE, "S3 86C325", tag, owner, clock, "virge_vga", __FILE__)
{
}
-s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source)
: s3_vga_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
-s3virgedx_vga_device::s3virgedx_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+s3virgedx_vga_device::s3virgedx_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: s3virge_vga_device(mconfig, S3VIRGEDX, "S3 86C375", tag, owner, clock, "virgedx_vga", __FILE__)
{
}
-s3virgedx_vga_device::s3virgedx_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+s3virgedx_vga_device::s3virgedx_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source)
: s3virge_vga_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
-s3virgedx_rev1_vga_device::s3virgedx_rev1_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+s3virgedx_rev1_vga_device::s3virgedx_rev1_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: s3virgedx_vga_device(mconfig, S3VIRGEDX1, "S3 86C375 (rev 1)", tag, owner, clock, "virgedx_r1", __FILE__)
{
}
@@ -132,9 +132,9 @@ void s3virgedx_rev1_vga_device::device_reset()
s3.strapping = 0x0aff0912;
}
-UINT8 s3virge_vga_device::s3_crtc_reg_read(UINT8 index)
+uint8_t s3virge_vga_device::s3_crtc_reg_read(uint8_t index)
{
- UINT8 res;
+ uint8_t res;
if(index <= 0x18)
res = crtc_reg_read(index);
@@ -295,7 +295,7 @@ void s3virge_vga_device::s3_define_video_mode()
recompute_params_clock(divisor, xtal);
}
-void s3virge_vga_device::s3_crtc_reg_write(UINT8 index, UINT8 data)
+void s3virge_vga_device::s3_crtc_reg_write(uint8_t index, uint8_t data)
{
if(index <= 0x18)
{
@@ -608,7 +608,7 @@ bit 0 Vertical Total bit 10. Bit 10 of the Vertical Total register (3d4h
READ8_MEMBER(s3virge_vga_device::port_03b0_r)
{
- UINT8 res = 0xff;
+ uint8_t res = 0xff;
if (CRTC_PORT_ADDR == 0x3b0)
{
@@ -645,7 +645,7 @@ WRITE8_MEMBER(s3virge_vga_device::port_03b0_w)
READ8_MEMBER(s3virge_vga_device::port_03c0_r)
{
- UINT8 res;
+ uint8_t res;
switch(offset)
{
@@ -669,7 +669,7 @@ WRITE8_MEMBER(s3virge_vga_device::port_03c0_w)
READ8_MEMBER(s3virge_vga_device::port_03d0_r)
{
- UINT8 res = 0xff;
+ uint8_t res = 0xff;
if (CRTC_PORT_ADDR == 0x3d0)
{
@@ -708,7 +708,7 @@ READ8_MEMBER(s3virge_vga_device::mem_r)
{
if (svga.rgb8_en || svga.rgb15_en || svga.rgb16_en || svga.rgb32_en)
{
- UINT8 data;
+ uint8_t data;
if(offset & 0x10000)
return 0;
data = 0xff;