Skip to content

Commit 6e1f17f

Browse files
committed
funworld/photoply: convert to new PCI
1 parent 9827c2a commit 6e1f17f

File tree

4 files changed

+144
-271
lines changed

4 files changed

+144
-271
lines changed

src/devices/bus/pci/clgd5446.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ ROM_START( gd5446 )
4242
ROMX_LOAD( "cl-gd5446_pci_vga_bios_version_1.31.u2", 0x0000, 0x8000, CRC(61f8cac7) SHA1(6e54aadfe10dfa5c7e417a054e9a64499a99083c), ROM_BIOS(0) )
4343
// Chip:CL-GD5446-HC-A - ROM: CL-GD5436/46 PCI VGA BIOS Version 1.25 - RAM: 1MB, 2MB, 4MB -
4444
// OSC: 14.31818MHz - Connector: DB15 - VESA feature connector
45-
// ROM_SYSTEM_BIOS( 1, "???", "Quadtel CL-GD5446 1.25" )
45+
ROM_SYSTEM_BIOS( 1, "quadtelo", "Quadtel CL-GD5446 1.25" )
46+
ROMX_LOAD("cl-gd5446_pci_vga_bios_version_1.25.u2", 0x0000, 0x8000, CRC(7a859659) SHA1(ff667218261969c48082ec12aa91088a01b0cb2a), ROM_BIOS(1) )
4647
// ROMX_LOAD("5446bv.vbi", 0x00000, 0x10000, CRC(7a859659) SHA1(ff667218261969c48082ec12aa91088a01b0cb2a) )
4748
ROM_END
4849

src/devices/machine/it8705f.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ void it8705f_device::config_map(address_map &map)
223223
const u8 shift = offset * 8;
224224
m_pc_fdc_address &= 0xff << shift;
225225
m_pc_fdc_address |= data << (shift ^ 8);
226-
m_pc_fdc_address &= ~7;
226+
m_pc_fdc_address &= ~0xf007;
227227
LOG("LDN0 (FDC): remap %04x ([%d] %02x)\n", m_pc_fdc_address, offset, data);
228228

229229
remap(AS_IO, 0, 0x400);
@@ -271,7 +271,7 @@ void it8705f_device::config_map(address_map &map)
271271
const u8 shift = offset * 8;
272272
m_pc_lpt_address &= 0xff << shift;
273273
m_pc_lpt_address |= data << (shift ^ 8);
274-
m_pc_lpt_address &= ~3;
274+
m_pc_lpt_address &= ~0xf003;
275275
LOG("LDN3 (LPT): remap %04x ([%d] %02x)\n", m_pc_lpt_address, offset, data);
276276

277277
remap(AS_IO, 0, 0x400);
@@ -441,7 +441,7 @@ template <unsigned N> void it8705f_device::uart_address_w(offs_t offset, u8 data
441441
const u8 shift = offset * 8;
442442
m_pc_com_address[N] &= 0xff << shift;
443443
m_pc_com_address[N] |= data << (shift ^ 8);
444-
m_pc_com_address[N] &= ~7;
444+
m_pc_com_address[N] &= ~0xf007;
445445
LOG("LDN%d (UART): remap %04x ([%d] %02x)\n", N, m_pc_com_address[N], offset, data);
446446

447447
remap(AS_IO, 0, 0x400);

0 commit comments

Comments
 (0)