Previous 15994 Revisions Next

r13853 Wednesday 4th January, 2012 at 12:11:04 UTC by Sandro Ronco
dmv: added F4 display. (no whatsnew)
[src/mess/drivers]dmv.c

src/mess/drivers/dmv.c
r13852r13853
4444    return 0;
4545}
4646
47/* F4 Character Displayer */
48static const gfx_layout dmv_charlayout =
49{
50   8, 16,               /* 8 x 16 characters */
51   128,               /* 128 characters */
52   1,               /* 1 bits per pixel */
53   { 0 },               /* no bitplanes */
54   /* x offsets */
55   { 7, 6, 5, 4, 3, 2, 1, 0 },
56   /* y offsets */
57   { STEP16(0,8) },
58   8*16               /* every char takes 16 bytes */
59};
60
61static GFXDECODE_START( dmv )
62   GFXDECODE_ENTRY("maincpu", 0x1000, dmv_charlayout, 0, 1)
63GFXDECODE_END
64
4765static MACHINE_CONFIG_START( dmv, dmv_state )
4866    /* basic machine hardware */
4967    MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz)
r13852r13853
6179    MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
6280    MCFG_SCREEN_UPDATE(dmv)
6381
82   MCFG_GFXDECODE(dmv)
6483    MCFG_PALETTE_LENGTH(2)
6584    MCFG_PALETTE_INIT(black_and_white)
6685

Previous 15994 Revisions Next


© 1998-2018 The MESS Team