Previous 199869 Revisions Next

r23755 Monday 17th June, 2013 at 19:52:22 UTC by smf
added voodoo 2 device, but not hooked it up to the memory map as it's too slow for me to work on (nw)
[src/mame/drivers]savquest.c

trunk/src/mame/drivers/savquest.c
r23754r23755
3636#include "machine/pckeybrd.h"
3737#include "machine/idectrl.h"
3838#include "video/pc_vga.h"
39#include "video/voodoo.h"
3940
4041
4142class savquest_state : public pcat_base_state
r23754r23755
7879   DECLARE_READ32_MEMBER(parallel_port_r);
7980   DECLARE_WRITE32_MEMBER(parallel_port_w);
8081
82   DECLARE_WRITE_LINE_MEMBER(vblank_assert);
83
8184protected:
8285
8386
r23754r23755
590593   membank("bios_ec000")->set_base(memregion("bios")->base() + 0x2c000);
591594}
592595
596WRITE_LINE_MEMBER(savquest_state::vblank_assert)
597{
598}
599
600static 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
593611static MACHINE_CONFIG_START( savquest, savquest_state )
594612   MCFG_CPU_ADD("maincpu", PENTIUM, 450000000) // actually Pentium II 450
595613   MCFG_CPU_PROGRAM_MAP(savquest_map)
r23754r23755
606624
607625   /* video hardware */
608626   MCFG_FRAGMENT_ADD( pcvideo_s3_vga )
627
628   MCFG_3DFX_VOODOO_2_ADD("voodoo", STD_VOODOO_2_CLOCK, voodoo_intf)
609629MACHINE_CONFIG_END
610630
611631ROM_START( savquest )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team