mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-26 00:30:29 +00:00
Include and fetch a BIOS.
This commit is contained in:
parent
7323af0b41
commit
af7069ac21
@ -25,9 +25,18 @@ class ConcreteMachine:
|
||||
) {
|
||||
// This is actually a MIPS count; try 3 million.
|
||||
set_clock_rate(3'000'000);
|
||||
|
||||
// Fetch the BIOS. [8088 only, for now]
|
||||
ROM::Request request = ROM::Request(ROM::Name::PCCompatibleGLaBIOS);
|
||||
auto roms = rom_fetcher(request);
|
||||
if(!request.validate(roms)) {
|
||||
throw ROMMachine::Error::MissingROMs;
|
||||
}
|
||||
}
|
||||
|
||||
void run_for([[maybe_unused]] const Cycles cycles) override {}
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
|
@ -567,6 +567,8 @@ Description::Description(Name name) {
|
||||
case Name::OricMicrodisc: *this = Description(name, "Oric", "the Oric Microdisc ROM", "microdisc.rom", 8*1024, 0xa9664a9cu); break;
|
||||
case Name::Oric8DOSBoot: *this = Description(name, "Oric", "the 8DOS boot ROM", "8dos.rom", 512, 0x49a74c06u); break;
|
||||
|
||||
case Name::PCCompatibleGLaBIOS: *this = Description(name, "PCCompatible", "8088 GLaBIOS 0.2.5", "GLABIOS_0.2.5_8T.ROM", 8 * 1024, 0x9576944cu); break;
|
||||
|
||||
// TODO: CRCs below are incomplete, at best.
|
||||
case Name::MSXGenericBIOS: *this = Description(name, "MSX", "a generix MSX BIOS", "msx.rom", 32*1024, 0x94ee12f3u); break;
|
||||
case Name::MSXJapaneseBIOS: *this = Description(name, "MSX", "a Japanese MSX BIOS", "msx-japanese.rom", 32*1024, 0xee229390u); break;
|
||||
|
@ -132,6 +132,9 @@ enum Name {
|
||||
OricMicrodisc,
|
||||
Oric8DOSBoot,
|
||||
|
||||
// PCCompatible.
|
||||
PCCompatibleGLaBIOS,
|
||||
|
||||
// Sinclair QL.
|
||||
SinclairQLJS,
|
||||
|
||||
|
BIN
ROMImages/PCCompatible/GLABIOS_0.2.5_8T.ROM
Normal file
BIN
ROMImages/PCCompatible/GLABIOS_0.2.5_8T.ROM
Normal file
Binary file not shown.
5
ROMImages/PCCompatible/readme.txt
Normal file
5
ROMImages/PCCompatible/readme.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Expected files:
|
||||
|
||||
GLABIOS_0.2.5_8T.ROM — the 8088 GlaBIOS ROM.
|
||||
|
||||
GlaBIOS is an open-source GPLv3 alternative BIOS for XT clones, available from https://glabios.org/
|
Loading…
x
Reference in New Issue
Block a user