trunk/src/emu/bus/isa/isa_cards.c
| r241434 | r241435 | |
| 19 | 19 | SLOT_INTERFACE("aga_pc200", ISA8_AGA_PC200) |
| 20 | 20 | SLOT_INTERFACE("ega", ISA8_EGA) |
| 21 | 21 | SLOT_INTERFACE("svga_et4k", ISA8_SVGA_ET4K) |
| 22 | SLOT_INTERFACE("tgui9680",ISA8_SVGA_TGUI9680) |
| 22 | 23 | SLOT_INTERFACE("com", ISA8_COM) |
| 23 | 24 | SLOT_INTERFACE("fdc", ISA8_FDC_SUPERIO) |
| 24 | 25 | SLOT_INTERFACE("fdc_xt", ISA8_FDC_XT) |
| r241434 | r241435 | |
| 57 | 58 | SLOT_INTERFACE("vga", ISA8_VGA) |
| 58 | 59 | SLOT_INTERFACE("svga_et4k", ISA8_SVGA_ET4K) |
| 59 | 60 | SLOT_INTERFACE("svga_dm",ISA8_SVGA_CIRRUS) |
| 61 | SLOT_INTERFACE("tgui9680",ISA8_SVGA_TGUI9680) |
| 60 | 62 | SLOT_INTERFACE("com", ISA8_COM) |
| 61 | 63 | SLOT_INTERFACE("comat", ISA8_COM_AT) |
| 62 | 64 | SLOT_INTERFACE("fdc", ISA8_FDC_AT) |
| r241434 | r241435 | |
| 91 | 93 | SLOT_INTERFACE("dms3d2kp", ISA16_DMS3D2KPRO) |
| 92 | 94 | SLOT_INTERFACE("gfxultra", ISA16_VGA_GFXULTRA) |
| 93 | 95 | SLOT_INTERFACE("gfxultrap", ISA16_SVGA_GFXULTRAPRO) |
| 94 | | SLOT_INTERFACE("tgui9680",ISA16_SVGA_TGUI9680) |
| 95 | 96 | SLOT_INTERFACE("3c505", ISA16_3C505) |
| 96 | 97 | SLOT_INTERFACE("mach64", ISA16_SVGA_MACH64) |
| 97 | 98 | SLOT_INTERFACE("sb16_lle", ISA16_SB16) |
trunk/src/emu/bus/isa/svga_trident.c
| r241434 | r241435 | |
| 19 | 19 | // GLOBAL VARIABLES |
| 20 | 20 | //************************************************************************** |
| 21 | 21 | |
| 22 | | const device_type ISA16_SVGA_TGUI9680 = &device_creator<isa16_svga_tgui9680_device>; |
| 22 | const device_type ISA8_SVGA_TGUI9680 = &device_creator<isa8_svga_tgui9680_device>; |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | static MACHINE_CONFIG_FRAGMENT( vga_trident ) |
| r241434 | r241435 | |
| 37 | 37 | // machine configurations |
| 38 | 38 | //------------------------------------------------- |
| 39 | 39 | |
| 40 | | machine_config_constructor isa16_svga_tgui9680_device::device_mconfig_additions() const |
| 40 | machine_config_constructor isa8_svga_tgui9680_device::device_mconfig_additions() const |
| 41 | 41 | { |
| 42 | 42 | return MACHINE_CONFIG_NAME( vga_trident ); |
| 43 | 43 | } |
| r241434 | r241435 | |
| 46 | 46 | // rom_region - device-specific ROM region |
| 47 | 47 | //------------------------------------------------- |
| 48 | 48 | |
| 49 | | const rom_entry *isa16_svga_tgui9680_device::device_rom_region() const |
| 49 | const rom_entry *isa8_svga_tgui9680_device::device_rom_region() const |
| 50 | 50 | { |
| 51 | 51 | return ROM_NAME( tgui9680 ); |
| 52 | 52 | } |
| r241434 | r241435 | |
| 59 | 59 | // isa8_vga_device - constructor |
| 60 | 60 | //------------------------------------------------- |
| 61 | 61 | |
| 62 | | isa16_svga_tgui9680_device::isa16_svga_tgui9680_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 63 | | device_t(mconfig, ISA16_SVGA_TGUI9680, "Trident TGUI9680 Graphics Card (BIOS X5.5 (02) 02/13/96)", tag, owner, clock, "tgui9680", __FILE__), |
| 64 | | device_isa16_card_interface(mconfig, *this) |
| 62 | isa8_svga_tgui9680_device::isa8_svga_tgui9680_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 63 | device_t(mconfig, ISA8_SVGA_TGUI9680, "Trident TGUI9680 Graphics Card (BIOS X5.5 (02) 02/13/96)", tag, owner, clock, "tgui9680", __FILE__), |
| 64 | device_isa8_card_interface(mconfig, *this) |
| 65 | 65 | { |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | //------------------------------------------------- |
| 69 | 69 | // device_start - device-specific startup |
| 70 | 70 | //------------------------------------------------- |
| 71 | | READ8_MEMBER(isa16_svga_tgui9680_device::input_port_0_r ) { return 0xff; } //return space.machine().root_device().ioport("IN0")->read(); } |
| 71 | READ8_MEMBER(isa8_svga_tgui9680_device::input_port_0_r ) { return 0xff; } //return space.machine().root_device().ioport("IN0")->read(); } |
| 72 | 72 | |
| 73 | | void isa16_svga_tgui9680_device::device_start() |
| 73 | void isa8_svga_tgui9680_device::device_start() |
| 74 | 74 | { |
| 75 | 75 | set_isa_device(); |
| 76 | 76 | |
| r241434 | r241435 | |
| 100 | 100 | // device_reset - device-specific reset |
| 101 | 101 | //------------------------------------------------- |
| 102 | 102 | |
| 103 | | void isa16_svga_tgui9680_device::device_reset() |
| 103 | void isa8_svga_tgui9680_device::device_reset() |
| 104 | 104 | { |
| 105 | 105 | } |
trunk/src/emu/bus/isa/svga_trident.h
| r241434 | r241435 | |
| 16 | 16 | // TYPE DEFINITIONS |
| 17 | 17 | //************************************************************************** |
| 18 | 18 | |
| 19 | | // ======================> isa16_vga_device |
| 19 | // ======================> isa8_vga_device |
| 20 | 20 | |
| 21 | | class isa16_svga_tgui9680_device : |
| 21 | class isa8_svga_tgui9680_device : |
| 22 | 22 | public device_t, |
| 23 | | public device_isa16_card_interface |
| 23 | public device_isa8_card_interface |
| 24 | 24 | { |
| 25 | 25 | public: |
| 26 | 26 | // construction/destruction |
| 27 | | isa16_svga_tgui9680_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 27 | isa8_svga_tgui9680_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 28 | 28 | |
| 29 | 29 | // optional information overrides |
| 30 | 30 | virtual machine_config_constructor device_mconfig_additions() const; |
| r241434 | r241435 | |
| 41 | 41 | |
| 42 | 42 | |
| 43 | 43 | // device type definition |
| 44 | | extern const device_type ISA16_SVGA_TGUI9680; |
| 44 | extern const device_type ISA8_SVGA_TGUI9680; |
| 45 | 45 | |
| 46 | 46 | |
| 47 | 47 | #endif /* SVGA_TRIDENT_H_ */ |