Removed obsolete AMIBIOS hack.
This commit is contained in:
parent
bcfd38f42e
commit
ad1889864f
2 changed files with 0 additions and 7 deletions
|
|
@ -378,7 +378,6 @@ char discfns[2][256];
|
|||
int driveempty[2];
|
||||
|
||||
#define PCJR (romset == ROM_IBMPCJR)
|
||||
#define AMIBIOS (romset==ROM_AMI386SX || romset==ROM_AMI486 || romset == ROM_WIN486)
|
||||
|
||||
int GAMEBLASTER, GUS, SSI2001, voodoo_enabled;
|
||||
extern int AMSTRAD, AT, is386, PCI, TANDY;
|
||||
|
|
|
|||
|
|
@ -1920,12 +1920,6 @@ void mem_write_remappedl(uint32_t addr, uint32_t val, void *priv)
|
|||
|
||||
uint8_t mem_read_bios(uint32_t addr, void *priv)
|
||||
{
|
||||
if (AMIBIOS && (addr&0xFFFFF)==0xF8281) /*This is read constantly during AMIBIOS POST, but is never written to. It's clearly a status register of some kind, but for what?*/
|
||||
{
|
||||
// pclog("Read magic addr %04X(%06X):%04X\n",CS,cs,pc);
|
||||
// if (pc==0x547D) output=3;
|
||||
return 0x40;
|
||||
}
|
||||
// pclog("Read BIOS %08X %02X %04X:%04X\n", addr, rom[addr & biosmask], CS, pc);
|
||||
return rom[addr & biosmask];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue