trunk/src/mess/drivers/at.c
| r32815 | r32816 | |
| 428 | 428 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 429 | 429 | MACHINE_CONFIG_END |
| 430 | 430 | |
| 431 | static MACHINE_CONFIG_FRAGMENT( at_softlists ) |
| 432 | /* software lists */ |
| 433 | MCFG_SOFTWARE_LIST_ADD("pc_disk_list","ibm5150") |
| 434 | MCFG_SOFTWARE_LIST_ADD("xt_disk_list","ibm5160_flop") |
| 435 | MCFG_SOFTWARE_LIST_ADD("at_disk_list","ibm5170") |
| 436 | MCFG_SOFTWARE_LIST_ADD("at_cdrom_list","ibm5170_cdrom") |
| 437 | MACHINE_CONFIG_END |
| 438 | |
| 431 | 439 | static MACHINE_CONFIG_START( ibm5170, at_state ) |
| 432 | 440 | /* basic machine hardware */ |
| 433 | 441 | MCFG_CPU_ADD("maincpu", I80286, XTAL_12MHz/2 /*6000000*/) |
| r32815 | r32816 | |
| 447 | 455 | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "ide", false) |
| 448 | 456 | MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_IBM_PC_AT_84) |
| 449 | 457 | |
| 450 | | /* software lists */ |
| 451 | | MCFG_SOFTWARE_LIST_ADD("pc_disk_list","ibm5150") |
| 452 | | MCFG_SOFTWARE_LIST_ADD("xt_disk_list","ibm5160_flop") |
| 453 | | MCFG_SOFTWARE_LIST_ADD("at_disk_list","ibm5170") |
| 454 | | |
| 455 | 458 | /* internal ram */ |
| 456 | 459 | MCFG_RAM_ADD(RAM_TAG) |
| 457 | 460 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 458 | 461 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 462 | |
| 463 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 459 | 464 | MACHINE_CONFIG_END |
| 460 | 465 | |
| 461 | 466 | |
| r32815 | r32816 | |
| 491 | 496 | MCFG_RAM_ADD(RAM_TAG) |
| 492 | 497 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 493 | 498 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 499 | |
| 500 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 494 | 501 | MACHINE_CONFIG_END |
| 495 | 502 | |
| 496 | 503 | static MACHINE_CONFIG_START( ibm5162, at_state ) |
| r32815 | r32816 | |
| 516 | 523 | MCFG_RAM_ADD(RAM_TAG) |
| 517 | 524 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 518 | 525 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 526 | |
| 527 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 519 | 528 | MACHINE_CONFIG_END |
| 520 | 529 | |
| 521 | 530 | |
| r32815 | r32816 | |
| 542 | 551 | MCFG_RAM_ADD(RAM_TAG) |
| 543 | 552 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 544 | 553 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 554 | |
| 555 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 545 | 556 | MACHINE_CONFIG_END |
| 546 | 557 | |
| 547 | 558 | |
| r32815 | r32816 | |
| 568 | 579 | MCFG_RAM_ADD(RAM_TAG) |
| 569 | 580 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 570 | 581 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 582 | |
| 583 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 571 | 584 | MACHINE_CONFIG_END |
| 572 | 585 | |
| 573 | 586 | static MACHINE_CONFIG_START( atvga, at_state ) |
| r32815 | r32816 | |
| 592 | 605 | MCFG_RAM_ADD(RAM_TAG) |
| 593 | 606 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 594 | 607 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 608 | |
| 609 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 595 | 610 | MACHINE_CONFIG_END |
| 596 | 611 | |
| 597 | 612 | static MACHINE_CONFIG_START( xb42639, at_state ) |
| r32815 | r32816 | |
| 615 | 630 | MCFG_RAM_ADD(RAM_TAG) |
| 616 | 631 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 617 | 632 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") |
| 633 | |
| 634 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 618 | 635 | MACHINE_CONFIG_END |
| 619 | 636 | |
| 620 | 637 | |
| r32815 | r32816 | |
| 645 | 662 | MCFG_RAM_DEFAULT_SIZE("1664K") |
| 646 | 663 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M,16M,32M,64M,128M,256M") |
| 647 | 664 | |
| 648 | | /* software lists */ |
| 649 | | MCFG_SOFTWARE_LIST_ADD("pc_disk_list","ibm5150") |
| 650 | | MCFG_SOFTWARE_LIST_ADD("xt_disk_list","ibm5160_flop") |
| 651 | | MCFG_SOFTWARE_LIST_ADD("at_disk_list","ibm5170") |
| 652 | | MCFG_SOFTWARE_LIST_ADD("at_cdrom_list","ibm5170_cdrom") |
| 665 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 653 | 666 | MACHINE_CONFIG_END |
| 654 | 667 | |
| 655 | 668 | |
| r32815 | r32816 | |
| 688 | 701 | MCFG_RAM_ADD(RAM_TAG) |
| 689 | 702 | MCFG_RAM_DEFAULT_SIZE("1M") |
| 690 | 703 | MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,16M") |
| 704 | |
| 705 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 691 | 706 | MACHINE_CONFIG_END |
| 692 | 707 | |
| 693 | 708 | |
| r32815 | r32816 | |
| 725 | 740 | MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa4", pc_isa16_cards, NULL, false) |
| 726 | 741 | MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371ab:isabus","isa5", pc_isa16_cards, NULL, false) |
| 727 | 742 | MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL) |
| 743 | |
| 744 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 728 | 745 | MACHINE_CONFIG_END |
| 729 | 746 | |
| 730 | 747 | static MACHINE_CONFIG_START( at586x3, at586_state ) |
| r32815 | r32816 | |
| 749 | 766 | MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa4", pc_isa16_cards, NULL, false) |
| 750 | 767 | MCFG_ISA16_SLOT_ADD(":pcibus:1:i82371sb:isabus","isa5", pc_isa16_cards, NULL, false) |
| 751 | 768 | MCFG_PC_KBDC_SLOT_ADD("pc_kbdc", "kbd", pc_at_keyboards, STR_KBD_MICROSOFT_NATURAL) |
| 769 | |
| 770 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 752 | 771 | MACHINE_CONFIG_END |
| 753 | 772 | |
| 754 | 773 | static MACHINE_CONFIG_DERIVED( at386sx, atvga ) |
| r32815 | r32816 | |
| 839 | 858 | MCFG_PALETTE_ADD("palette", 256) // todo: really needed? |
| 840 | 859 | |
| 841 | 860 | /* software lists */ |
| 842 | | MCFG_SOFTWARE_LIST_ADD("pc_disk_list","ibm5150") |
| 843 | | MCFG_SOFTWARE_LIST_ADD("xt_disk_list","ibm5160_flop") |
| 844 | | MCFG_SOFTWARE_LIST_ADD("at_disk_list","ibm5170") |
| 845 | | MCFG_SOFTWARE_LIST_ADD("at_cdrom_list","ibm5170_cdrom") |
| 861 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 846 | 862 | MCFG_SOFTWARE_LIST_ADD("disk_list","megapc") |
| 847 | 863 | MACHINE_CONFIG_END |
| 848 | 864 | |
| r32815 | r32816 | |
| 881 | 897 | MCFG_RAM_EXTRA_OPTIONS("2M,8M,15M,16M,32M,64M,128M,256M") |
| 882 | 898 | |
| 883 | 899 | /* software lists */ |
| 884 | | MCFG_SOFTWARE_LIST_ADD("pc_disk_list","ibm5150") |
| 885 | | MCFG_SOFTWARE_LIST_ADD("xt_disk_list","ibm5160_flop") |
| 886 | | MCFG_SOFTWARE_LIST_ADD("at_disk_list","ibm5170") |
| 887 | | MCFG_SOFTWARE_LIST_ADD("at_cdrom_list","ibm5170_cdrom") |
| 900 | MCFG_FRAGMENT_ADD( at_softlists ) |
| 888 | 901 | MCFG_SOFTWARE_LIST_ADD("disk_list","megapc") |
| 889 | 902 | MACHINE_CONFIG_END |
| 890 | 903 | |