Skip to content

Commit 92f9c03

Browse files
committed
bus/isa/svga_paradise.cpp: (try to) pull cnf15 high for wd90c11
1 parent 210ca4b commit 92f9c03

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/devices/bus/isa/svga_paradise.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,14 @@ void isa16_wd90c11_lr_device::device_add_mconfig(machine_config &config)
342342
m_vga->set_screen("screen");
343343
// 512KB (+ option for 1MB? Verify with interlace)
344344
m_vga->set_vram_size(0x100000);
345+
// required by megapc and teradrive for color
346+
m_vga->read_cnf15_callback().set_constant(1);
345347
}
346348

347349
void isa16_wd90c11_lr_device::io_isa_map(address_map &map)
348350
{
349-
map(0x00, 0x2f).m(m_vga, FUNC(wd90c11a_vga_device::io_map));
351+
map(0x03b0, 0x03df).m(m_vga, FUNC(wd90c11a_vga_device::io_map));
352+
map(0x46e8, 0x46e8).w(m_vga, FUNC(wd90c11a_vga_device::mode_setup_w));
350353
}
351354

352355
void isa16_wd90c11_lr_device::device_start()
@@ -356,7 +359,7 @@ void isa16_wd90c11_lr_device::device_start()
356359
m_isa->install_rom(this, 0xc0000, 0xc7fff, "vga_rom");
357360

358361
m_isa->install_memory(0xa0000, 0xbffff, read8sm_delegate(*m_vga, FUNC(wd90c11a_vga_device::mem_r)), write8sm_delegate(*m_vga, FUNC(wd90c11a_vga_device::mem_w)));
359-
m_isa->install_device(0x03b0, 0x03df, *this, &isa16_wd90c11_lr_device::io_isa_map);
362+
m_isa->install_device(0x0000, 0xffff, *this, &isa16_wd90c11_lr_device::io_isa_map);
360363
}
361364

362365
/******************

src/mame/pc/teradrive.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// license:BSD-3-Clause
2-
// copyright-holders:
2+
// copyright-holders: Angelo Salese
33
/**************************************************************************************************
44
55
Sega Teradrive
@@ -24,7 +24,7 @@ NOTES (MD side):
2424
2525
TODO:
2626
- Many unknown ports;
27-
- IBM 79F2661 ISA bus switch, motherboard resource also shared with undumped 5510Z Japanese DOS/V);
27+
- Pulls VGA EGASW low (PR11) after setup mode, causing mono colors (shared issue with megapc);
2828
- "TIMER FAIL" when exiting from setup menu;
2929
- MD side, as a testbed for rewriting base HW;
3030
@@ -47,6 +47,8 @@ NOTES (MD side):
4747
/*
4848
* ISA16 IBM 79F2661 "bus switch"
4949
*
50+
* Motherboard resource also shared with undumped 5510Z Japanese DOS/V
51+
*
5052
*/
5153

5254
class isa16_ibm_79f2661 : public device_t, public device_isa16_card_interface

0 commit comments

Comments
 (0)