Skip to content

Commit 9cdb31a

Browse files
committed
video/voodoo_pci: fix Voodoo 2 PCI config values
1 parent 432d7d5 commit 9cdb31a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Diff for: src/devices/video/voodoo_pci.cpp

+13-1
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,25 @@ void voodoo_1_pci_device::device_start()
122122

123123
void voodoo_2_pci_device::device_start()
124124
{
125-
// FIXME: proper PCI values (check manual)
125+
// TODO: straps class code from fb_addr_a[6] (if =1 then 0x040000)
126126
set_ids(0x121a0002, 0x02, 0x038000, 0x000000);
127127

128128
voodoo_pci_device::device_start();
129129

130130
add_map(16 * 1024 * 1024, M_MEM | M_PREF, *m_voodoo, FUNC(voodoo_2_device::core_map));
131131
bank_infos[0].adr = 0xff000000;
132+
133+
command = 0;
134+
command_mask = 2;
135+
// FIXME: straps from fb_addr_b[1] (AGP) / fb_addr_a[8]
136+
// (fast back-to-back & fast/medium DEVSEL#)
137+
//status = 0x0280;
138+
status = 0;
139+
140+
// reported with default 0
141+
intr_line = 0;
142+
// INTA#
143+
intr_pin = 1;
132144
}
133145

134146
void voodoo_banshee_pci_device::device_start()

0 commit comments

Comments
 (0)