Previous 15994 Revisions Next

r11318 Tuesday 26th April, 2011 at 02:19:27 UTC by Robbbert
terminal - changed to green (nw)
[src/mess/machine]terminal.c

src/mess/machine/terminal.c
r11317r11318
352352            }
353353
354354            /* Display a scanline of a character */
355            *p++ = ( gfx & 0x80 ) ? 1 : 0;
356            *p++ = ( gfx & 0x40 ) ? 1 : 0;
357            *p++ = ( gfx & 0x20 ) ? 1 : 0;
358            *p++ = ( gfx & 0x10 ) ? 1 : 0;
359            *p++ = ( gfx & 0x08 ) ? 1 : 0;
360            *p++ = ( gfx & 0x04 ) ? 1 : 0;
361            *p++ = ( gfx & 0x02 ) ? 1 : 0;
362            *p++ = ( gfx & 0x01 ) ? 1 : 0;
355            *p++ = BIT( gfx, 7 );
356            *p++ = BIT( gfx, 6 );
357            *p++ = BIT( gfx, 5 );
358            *p++ = BIT( gfx, 4 );
359            *p++ = BIT( gfx, 3 );
360            *p++ = BIT( gfx, 2 );
361            *p++ = BIT( gfx, 1 );
362            *p++ = BIT( gfx, 0 );
363363         }
364364      }
365365      ma+=TERMINAL_WIDTH;
r11317r11318
507507   MCFG_SCREEN_UPDATE(terminal)
508508
509509   MCFG_PALETTE_LENGTH(2)
510   MCFG_PALETTE_INIT(black_and_white)
510   MCFG_PALETTE_INIT(monochrome_green)
511511
512512   MCFG_VIDEO_START(terminal)
513513MACHINE_CONFIG_END

Previous 15994 Revisions Next


© 1998-2018 The MESS Team