src/emu/video/saa5050.c
| r8716 | r8717 | |
| 319 | 319 | { |
| 320 | 320 | if (saa5050->flags & SAA5050_DBLHI) |
| 321 | 321 | { |
| 322 | | drawgfx_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 1], code, colour, 0, 0, sx * 6, ssy * 10); |
| 323 | | drawgfx_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 2], code, colour, 0, 0, sx * 6, (ssy + 1) * 10); |
| 322 | drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 1], code, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000); |
| 323 | drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 2], code, colour, 0, 0, sx * 12, (ssy + 1) * 20, 0x20000, 0x20000); |
| 324 | 324 | } |
| 325 | 325 | else |
| 326 | 326 | { |
| 327 | | drawgfx_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 0], code, colour, 0, 0, sx * 6, ssy * 10); |
| 327 | drawgfxzoom_opaque(bitmap, cliprect, saa5050->screen->machine->gfx[saa5050->gfxnum + 0], code, colour, 0, 0, sx * 12, ssy * 20, 0x20000, 0x20000); |
| 328 | 328 | } |
| 329 | 329 | } |
| 330 | 330 | } |
src/mess/video/p2000m.c
| r8716 | r8717 | |
| 25 | 25 | |
| 26 | 26 | for (offs = 0; offs < 80 * 24; offs++) |
| 27 | 27 | { |
| 28 | | sy = (offs / 80) * 10; |
| 29 | | sx = (offs % 80) * 6; |
| 28 | sy = (offs / 80) * 20; |
| 29 | sx = (offs % 80) * 12; |
| 30 | 30 | |
| 31 | 31 | if ((frame_count > 25) && (screen->machine->generic.videoram.u8[offs + 2048] & 0x40)) |
| 32 | 32 | code = 32; |
| r8716 | r8717 | |
| 42 | 42 | if (code < 32) code = 32; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | | drawgfx_opaque (bitmap, NULL, screen->machine->gfx[0], code, |
| 46 | | screen->machine->generic.videoram.u8[offs + 2048] & 0x08 ? 0 : 1, 0, 0, sx, sy); |
| 45 | drawgfxzoom_opaque (bitmap, NULL, screen->machine->gfx[0], code, |
| 46 | screen->machine->generic.videoram.u8[offs + 2048] & 0x08 ? 0 : 1, 0, 0, sx, sy, 0x20000, 0x20000); |
| 47 | 47 | |
| 48 | 48 | if (screen->machine->generic.videoram.u8[offs] & 0x80) |
| 49 | 49 | { |
| 50 | | for (loop = 0; loop < 6; loop++) |
| 50 | for (loop = 0; loop < 12; loop++) |
| 51 | 51 | { |
| 52 | | *BITMAP_ADDR16(bitmap, sy + 9, sx + loop) = 0; /* cursor */ |
| 52 | *BITMAP_ADDR16(bitmap, sy + 18, sx + loop) = 0; /* cursor */ |
| 53 | *BITMAP_ADDR16(bitmap, sy + 19, sx + loop) = 0; /* cursor */ |
| 53 | 54 | } |
| 54 | 55 | } |
| 55 | 56 | } |
src/mess/drivers/a6809.c
| r8716 | r8717 | |
| 54 | 54 | static const mc6845_interface a6809_crtc6845_interface = |
| 55 | 55 | { |
| 56 | 56 | "screen", |
| 57 | | 6 /*?*/, |
| 57 | 12 /*?*/, |
| 58 | 58 | NULL, |
| 59 | 59 | a6809_update_row, |
| 60 | 60 | NULL, |
| r8716 | r8717 | |
| 104 | 104 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(SAA5050_VBLANK)) |
| 105 | 105 | |
| 106 | 106 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 107 | | MDRV_SCREEN_SIZE(40 * 6, 25 * 10) |
| 108 | | MDRV_SCREEN_VISIBLE_AREA(0, 40 * 6 - 1, 0, 25 * 10 - 1) |
| 107 | MDRV_SCREEN_SIZE(40 * 12, 24 * 20) |
| 108 | MDRV_SCREEN_VISIBLE_AREA(0, 40 * 12 - 1, 0, 24 * 20 - 1) |
| 109 | 109 | MDRV_GFXDECODE(saa5050) |
| 110 | 110 | MDRV_PALETTE_LENGTH(128) |
| 111 | 111 | MDRV_PALETTE_INIT(saa5050) |
src/mess/drivers/p2000t.c
| r8716 | r8717 | |
| 243 | 243 | MDRV_QUANTUM_TIME(HZ(60)) |
| 244 | 244 | |
| 245 | 245 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 246 | | MDRV_SCREEN_SIZE(40 * 6, 24 * 10) |
| 247 | | MDRV_SCREEN_VISIBLE_AREA(0, 40 * 6 - 1, 0, 24 * 10 - 1) |
| 246 | MDRV_SCREEN_SIZE(40 * 12, 24 * 20) |
| 247 | MDRV_SCREEN_VISIBLE_AREA(0, 40 * 12 - 1, 0, 24 * 20 - 1) |
| 248 | 248 | MDRV_GFXDECODE(saa5050) |
| 249 | 249 | MDRV_PALETTE_LENGTH(128) |
| 250 | 250 | MDRV_PALETTE_INIT(saa5050) |
| r8716 | r8717 | |
| 274 | 274 | MDRV_SCREEN_REFRESH_RATE(50) |
| 275 | 275 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ |
| 276 | 276 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 277 | | MDRV_SCREEN_SIZE(80 * 6, 24 * 10) |
| 278 | | MDRV_SCREEN_VISIBLE_AREA(0, 80 * 6 - 1, 0, 24 * 10 - 1) |
| 277 | MDRV_SCREEN_SIZE(80 * 12, 24 * 20) |
| 278 | MDRV_SCREEN_VISIBLE_AREA(0, 80 * 12 - 1, 0, 24 * 20 - 1) |
| 279 | 279 | MDRV_GFXDECODE( p2000m ) |
| 280 | 280 | MDRV_PALETTE_LENGTH(4) |
| 281 | 281 | MDRV_PALETTE_INIT(p2000m) |