1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-25 18:33:11 +00:00

msx: msx.rom bios supported

This commit is contained in:
Steven Hugg 2022-09-16 12:34:31 -07:00
parent 868026c3f9
commit d9dccb3df6
2 changed files with 3 additions and 1 deletions

View File

@ -97,6 +97,9 @@ export class MSX1 extends BaseZ80VDPBasedMachine {
];
}
loadBIOS(bios: Uint8Array) {
this.bios = bios;
}
getKeyboardMap() { return MSX_KEYCODE_MAP; }

View File

@ -44,7 +44,6 @@ class MSXPlatform extends BaseZ80MachinePlatform<MSX1> implements Platform {
getDefaultExtension() { return ".c"; };
readAddress(a) { return this.machine.read(a); }
readVRAMAddress(a) { return this.machine.readVRAMAddress(a); }
// TODO loadBIOS(bios) { this.machine.loadBIOS(a); }
getMemoryMap = function() { return { main:[
{name:'BIOS',start:0x0,size:0x4000,type:'rom'},
//{name:'Cartridge',start:0x4000,size:0x4000,type:'rom'},