mirror of
https://github.com/86Box/86Box.git
synced 2026-02-25 04:45:31 -07:00
Add two OEM BIOSes to 2 Intel machines + two misc changes (#6310)
* Added Bravo MS-T BIOS for Intel Monaco -Move Atlantis machine above Thor machine -Correct the name for Zeos Pantera Wildcat * Added Gateway 2000 latest BIOS of Intel Zappa * Fixed a compile-breaking mistake
This commit is contained in:
@@ -599,18 +599,74 @@ machine_at_pt2000_init(const machine_t *model)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const device_config_t zappa_config[] = {
|
||||
// clang-format off
|
||||
{
|
||||
.name = "bios",
|
||||
.description = "BIOS Version",
|
||||
.type = CONFIG_BIOS,
|
||||
.default_string = "zappa",
|
||||
.default_int = 0,
|
||||
.file_filter = NULL,
|
||||
.spinner = { 0 },
|
||||
.selection = { { 0 } },
|
||||
.bios = {
|
||||
{
|
||||
.name = "Intel AMIBIOS - Revision 1.00.06.BS0",
|
||||
.internal_name = "zappa",
|
||||
.bios_type = BIOS_NORMAL,
|
||||
.files_no = 2,
|
||||
.local = 0,
|
||||
.size = 131072,
|
||||
.files = { "roms/machines/zappa/1006bs0_.bio", "roms/machines/zappa/1006bs0_.bi1", "" }
|
||||
},
|
||||
{
|
||||
.name = "Intel AMIBIOS - Revision 1.00.11.BS0T (Gateway 2000)",
|
||||
.internal_name = "zappa_gw2k",
|
||||
.bios_type = BIOS_NORMAL,
|
||||
.files_no = 2,
|
||||
.local = 0,
|
||||
.size = 131072,
|
||||
.files = { "roms/machines/zappa/1011BS0T.BIO", "roms/machines/zappa/1011BS0T.BI1", "" }
|
||||
},
|
||||
{ .files_no = 0 }
|
||||
}
|
||||
},
|
||||
{ .name = "", .description = "", .type = CONFIG_END }
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
const device_t zappa_device = {
|
||||
.name = "Intel Advanced/ZP (Zappa)",
|
||||
.internal_name = "zappa_device",
|
||||
.flags = 0,
|
||||
.local = 0,
|
||||
.init = NULL,
|
||||
.close = NULL,
|
||||
.reset = NULL,
|
||||
.available = NULL,
|
||||
.speed_changed = NULL,
|
||||
.force_redraw = NULL,
|
||||
.config = zappa_config
|
||||
};
|
||||
|
||||
int
|
||||
machine_at_zappa_init(const machine_t *model)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
const char *fn;
|
||||
const char *fn2;
|
||||
|
||||
ret = bios_load_linear_combined("roms/machines/zappa/1006bs0_.bio",
|
||||
"roms/machines/zappa/1006bs0_.bi1",
|
||||
0x20000, 128);
|
||||
|
||||
if (bios_only || !ret)
|
||||
/* No ROMs available */
|
||||
if (!device_available(model->device))
|
||||
return ret;
|
||||
|
||||
device_context(model->device);
|
||||
fn = device_get_bios_file(machine_get_device(machine), device_get_config_bios("bios"), 0);
|
||||
fn2 = device_get_bios_file(machine_get_device(machine), device_get_config_bios("bios"), 1);
|
||||
ret = bios_load_linear_combined(fn, fn2, 0x20000, 128);
|
||||
device_context_restore();
|
||||
|
||||
machine_at_common_init_ex(model, 2);
|
||||
machine_at_zappa_gpio_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user