src/mess/drivers/jupiter.c
| r4333 | r4334 | |
| 242 | 242 | jupiter_charram[offset] = data; |
| 243 | 243 | |
| 244 | 244 | /* 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); |
| 247 | 248 | } |
| 248 | 249 | |
| 249 | 250 | |
| r4333 | r4334 | |
| 283 | 284 | int code = videoram[offs]; |
| 284 | 285 | int sx, sy; |
| 285 | 286 | |
| 286 | | sy = (offs / 32) * 8; |
| 287 | | sx = (offs % 32) * 8; |
| 287 | sy = (offs / 32) << 3; |
| 288 | sx = (offs % 32) << 3; |
| 288 | 289 | |
| 289 | 290 | drawgfx(bitmap, ( code & 0x80 ) ? screen->machine->gfx[1] : screen->machine->gfx[0], |
| 290 | 291 | code & 0x7f, 0, 0,0, sx,sy, NULL, TRANSPARENCY_NONE, 0); |
| r4333 | r4334 | |
| 293 | 294 | return 0; |
| 294 | 295 | } |
| 295 | 296 | |
| 297 | static DRIVER_INIT( jupiter ) |
| 298 | { |
| 299 | jupiter_charram = memory_region(machine, "main")+0x2c00; |
| 300 | } |
| 296 | 301 | |
| 297 | 302 | static const cassette_config jupiter_cassette_config = |
| 298 | 303 | { |
| r4333 | r4334 | |
| 344 | 349 | ROM_END |
| 345 | 350 | |
| 346 | 351 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME */ |
| 347 | | COMP( 1981, jupiter, 0, 0, jupiter, jupiter, 0, 0, "Cantab", "Jupiter Ace" , 0) |
| 352 | COMP( 1981, jupiter, 0, 0, jupiter, jupiter, jupiter, 0, "Cantab", "Jupiter Ace" , 0) |