Previous 15994 Revisions Next

r4334 Monday 23rd February, 2009 at 11:43:09 UTC by Robbbert
[JUPITER] Fixed video broken since 0.129u1
[src/mess/drivers]jupiter.c

src/mess/drivers/jupiter.c
r4333r4334
242242   jupiter_charram[offset] = data;
243243
244244   /* decode character graphics again */
245   gfx_element_mark_dirty(space->machine->gfx[0], offset / 8);
246   gfx_element_mark_dirty(space->machine->gfx[1], offset / 8);
245   offset >>= 3;
246   gfx_element_mark_dirty(space->machine->gfx[0], offset);
247   gfx_element_mark_dirty(space->machine->gfx[1], offset);
247248}
248249
249250
r4333r4334
283284      int code = videoram[offs];
284285      int sx, sy;
285286
286      sy = (offs / 32) * 8;
287      sx = (offs % 32) * 8;
287      sy = (offs / 32) << 3;
288      sx = (offs % 32) << 3;
288289
289290      drawgfx(bitmap, ( code & 0x80 ) ? screen->machine->gfx[1] : screen->machine->gfx[0],
290291         code & 0x7f, 0, 0,0, sx,sy, NULL, TRANSPARENCY_NONE, 0);
r4333r4334
293294   return 0;
294295}
295296
297static DRIVER_INIT( jupiter )
298{
299   jupiter_charram = memory_region(machine, "main")+0x2c00;
300}
296301
297302static const cassette_config jupiter_cassette_config =
298303{
r4333r4334
344349ROM_END
345350
346351/*    YEAR  NAME      PARENT    COMPAT  MACHINE   INPUT     INIT      CONFIG    COMPANY   FULLNAME */
347COMP( 1981, jupiter,  0,      0,      jupiter,  jupiter,   0,        0,      "Cantab",  "Jupiter Ace" , 0)
352COMP( 1981, jupiter,  0,   0,   jupiter,  jupiter,  jupiter,  0,   "Cantab",  "Jupiter Ace" , 0)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team