Removed obsolete AMIBIOS hack.

This commit is contained in:
SarahW 2018-02-24 15:44:49 +00:00
commit ad1889864f
2 changed files with 0 additions and 7 deletions

View file

@ -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;

View file

@ -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];
}