trunk/src/mame/drivers/savquest.c
r23754 | r23755 | |
36 | 36 | #include "machine/pckeybrd.h" |
37 | 37 | #include "machine/idectrl.h" |
38 | 38 | #include "video/pc_vga.h" |
| 39 | #include "video/voodoo.h" |
39 | 40 | |
40 | 41 | |
41 | 42 | class savquest_state : public pcat_base_state |
r23754 | r23755 | |
78 | 79 | DECLARE_READ32_MEMBER(parallel_port_r); |
79 | 80 | DECLARE_WRITE32_MEMBER(parallel_port_w); |
80 | 81 | |
| 82 | DECLARE_WRITE_LINE_MEMBER(vblank_assert); |
| 83 | |
81 | 84 | protected: |
82 | 85 | |
83 | 86 | |
r23754 | r23755 | |
590 | 593 | membank("bios_ec000")->set_base(memregion("bios")->base() + 0x2c000); |
591 | 594 | } |
592 | 595 | |
| 596 | WRITE_LINE_MEMBER(savquest_state::vblank_assert) |
| 597 | { |
| 598 | } |
| 599 | |
| 600 | static const voodoo_config voodoo_intf = |
| 601 | { |
| 602 | 2, // fbmem; |
| 603 | 4,// tmumem0; |
| 604 | 4,// tmumem1; |
| 605 | "screen",// screen; |
| 606 | "maincpu",// cputag; |
| 607 | DEVCB_DRIVER_LINE_MEMBER(savquest_state,vblank_assert),// vblank; |
| 608 | DEVCB_NULL// stall; |
| 609 | }; |
| 610 | |
593 | 611 | static MACHINE_CONFIG_START( savquest, savquest_state ) |
594 | 612 | MCFG_CPU_ADD("maincpu", PENTIUM, 450000000) // actually Pentium II 450 |
595 | 613 | MCFG_CPU_PROGRAM_MAP(savquest_map) |
r23754 | r23755 | |
606 | 624 | |
607 | 625 | /* video hardware */ |
608 | 626 | MCFG_FRAGMENT_ADD( pcvideo_s3_vga ) |
| 627 | |
| 628 | MCFG_3DFX_VOODOO_2_ADD("voodoo", STD_VOODOO_2_CLOCK, voodoo_intf) |
609 | 629 | MACHINE_CONFIG_END |
610 | 630 | |
611 | 631 | ROM_START( savquest ) |