Previous 15994 Revisions Next

r6011 Thursday 8th October, 2009 at 00:51:43 UTC by Angelo Salese
[PC98]: Fixed resolution
[src/mess/drivers]pc98.c

src/mess/drivers/pc98.c
r6010r6011
243243   int yi,xi;
244244   UINT8 *gfx_data = memory_region(screen->machine, "gfx1");
245245
246   for (y=0;y<24;y++)
246   for (y=0;y<25;y++)
247247   {
248248      for (x=0;x<40;x++)
249249      {
r6010r6011
643643   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
644644   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
645645   MDRV_SCREEN_SIZE(640, 480)
646   MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
646   MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 200-1)
647647   MDRV_PALETTE_LENGTH(8)
648648   MDRV_PALETTE_INIT(pc9801)
649649   MDRV_GFXDECODE(pc9801)
r6010r6011
665665   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
666666   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
667667   MDRV_SCREEN_SIZE(640, 480)
668   MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
668   MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 200-1)
669669   MDRV_PALETTE_LENGTH(2)
670670   MDRV_PALETTE_INIT(black_and_white)
671671

Previous 15994 Revisions Next


© 1998-2018 The MESS Team