src/mess/drivers/super80.c
| r14009 | r14010 | |
| 617 | 617 | }; |
| 618 | 618 | |
| 619 | 619 | |
| 620 | | static DEVICE_IMAGE_LOAD( super80_cart ) |
| 621 | | { |
| 622 | | image.fread( image.device().machine().region("maincpu")->base() + 0xc000, 0x3000); |
| 623 | | |
| 624 | | return IMAGE_INIT_PASS; |
| 625 | | } |
| 626 | | |
| 627 | 620 | static const mc6845_interface super80v_crtc = { |
| 628 | 621 | "screen", /* name of screen */ |
| 629 | 622 | SUPER80V_DOTS, /* number of dots per character */ |
| r14009 | r14010 | |
| 637 | 630 | NULL |
| 638 | 631 | }; |
| 639 | 632 | |
| 640 | | static MACHINE_CONFIG_FRAGMENT( super80_cartslot ) |
| 641 | | MCFG_CARTSLOT_ADD("cart") |
| 642 | | MCFG_CARTSLOT_EXTENSION_LIST("rom") |
| 643 | | MCFG_CARTSLOT_NOT_MANDATORY |
| 644 | | MCFG_CARTSLOT_LOAD(super80_cart) |
| 645 | | MACHINE_CONFIG_END |
| 646 | 633 | |
| 647 | 634 | static MACHINE_CONFIG_START( super80, super80_state ) |
| 648 | 635 | /* basic machine hardware */ |
| r14009 | r14010 | |
| 680 | 667 | |
| 681 | 668 | /* cassette */ |
| 682 | 669 | MCFG_CASSETTE_ADD( CASSETTE_TAG, super80_cassette_interface ) |
| 683 | | |
| 684 | | /* cartridge */ |
| 685 | | MCFG_FRAGMENT_ADD(super80_cartslot) |
| 686 | 670 | MACHINE_CONFIG_END |
| 687 | 671 | |
| 688 | 672 | static MACHINE_CONFIG_DERIVED( super80d, super80 ) |
| r14009 | r14010 | |
| 752 | 736 | |
| 753 | 737 | /* cassette */ |
| 754 | 738 | MCFG_CASSETTE_ADD( CASSETTE_TAG, super80_cassette_interface ) |
| 755 | | |
| 756 | | /* cartridge */ |
| 757 | | MCFG_FRAGMENT_ADD(super80_cartslot) |
| 758 | 739 | MACHINE_CONFIG_END |
| 759 | 740 | |
| 760 | 741 | static MACHINE_CONFIG_DERIVED( super80r, super80v ) |