mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
pci/virge_pci: fix BAR compliance
This commit is contained in:
parent
77827051e2
commit
6c4aa89c37
@ -149,9 +149,8 @@ void virge_pci_device::device_start()
|
||||
add_rom(m_bios->base(),0x8000);
|
||||
expansion_rom_base = 0xc0000;
|
||||
|
||||
add_map(32 * 1024 * 1024, M_MEM | M_DISABLED, FUNC(virge_pci_device::lfb_map));
|
||||
add_map(64 * 1024 * 1024, M_MEM | M_DISABLED, FUNC(virge_pci_device::lfb_map));
|
||||
set_map_address(0, 0x70000000);
|
||||
set_map_size(0, 0x01100000); // Linear addressing maps to a 32MB address space
|
||||
|
||||
remap_cb();
|
||||
machine().save().register_postload(save_prepost_delegate(FUNC(virge_pci_device::postload), this));
|
||||
@ -165,9 +164,8 @@ void virgedx_pci_device::device_start()
|
||||
add_rom(m_bios->base(),0x8000);
|
||||
expansion_rom_base = 0xc0000;
|
||||
|
||||
add_map(4 * 1024 * 1024, M_MEM | M_DISABLED, FUNC(virge_pci_device::lfb_map));
|
||||
add_map(64 * 1024 * 1024, M_MEM | M_DISABLED, FUNC(virge_pci_device::lfb_map));
|
||||
set_map_address(0, 0x70000000);
|
||||
set_map_size(0, 0x01100000); // Linear addressing maps to a 32MB address space
|
||||
|
||||
remap_cb();
|
||||
machine().save().register_postload(save_prepost_delegate(FUNC(virgedx_pci_device::postload), this));
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
uint32_t s3d_sub_status_r();
|
||||
void s3d_sub_control_w(uint32_t data);
|
||||
uint32_t s3d_func_ctrl_r();
|
||||
void s3d_func_ctrl_w(offs_t offset, uint32_t data, u32 mem_mask = ~0);
|
||||
// void s3d_func_ctrl_w(offs_t offset, uint32_t data, u32 mem_mask = ~0);
|
||||
|
||||
uint32_t s3d_register_r(offs_t offset);
|
||||
void s3d_register_w(offs_t offset, uint32_t data);
|
||||
|
Loading…
Reference in New Issue
Block a user