Essentially reverted 8-bit IDE data reads and writes to old operation, fixes the hard disk bug;

SCSI LUN is now selectable for the CD-ROM drives;
Made sure every BusLogic RequestSetup ends in a StartMailbox sooner or later, fixes freezes with the DOS BusLogic drivers;
Commented out execess logging from mem.c;
Applied the mainline PCem commit that fixes the Bahamas64 on some boards.
This commit is contained in:
OBattler
2017-01-18 21:51:03 +01:00
parent fc42c2e2e7
commit 0548d8f9c8
13 changed files with 612 additions and 289 deletions

View File

@@ -975,7 +975,7 @@ int mmu_page_fault_check(uint32_t addr, int rw, uint32_t flags, int pde, int is_
if (!(flags & 1))
{
pclog("Trying to read or write a page that is not present!\n");
// pclog("Trying to read or write a page that is not present!\n");
is_page_fault = 1;
}
@@ -983,12 +983,12 @@ int mmu_page_fault_check(uint32_t addr, int rw, uint32_t flags, int pde, int is_
{
if (!(flags & 4) && mem_cpl3_check())
{
pclog("Trying to read a system page from user mode!\n");
// pclog("Trying to read a system page from user mode!\n");
is_page_fault = 1;
}
if (rw && !(flags & 2) && (mem_cpl3_check() || (cr0 & WP_FLAG)))
{
pclog("Trying to write a read-only-for-user page from user mode!\n");
// pclog("Trying to write a read-only-for-user page from user mode!\n");
is_page_fault = 1;
}
}