summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video')
-rw-r--r--src/mess/video/abc1600.c3
-rw-r--r--src/mess/video/abc800.c3
-rw-r--r--src/mess/video/abc802.c3
-rw-r--r--src/mess/video/abc806.c3
-rw-r--r--src/mess/video/bbc.c3
-rw-r--r--src/mess/video/dgn_beta.c3
-rw-r--r--src/mess/video/isa_cga.c3
-rw-r--r--src/mess/video/isa_mda.c7
-rw-r--r--src/mess/video/mbc55x.c3
-rw-r--r--src/mess/video/pc1512.c3
-rw-r--r--src/mess/video/pc1640.c3
-rw-r--r--src/mess/video/pc8401a.c4
-rw-r--r--src/mess/video/pc_aga.c4
-rw-r--r--src/mess/video/pc_t1t.c8
-rw-r--r--src/mess/video/v1050.c3
15 files changed, 39 insertions, 17 deletions
diff --git a/src/mess/video/abc1600.c b/src/mess/video/abc1600.c
index 21af4b3a6df..9a09f39c3fa 100644
--- a/src/mess/video/abc1600.c
+++ b/src/mess/video/abc1600.c
@@ -1024,9 +1024,10 @@ static MC6845_ON_UPDATE_ADDR_CHANGED( crtc_update )
{
}
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
32,
NULL,
abc1600_update_row,
diff --git a/src/mess/video/abc800.c b/src/mess/video/abc800.c
index c54b78197b0..1acfb5fd506 100644
--- a/src/mess/video/abc800.c
+++ b/src/mess/video/abc800.c
@@ -275,9 +275,10 @@ static MC6845_UPDATE_ROW( abc800m_update_row )
// mc6845_interface crtc_intf
//-------------------------------------------------
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
ABC800_CHAR_WIDTH,
NULL,
abc800m_update_row,
diff --git a/src/mess/video/abc802.c b/src/mess/video/abc802.c
index 23a31070c5e..1de11f54cd3 100644
--- a/src/mess/video/abc802.c
+++ b/src/mess/video/abc802.c
@@ -187,9 +187,10 @@ WRITE_LINE_MEMBER( abc802_state::vs_w )
// mc6845_interface crtc_intf
//-------------------------------------------------
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
ABC800_CHAR_WIDTH,
NULL,
abc802_update_row,
diff --git a/src/mess/video/abc806.c b/src/mess/video/abc806.c
index ce669fed146..06990bfaf8d 100644
--- a/src/mess/video/abc806.c
+++ b/src/mess/video/abc806.c
@@ -409,9 +409,10 @@ WRITE_LINE_MEMBER( abc806_state::vs_w )
// mc6845_interface crtc_intf
//-------------------------------------------------
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
ABC800_CHAR_WIDTH,
NULL,
abc806_update_row,
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c
index 4ccca5f2370..99289035552 100644
--- a/src/mess/video/bbc.c
+++ b/src/mess/video/bbc.c
@@ -281,9 +281,10 @@ WRITE_LINE_MEMBER(bbc_state::bbc_vsync)
}
-const mc6845_interface bbc_mc6845_intf =
+MC6845_INTERFACE( bbc_mc6845_intf )
{
"screen", /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
vid_update_row, /* update_row */
diff --git a/src/mess/video/dgn_beta.c b/src/mess/video/dgn_beta.c
index 421c3aa1563..6929f958a18 100644
--- a/src/mess/video/dgn_beta.c
+++ b/src/mess/video/dgn_beta.c
@@ -256,9 +256,10 @@ WRITE_LINE_MEMBER(dgn_beta_state::dgnbeta_vsync_changed)
dgn_beta_frame_interrupt(machine(), state);
}
-const mc6845_interface dgnbeta_crtc6845_interface =
+MC6845_INTERFACE( dgnbeta_crtc6845_interface )
{
"screen",
+ false,
16 /*?*/,
NULL,
dgnbeta_update_row,
diff --git a/src/mess/video/isa_cga.c b/src/mess/video/isa_cga.c
index 3b48532d003..1ad9f3f6487 100644
--- a/src/mess/video/isa_cga.c
+++ b/src/mess/video/isa_cga.c
@@ -604,9 +604,10 @@ static MC6845_UPDATE_ROW( cga_update_row )
}
-static const mc6845_interface mc6845_cga_intf =
+static MC6845_INTERFACE( mc6845_cga_intf )
{
CGA_SCREEN_NAME, /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
cga_update_row, /* update_row */
diff --git a/src/mess/video/isa_mda.c b/src/mess/video/isa_mda.c
index b388e50f1cc..c50cb208313 100644
--- a/src/mess/video/isa_mda.c
+++ b/src/mess/video/isa_mda.c
@@ -74,9 +74,11 @@ static GFXDECODE_START( pcmda )
GFXDECODE_ENTRY( "mda:gfx1", 0x1000, pc_8_charlayout, 1, 1 )
GFXDECODE_END
-static const mc6845_interface mc6845_mda_intf =
+
+static MC6845_INTERFACE( mc6845_mda_intf )
{
MDA_SCREEN_NAME, /* screen number */
+ false, /* show border area */
9, /* number of pixels per video memory address */
NULL, /* begin_update */
mda_update_row, /* update_row */
@@ -496,9 +498,10 @@ allow this.
The divder/pixels per 6845 clock is 9 for text mode and 16 for graphics mode.
*/
-static const mc6845_interface mc6845_hercules_intf =
+static MC6845_INTERFACE( mc6845_hercules_intf )
{
HERCULES_SCREEN_NAME, /* screen number */
+ false, /* show border area */
9, /* number of pixels per video memory address */
NULL, /* begin_update */
mda_update_row, /* update_row */
diff --git a/src/mess/video/mbc55x.c b/src/mess/video/mbc55x.c
index f21fb04416d..9c6efbac332 100644
--- a/src/mess/video/mbc55x.c
+++ b/src/mess/video/mbc55x.c
@@ -158,9 +158,10 @@ WRITE_LINE_MEMBER( mbc55x_state::vid_vsync_changed )
{
}
-const mc6845_interface mb55x_mc6845_intf =
+MC6845_INTERFACE( mb55x_mc6845_intf )
{
SCREEN_TAG, /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
vid_update_row, /* update_row */
diff --git a/src/mess/video/pc1512.c b/src/mess/video/pc1512.c
index 5be5670b07c..c3fd5f695e7 100644
--- a/src/mess/video/pc1512.c
+++ b/src/mess/video/pc1512.c
@@ -526,9 +526,10 @@ static MC6845_UPDATE_ROW( pc1512_update_row )
}
}
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
8,
NULL,
pc1512_update_row,
diff --git a/src/mess/video/pc1640.c b/src/mess/video/pc1640.c
index 0c32e588838..fa4d7a123b4 100644
--- a/src/mess/video/pc1640.c
+++ b/src/mess/video/pc1640.c
@@ -347,9 +347,10 @@ static MC6845_UPDATE_ROW( pc1640_update_row )
{
}
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
8,
NULL,
pc1640_update_row,
diff --git a/src/mess/video/pc8401a.c b/src/mess/video/pc8401a.c
index 67e952c0182..8b6a2c34750 100644
--- a/src/mess/video/pc8401a.c
+++ b/src/mess/video/pc8401a.c
@@ -55,9 +55,11 @@ static MC6845_UPDATE_ROW( pc8441a_update_row )
{
}
-static const mc6845_interface pc8441a_mc6845_interface =
+
+static MC6845_INTERFACE( pc8441a_mc6845_interface )
{
CRT_SCREEN_TAG,
+ false,
6,
NULL,
pc8441a_update_row,
diff --git a/src/mess/video/pc_aga.c b/src/mess/video/pc_aga.c
index dc5f9af8b4e..723b16e56c2 100644
--- a/src/mess/video/pc_aga.c
+++ b/src/mess/video/pc_aga.c
@@ -28,8 +28,10 @@ static WRITE_LINE_DEVICE_HANDLER( aga_vsync_changed );
static VIDEO_START( pc200 );
-static const mc6845_interface mc6845_aga_intf = {
+static MC6845_INTERFACE( mc6845_aga_intf )
+{
AGA_SCREEN_NAME, /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
aga_update_row, /* update_row */
diff --git a/src/mess/video/pc_t1t.c b/src/mess/video/pc_t1t.c
index ab1c3115f0a..afd14a20d2a 100644
--- a/src/mess/video/pc_t1t.c
+++ b/src/mess/video/pc_t1t.c
@@ -29,8 +29,10 @@ static WRITE_LINE_DEVICE_HANDLER( t1000_vsync_changed );
static WRITE_LINE_DEVICE_HANDLER( pcjr_vsync_changed );
-static const mc6845_interface mc6845_t1000_intf = {
+static MC6845_INTERFACE( mc6845_t1000_intf )
+{
T1000_SCREEN_NAME, /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
t1000_update_row, /* update_row */
@@ -57,8 +59,10 @@ MACHINE_CONFIG_FRAGMENT( pcvideo_t1000 )
MACHINE_CONFIG_END
-static const mc6845_interface mc6845_pcjr_intf = {
+static MC6845_INTERFACE( mc6845_pcjr_intf )
+{
T1000_SCREEN_NAME, /* screen number */
+ false, /* show border area */
8, /* numbers of pixels per video memory address */
NULL, /* begin_update */
t1000_update_row, /* update_row */
diff --git a/src/mess/video/v1050.c b/src/mess/video/v1050.c
index df9c6006a8b..f70a2a39395 100644
--- a/src/mess/video/v1050.c
+++ b/src/mess/video/v1050.c
@@ -93,9 +93,10 @@ WRITE_LINE_MEMBER( v1050_state::crtc_vs_w )
set_interrupt(INT_VSYNC, state);
}
-static const mc6845_interface crtc_intf =
+static MC6845_INTERFACE( crtc_intf )
{
SCREEN_TAG,
+ false,
8,
NULL,
v1050_update_row,