diff options
author | Fabio Priuli <etabeta78@users.noreply.github.com> | 2014-05-01 08:36:28 +0000 |
---|---|---|
committer | Fabio Priuli <etabeta78@users.noreply.github.com> | 2014-05-01 08:36:28 +0000 |
commit | cc8edf5ac2faa4e0bd54c3b9715871870cd61cdf (patch) | |
tree | 6a686dca4d3758b6db3d5dcce1b5aca00b16f8bf /src/mame/drivers/jubilee.c | |
parent | ea02fd06a5883097ad970c81219d9d8124002853 (diff) |
mc6845: converted to devcb2, delegates and inline configs. nw.
while at it, cleaned up the args of the mc6845 delegates as well
(no need to pass back and forth pieces of the driver class, now
that delegates belong to it as well)
even if I tested the changes extensively, I might have missed
something among the 177 source files using this, so please report
any regressions you see :)
Diffstat (limited to 'src/mame/drivers/jubilee.c')
-rw-r--r-- | src/mame/drivers/jubilee.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/src/mame/drivers/jubilee.c b/src/mame/drivers/jubilee.c index 33bbbdf82d9..9240bb9ae94 100644 --- a/src/mame/drivers/jubilee.c +++ b/src/mame/drivers/jubilee.c @@ -650,25 +650,6 @@ static GFXDECODE_START( jubileep ) /* 4 different graphics banks */ GFXDECODE_END -/*********************** -* CRTC Interface * -************************/ - -static MC6845_INTERFACE( mc6845_intf ) -{ - false, /* show border area */ - 0, 0, 0, 0, /* visarea adjustment */ - 8, /* number of pixels per video memory address */ - NULL, /* before pixel update callback */ - NULL, /* row update callback */ - NULL, /* after pixel update callback */ - DEVCB_NULL, /* callback for display state changes */ - DEVCB_NULL, /* callback for cursor state changes */ - DEVCB_NULL, /* HSYNC callback */ - DEVCB_NULL, /* VSYNC callback */ - NULL /* update address callback */ -}; - /************************* * Machine Drivers * *************************/ @@ -693,8 +674,9 @@ static MACHINE_CONFIG_START( jubileep, jubilee_state ) MCFG_GFXDECODE_ADD("gfxdecode", "palette", jubileep) MCFG_PALETTE_ADD("palette",8) - MCFG_MC6845_ADD("crtc", MC6845, "screen", CRTC_CLOCK, mc6845_intf) - + MCFG_MC6845_ADD("crtc", MC6845, "screen", CRTC_CLOCK) + MCFG_MC6845_SHOW_BORDER_AREA(false) + MCFG_MC6845_CHAR_WIDTH(8) MACHINE_CONFIG_END |