src/mess/drivers/mbee.c
| r6743 | r6744 | |
| 331 | 331 | { NULL } |
| 332 | 332 | }; |
| 333 | 333 | |
| 334 | /**************************** F4 CHARACTER DISPLAYER */ |
| 335 | static const gfx_layout mbee_charlayout = |
| 336 | { |
| 337 | 8,16, /* 8 x 16 characters */ |
| 338 | 256, /* 256 characters */ |
| 339 | 1, /* 1 bits per pixel */ |
| 340 | { 0 }, /* no bitplanes */ |
| 341 | /* x offsets */ |
| 342 | { 0, 1, 2, 3, 4, 5, 6, 7 }, |
| 343 | /* y offsets */ |
| 344 | { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8, 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 }, |
| 345 | 8*16 /* every char takes 16 bytes */ |
| 346 | }; |
| 347 | |
| 348 | /* This will show the 128 characters in the ROM + whatever happens to be in the PCG */ |
| 349 | static GFXDECODE_START( mbee ) |
| 350 | GFXDECODE_ENTRY( "maincpu", 0x11000, mbee_charlayout, 0, 1 ) |
| 351 | GFXDECODE_END |
| 352 | |
| 353 | static GFXDECODE_START( mbeeic ) |
| 354 | GFXDECODE_ENTRY( "maincpu", 0x11000, mbee_charlayout, 0, 48 ) |
| 355 | GFXDECODE_END |
| 356 | |
| 334 | 357 | static FLOPPY_OPTIONS_START(mbee) |
| 335 | 358 | FLOPPY_OPTION(ss80, "ss80", "SS80 disk image", basicdsk_identify_default, basicdsk_construct_default, |
| 336 | 359 | HEADS([1]) |
| r6743 | r6744 | |
| 388 | 411 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 389 | 412 | MDRV_SCREEN_SIZE(64*8, 19*16) /* need at least 17 lines for NET */ |
| 390 | 413 | MDRV_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 0, 19*16-1) |
| 414 | |
| 415 | MDRV_GFXDECODE(mbee) |
| 391 | 416 | MDRV_PALETTE_LENGTH(2) |
| 392 | 417 | MDRV_PALETTE_INIT(black_and_white) |
| 393 | 418 | |
| r6743 | r6744 | |
| 427 | 452 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 428 | 453 | MDRV_SCREEN_SIZE(80*8, 310) |
| 429 | 454 | MDRV_SCREEN_VISIBLE_AREA(0, 80*8-1, 0, 19*16-1) |
| 455 | |
| 456 | MDRV_GFXDECODE(mbeeic) |
| 430 | 457 | MDRV_PALETTE_LENGTH(96) |
| 431 | 458 | MDRV_PALETTE_INIT(mbeeic) |
| 432 | 459 | |