Add a catalogue entry for RISC OS.

This commit is contained in:
Thomas Harte 2024-03-02 21:44:27 -05:00
parent 2abae4c8bf
commit c0dd96eb7c
4 changed files with 22 additions and 10 deletions

View File

@ -540,6 +540,10 @@ Description::Description(Name name) {
*this = Description(name, "Electron", "the Electron MOS ROM v1.00", "os.rom", 16*1024, 0xbf63fb1fu);
break;
case Name::AcornRISCOS319:
*this = Description(name, "Archimedes", "RISC OS v3.19", "ROM319", 2*1024*1024, 0x00c7a3d3u);
break;
case Name::MasterSystemJapaneseBIOS: *this = Description(name, "MasterSystem", "the Japanese Master System BIOS", "japanese-bios.sms", 8*1024, 0x48d44a13u); break;
case Name::MasterSystemWesternBIOS: *this = Description(name, "MasterSystem", "the European/US Master System BIOS", "bios.sms", 8*1024, 0x0072ed54u); break;

View File

@ -22,7 +22,7 @@ namespace ROM {
enum Name {
None,
// Acorn.
// Acorn Electron.
AcornBASICII,
AcornElectronMOS100,
PRESADFSSlot1,
@ -31,6 +31,9 @@ enum Name {
PRESAdvancedPlus6,
Acorn1770DFS,
// Acorn Archimedes.
AcornRISCOS319,
// Amiga.
AmigaKickstart10,
AmigaKickstart11,

View File

@ -9,6 +9,7 @@
#import <XCTest/XCTest.h>
#include "../../../InstructionSets/ARM/Executor.hpp"
#include "CSROMFetcher.hpp"
using namespace InstructionSet::ARM;
@ -41,15 +42,6 @@ struct Memory {
@implementation ARMDecoderTests
//- (void)testXYX {
// Executor<Memory> scheduler;
//
// for(int c = 0; c < 65536; c++) {
// InstructionSet::ARM::dispatch(c << 16, scheduler);
// }
// InstructionSet::ARM::dispatch(0xEAE06900, scheduler);
//}
- (void)testBarrelShifterLogicalLeft {
uint32_t value;
uint32_t carry;
@ -195,4 +187,12 @@ struct Memory {
XCTAssertEqual(carry, 0);
}
- (void)testROM319 {
constexpr ROM::Name rom_name = ROM::Name::AcornRISCOS319;
ROM::Request request(rom_name);
const auto roms = CSROMFetcher()(request);
NSLog(@"");
}
@end

View File

@ -0,0 +1,5 @@
ROM files would ordinarily go here; RISC OS remains a commercial product so these are not included with the emulator.
Expected files:
ROM319 — the RISC OS 3.19 ROM.