1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-11 15:49:38 +00:00

Merge pull request #1432 from TomHarte/Plus4ROMs

Add definitions for some of the Plus 4 ROMs.
This commit is contained in:
Thomas Harte 2024-12-08 22:42:02 -05:00 committed by GitHub
commit d3587f595f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 1 deletions

View File

@ -601,7 +601,6 @@ Description::Description(Name name) {
*this = Description(name, "PCCompatible", "IBM's VGA BIOS", "ibm_vga.bin", 32 * 1024, 0x03b3f90du); *this = Description(name, "PCCompatible", "IBM's VGA BIOS", "ibm_vga.bin", 32 * 1024, 0x03b3f90du);
break; 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;
case Name::MSXJapaneseBIOS: *this = Description(name, "MSX", "a Japanese MSX BIOS", "msx-japanese.rom", 32*1024, 0xee229390u); break; case Name::MSXJapaneseBIOS: *this = Description(name, "MSX", "a Japanese MSX BIOS", "msx-japanese.rom", 32*1024, 0xee229390u); break;
@ -613,6 +612,19 @@ Description::Description(Name name) {
case Name::MSX2Extension: *this = Description(name, "MSX", "the MSX2 extension ROM", "msx2ext.rom", 16*1024, 0x66237ecfu); break; case Name::MSX2Extension: *this = Description(name, "MSX", "the MSX2 extension ROM", "msx2ext.rom", 16*1024, 0x66237ecfu); break;
case Name::MSXMusic: *this = Description(name, "MSX", "the MSX-MUSIC / FM-PAC ROM", "fmpac.rom", 64*1024, 0x0e84505du); break; case Name::MSXMusic: *this = Description(name, "MSX", "the MSX-MUSIC / FM-PAC ROM", "fmpac.rom", 64*1024, 0x0e84505du); break;
case Name::Plus4KernelPALv3:
*this = Description(name, "Plus4", "the C16+4 kernel, PAL-G revision 3", "kernal.318004-03.bin", 16*1024, 0x77bab934u);
break;
case Name::Plus4KernelPALv4:
*this = Description(name, "Plus4", "the C16+4 kernel, PAL-G revision 4", "kernal.318004-04.bin", 16*1024, 0xbe54ed79u);
break;
case Name::Plus4KernelPALv5:
*this = Description(name, "Plus4", "the C16+4 kernel, PAL-G revision 5", "kernal.318004-05.bin", 16*1024, 0x71c07bd4u);
break;
case Name::Plus4BASIC:
*this = Description(name, "Plus4", "the C16+4 BASIC ROM", "basic.318006-01.bin", 16*1024, 0x74eaae87u);
break;
case Name::SinclairQLJS: case Name::SinclairQLJS:
*this = Description(name, "SinclairQL", "the Sinclair QL 'JS' ROM", "js.rom", 48*1024, 0x0f95aab5u); *this = Description(name, "SinclairQL", "the Sinclair QL 'JS' ROM", "js.rom", 48*1024, 0x0f95aab5u);
break; break;

View File

@ -146,6 +146,12 @@ enum Name {
PCCompatibleEGABIOS, PCCompatibleEGABIOS,
PCCompatibleVGABIOS, PCCompatibleVGABIOS,
// Plus 4.
Plus4KernelPALv3,
Plus4KernelPALv4,
Plus4KernelPALv5,
Plus4BASIC,
// Sinclair QL. // Sinclair QL.
SinclairQLJS, SinclairQLJS,