Change ATI 18800 BIOS

This commit is contained in:
Melissa Goad
2017-01-26 11:01:36 -06:00
parent d4afd7c2c3
commit dcb89d3d2a

View File

@@ -123,7 +123,6 @@ uint8_t ati18800_in(uint16_t addr, void *p)
if (ati_eeprom_read(&ati18800->eeprom)) if (ati_eeprom_read(&ati18800->eeprom))
temp |= 8; temp |= 8;
break; break;
default: default:
temp = ati18800->regs[ati18800->index]; temp = ati18800->regs[ati18800->index];
break; break;
@@ -167,7 +166,7 @@ void *ati18800_init()
ati18800_t *ati18800 = malloc(sizeof(ati18800_t)); ati18800_t *ati18800 = malloc(sizeof(ati18800_t));
memset(ati18800, 0, sizeof(ati18800_t)); memset(ati18800, 0, sizeof(ati18800_t));
rom_init(&ati18800->bios_rom, "roms/vgaedge16.vbi", 0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL); rom_init(&ati18800->bios_rom, "roms/vga88.BIN", 0xc0000, 0x10000, 0xffff, 0, MEM_MAPPING_EXTERNAL);
svga_init(&ati18800->svga, ati18800, 1 << 19, /*512kb*/ svga_init(&ati18800->svga, ati18800, 1 << 19, /*512kb*/
NULL, NULL,
@@ -187,7 +186,7 @@ void *ati18800_init()
static int ati18800_available() static int ati18800_available()
{ {
return rom_present("roms/vgaedge16.vbi"); return rom_present("roms/vga88.BIN");
} }
void ati18800_close(void *p) void ati18800_close(void *p)