src/mess/drivers/apple1.c
| r2363 | r2364 | |
| 126 | 126 | GFXDECODE_ENTRY( REGION_GFX1, 0x0000, apple1_charlayout, 0, 1 ) |
| 127 | 127 | GFXDECODE_END |
| 128 | 128 | |
| 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 | | |
| 134 | | static const rgb_t apple1_palette[] = |
| 135 | | { |
| 136 | | RGB_BLACK, |
| 137 | | RGB_WHITE |
| 138 | | }; |
| 139 | | |
| 140 | | static PALETTE_INIT( apple1 ) |
| 141 | | { |
| 142 | | palette_set_colors(machine, 0, apple1_palette, ARRAY_LENGTH(apple1_palette)); |
| 143 | | } |
| 144 | | |
| 145 | 129 | /* keyboard input */ |
| 146 | 130 | /* |
| 147 | 131 | It's very likely that the keyboard assgnments are totally wrong: the code in machine/apple1.c |
| r2363 | r2364 | |
| 245 | 229 | MDRV_SCREEN_SIZE(40 * 7, 24 * 8) |
| 246 | 230 | MDRV_SCREEN_VISIBLE_AREA(0, 40 * 7 - 1, 0, 24 * 8 - 1) |
| 247 | 231 | 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) |
| 250 | 234 | |
| 251 | 235 | MDRV_VIDEO_START(apple1) |
| 252 | 236 | MDRV_VIDEO_UPDATE(apple1) |