Previous 15994 Revisions Next

r2364 Saturday 12th April, 2008 at 02:41:17 UTC by Robbbert
[APPLE1] Replaced palette with standard black_and_white.
[src/mess/drivers]apple1.c

src/mess/drivers/apple1.c
r2363r2364
126126   GFXDECODE_ENTRY( REGION_GFX1, 0x0000, apple1_charlayout, 0, 1 )
127127GFXDECODE_END
128128
129/* Monochrome monitors were not easy to get when the Apple I was
130   introduced, so most systems used a television display with an RF
131   modulator.  Thus white seems like a more accurate foreground color
132   than green. */
133
134static const rgb_t apple1_palette[] =
135{
136   RGB_BLACK,
137   RGB_WHITE
138};
139
140static PALETTE_INIT( apple1 )
141{
142   palette_set_colors(machine, 0, apple1_palette, ARRAY_LENGTH(apple1_palette));
143}
144
145129/* keyboard input */
146130/*
147131   It's very likely that the keyboard assgnments are totally wrong: the code in machine/apple1.c
r2363r2364
245229   MDRV_SCREEN_SIZE(40 * 7, 24 * 8)
246230   MDRV_SCREEN_VISIBLE_AREA(0, 40 * 7 - 1, 0, 24 * 8 - 1)
247231   MDRV_GFXDECODE(apple1)
248   MDRV_PALETTE_LENGTH(ARRAY_LENGTH(apple1_palette))
249   MDRV_PALETTE_INIT(apple1)
232   MDRV_PALETTE_LENGTH(2)
233   MDRV_PALETTE_INIT(black_and_white)
250234
251235   MDRV_VIDEO_START(apple1)
252236   MDRV_VIDEO_UPDATE(apple1)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team