src/mess/video/pc8801.c
| r1934 | r1935 | |
| 5 | 5 | ***************************************************************************/ |
| 6 | 6 | |
| 7 | 7 | #include "driver.h" |
| 8 | | #include "deprecat.h" |
| 9 | 8 | #include "includes/pc8801.h" |
| 10 | 9 | |
| 11 | 10 | /* NPW 23-Oct-2001 - Adding this so that it compiles */ |
| r1934 | r1935 | |
| 91 | 90 | *BITMAP_ADDR16(bitmap, y, x) = (UINT16)color; |
| 92 | 91 | } |
| 93 | 92 | |
| 94 | | void pc8801_video_init (int hireso) |
| 93 | void pc8801_video_init (running_machine *machine, int hireso) |
| 95 | 94 | { |
| 96 | | wbm1 = auto_bitmap_alloc(Machine->screen[0].width, Machine->screen[0].height, BITMAP_FORMAT_INDEXED16); |
| 97 | | wbm2 = auto_bitmap_alloc(Machine->screen[0].width, Machine->screen[0].height, BITMAP_FORMAT_INDEXED16); |
| 95 | wbm1 = auto_bitmap_alloc(machine->screen[0].width, machine->screen[0].height, BITMAP_FORMAT_INDEXED16); |
| 96 | wbm2 = auto_bitmap_alloc(machine->screen[0].width, machine->screen[0].height, BITMAP_FORMAT_INDEXED16); |
| 98 | 97 | pc8801_is_24KHz=hireso; |
| 99 | 98 | crtcON=0; |
| 100 | 99 | textON=1; |
| r1934 | r1935 | |
| 911 | 910 | r[offset] = (data & 2) ? 0xff : 0x00; |
| 912 | 911 | g[offset] = (data & 4) ? 0xff : 0x00; |
| 913 | 912 | } |
| 914 | | palette_set_color_rgb(Machine, palno,r[offset],g[offset],b[offset]); |
| 913 | palette_set_color_rgb(machine, palno,r[offset],g[offset],b[offset]); |
| 915 | 914 | } |