Previous 15994 Revisions Next

r11271 Friday 22nd April, 2011 at 00:49:11 UTC by Robbbert
[LCMATE2] forgot to add F4 viewer (no whatsnew)
[src/mess/drivers]lcmate2.c

src/mess/drivers/lcmate2.c
r11270r11271
190190   NULL            // custom display layout
191191};
192192
193static const gfx_layout lcmate2_charlayout =
194{
195   5, 8,   /* 5 x 8 characters */
196   256,   /* 256 characters */
197   1,   /* 1 bits per pixel */
198   { 0 },   /* no bitplanes */
199   { 3, 4, 5, 6, 7},
200   { 0, 8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8},
201   8*8   /* 8 bytes */
202};
203
204static GFXDECODE_START( lcmate2 )
205   GFXDECODE_ENTRY( "hd44780", 0x0000, lcmate2_charlayout, 0, 1 )
206GFXDECODE_END
207
208
193209static RP5C01_INTERFACE( rtc_intf )
194210{
195211   DEVCB_NULL
r11270r11271
211227   MCFG_PALETTE_LENGTH(2)
212228   MCFG_PALETTE_INIT(lcmate2)
213229   MCFG_DEFAULT_LAYOUT(layout_lcd)
230   MCFG_GFXDECODE(lcmate2)
214231
215232   MCFG_HD44780_ADD("hd44780", lcmate2_display)
216233

Previous 15994 Revisions Next


© 1998-2018 The MESS Team