1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-07 05:30:30 +00:00

Add EGA and VGA ROMs.

This commit is contained in:
Thomas Harte 2023-12-27 10:05:41 -05:00
parent 497ae935d6
commit 29ed449373
3 changed files with 26 additions and 6 deletions

View File

@ -581,6 +581,13 @@ Description::Description(Name name) {
case Name::PCCompatibleMDAFont: case Name::PCCompatibleMDAFont:
*this = Description(name, "PCCompatible", "IBM's MDA font", "EUMDA9.F14", 14 * 256, 0x7754882au); *this = Description(name, "PCCompatible", "IBM's MDA font", "EUMDA9.F14", 14 * 256, 0x7754882au);
break; break;
case Name::PCCompatibleEGABIOS:
*this = Description(name, "PCCompatible", "IBM's EGA BIOS", "ibm_6277356_ega_card_u44_27128.bin", 16 * 1024, 0x2f2fbc40u);
break;
case Name::PCCompatibleVGABIOS:
*this = Description(name, "PCCompatible", "IBM's VGA BIOS", "ibm_vga.bin", 32 * 1024, 0x03b3f90du);
break;
// TODO: CRCs below are incomplete, at best. // 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::MSXGenericBIOS: *this = Description(name, "MSX", "a generix MSX BIOS", "msx.rom", 32*1024, 0x94ee12f3u); break;

View File

@ -135,8 +135,11 @@ enum Name {
PCCompatibleGLaBIOS, PCCompatibleGLaBIOS,
PCCompatibleGLaTICK, PCCompatibleGLaTICK,
PCCompatiblePhoenix80286BIOS, PCCompatiblePhoenix80286BIOS,
PCCompatibleMDAFont, PCCompatibleMDAFont,
PCCompatibleCGAFont, PCCompatibleCGAFont,
PCCompatibleEGABIOS,
PCCompatibleVGABIOS,
// Sinclair QL. // Sinclair QL.
SinclairQLJS, SinclairQLJS,

View File

@ -1,14 +1,24 @@
Expected files: Expected files:
GLABIOS_0.2.5_8T.ROM — the 8088 GLaBIOS ROM. For XT-class emulation:
GLaTICK_0.8.5_AT.ROM — the GLaBIOS AT RTC option ROM.
Phoenix 80286 ROM BIOS Version 3.05.bin — Phoenix's 80286 AT-clone BIOS. GLABIOS_0.2.5_8T.ROM — the 8088 GLaBIOS ROM.
EUMDA9.F14 — a dump of the MDA font. GLaTICK_0.8.5_AT.ROM — the GLaBIOS AT RTC option ROM.
CGA.F08 — a dump of the CGA font.
For specific video cards:
EUMDA9.F14 — the MDA font.
CGA.F08 — the CGA font.
In the future:
Phoenix 80286 ROM BIOS Version 3.05.bin — Phoenix's 80286 AT-clone BIOS.
ibm_vga.bin — the VGA bios.
ibm_6277356_ega_card_u44_27128.bin — the EGA bios.
GLaBIOS is an open-source GPLv3 alternative BIOS for XT clones, available from https://glabios.org/ GLaBIOS is an open-source GPLv3 alternative BIOS for XT clones, available from https://glabios.org/
GLaTICK is a real-time clock option ROM, also available from available from https://glabios.org/ GLaTICK is a real-time clock option ROM, also available from available from https://glabios.org/
The MDA and CGA fonts are in the form offered at https://github.com/viler-int10h/vga-text-mode-fonts i.e. it's 256 lots of 14 bytes, the first 14 being the content of character 0, the next 14 being the content of character 1, etc. The MDA and CGA fonts are in the form offered at https://github.com/viler-int10h/vga-text-mode-fonts i.e. the MDA font is 256 lots of 14 bytes, the first 14 being the content of character 0, the next 14 being the content of character 1, etc; the CGA font is 256 lots of 8 bytes with a similar arrangement.