mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-10-30 00:29:53 +00:00
378 lines
20 KiB
JavaScript
378 lines
20 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.MSX1 = void 0;
|
|
const vdp_z80_1 = require("./vdp_z80");
|
|
const emu_1 = require("../common/emu");
|
|
const util_1 = require("../common/util");
|
|
const audio_1 = require("../common/audio");
|
|
var MSX_KEYCODE_MAP = (0, emu_1.makeKeycodeMap)([
|
|
[emu_1.Keys.UP, 0, 0x1],
|
|
[emu_1.Keys.DOWN, 0, 0x2],
|
|
[emu_1.Keys.LEFT, 0, 0x4],
|
|
[emu_1.Keys.RIGHT, 0, 0x8],
|
|
[emu_1.Keys.A, 0, 0x10],
|
|
[emu_1.Keys.B, 0, 0x20],
|
|
[emu_1.Keys.P2_UP, 1, 0x1],
|
|
[emu_1.Keys.P2_DOWN, 1, 0x2],
|
|
[emu_1.Keys.P2_LEFT, 1, 0x4],
|
|
[emu_1.Keys.P2_RIGHT, 1, 0x8],
|
|
[emu_1.Keys.P2_A, 1, 0x10],
|
|
[emu_1.Keys.P2_B, 1, 0x20],
|
|
[emu_1.Keys.ANYKEY, 2, 0x0],
|
|
]);
|
|
const JOY_INPUT_0 = 0;
|
|
const JOY_INPUT_1 = 1;
|
|
const KEYBOARD_ROW_0 = 16;
|
|
const MSX_KEYMATRIX_INTL_NOSHIFT = [
|
|
emu_1.Keys.VK_7, emu_1.Keys.VK_6, emu_1.Keys.VK_5, emu_1.Keys.VK_4, emu_1.Keys.VK_3, emu_1.Keys.VK_2, emu_1.Keys.VK_1, emu_1.Keys.VK_0,
|
|
emu_1.Keys.VK_SEMICOLON, emu_1.Keys.VK_CLOSE_BRACKET, emu_1.Keys.VK_OPEN_BRACKET, emu_1.Keys.VK_BACK_SLASH, emu_1.Keys.VK_EQUALS, emu_1.Keys.VK_MINUS, emu_1.Keys.VK_9, emu_1.Keys.VK_8,
|
|
emu_1.Keys.VK_B, emu_1.Keys.VK_A, null /*DEAD*/, emu_1.Keys.VK_SLASH, emu_1.Keys.VK_PERIOD, emu_1.Keys.VK_COMMA, emu_1.Keys.VK_ACUTE, emu_1.Keys.VK_QUOTE,
|
|
emu_1.Keys.VK_J, emu_1.Keys.VK_I, emu_1.Keys.VK_H, emu_1.Keys.VK_G, emu_1.Keys.VK_F, emu_1.Keys.VK_E, emu_1.Keys.VK_D, emu_1.Keys.VK_C,
|
|
emu_1.Keys.VK_R, emu_1.Keys.VK_Q, emu_1.Keys.VK_P, emu_1.Keys.VK_O, emu_1.Keys.VK_N, emu_1.Keys.VK_M, emu_1.Keys.VK_L, emu_1.Keys.VK_K,
|
|
emu_1.Keys.VK_Z, emu_1.Keys.VK_Y, emu_1.Keys.VK_X, emu_1.Keys.VK_W, emu_1.Keys.VK_V, emu_1.Keys.VK_U, emu_1.Keys.VK_T, emu_1.Keys.VK_S,
|
|
emu_1.Keys.VK_F3, emu_1.Keys.VK_F2, emu_1.Keys.VK_F1, null, emu_1.Keys.VK_CAPS_LOCK, null, emu_1.Keys.VK_CONTROL, emu_1.Keys.VK_SHIFT,
|
|
emu_1.Keys.VK_ENTER, null, emu_1.Keys.VK_BACK_SPACE, null, emu_1.Keys.VK_TAB, emu_1.Keys.VK_ESCAPE, emu_1.Keys.VK_F5, emu_1.Keys.VK_F4,
|
|
emu_1.Keys.VK_RIGHT, emu_1.Keys.VK_DOWN, emu_1.Keys.VK_UP, emu_1.Keys.VK_LEFT, emu_1.Keys.VK_DELETE, emu_1.Keys.VK_INSERT, emu_1.Keys.VK_HOME, emu_1.Keys.VK_SPACE,
|
|
null, null, null, null, null, null, null, null,
|
|
null, null, null, null, null, null, null, null,
|
|
// TODO: null keycodes
|
|
];
|
|
class MSX1 extends vdp_z80_1.BaseZ80VDPBasedMachine {
|
|
constructor() {
|
|
super();
|
|
this.numVisibleScanlines = 240;
|
|
this.defaultROMSize = 0x8000;
|
|
this.ram = new Uint8Array(0x10000);
|
|
this.slotmask = 0;
|
|
this.ppi_c = 0;
|
|
this.read = (a) => {
|
|
let shift = (a >> 14) << 1;
|
|
let slotnum = (this.slotmask >> shift) & 3;
|
|
let slot = this.slots[slotnum];
|
|
return slot ? slot.read(a) : 0;
|
|
};
|
|
this.write = (a, v) => {
|
|
let shift = (a >> 14) << 1;
|
|
let slotnum = (this.slotmask >> shift) & 3;
|
|
let slot = this.slots[slotnum];
|
|
if (slot)
|
|
slot.write(a, v);
|
|
};
|
|
this.init(this, this.newIOBus(), new audio_1.AY38910_Audio(new audio_1.MasterAudio()));
|
|
this.bios = new util_1.lzgmini().decode((0, util_1.stringToByteArray)(atob(MSX1_BIOS_LZG)));
|
|
// skip splash screen
|
|
this.bios[0xdd5] = 0;
|
|
this.bios[0xdd6] = 0;
|
|
this.bios[0xdd7] = 0;
|
|
// slot definitions
|
|
this.slots = [
|
|
// slot 0 : BIOS
|
|
{
|
|
read: (a) => { return this.bios[a] | 0; },
|
|
write: (a, v) => { }
|
|
},
|
|
// slot 1: cartridge
|
|
{
|
|
read: (a) => { return this.rom[a - 0x4000] | 0; },
|
|
write: (a, v) => { }
|
|
},
|
|
// slot 2: cartridge
|
|
{
|
|
read: (a) => { return this.rom[a - 0x4000] | 0; },
|
|
write: (a, v) => { }
|
|
},
|
|
// slot 3 : RAM
|
|
{
|
|
read: (a) => { return this.ram[a] | 0; },
|
|
write: (a, v) => { this.ram[a] = v; }
|
|
},
|
|
];
|
|
}
|
|
loadBIOS(bios) {
|
|
this.bios = bios;
|
|
}
|
|
getKeyboardMap() { return MSX_KEYCODE_MAP; }
|
|
// http://map.grauw.nl/articles/keymatrix.php
|
|
getKeyboardFunction() {
|
|
return (o, key, code, flags) => {
|
|
//console.log(o,key,code,flags);
|
|
var keymap = MSX_KEYMATRIX_INTL_NOSHIFT;
|
|
for (var i = 0; i < keymap.length; i++) {
|
|
if (keymap[i] && keymap[i].c == key) {
|
|
let row = i >> 3;
|
|
let bit = 7 - (i & 7);
|
|
//console.log(key, row, bit);
|
|
if (flags & emu_1.KeyFlags.KeyDown) {
|
|
this.inputs[KEYBOARD_ROW_0 + row] |= (1 << bit);
|
|
}
|
|
else if (flags & emu_1.KeyFlags.KeyUp) {
|
|
this.inputs[KEYBOARD_ROW_0 + row] &= ~(1 << bit);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
};
|
|
}
|
|
newIOBus() {
|
|
return {
|
|
read: (addr) => {
|
|
addr &= 0xff;
|
|
//console.log('IO read', hex(addr,4));
|
|
switch (addr) {
|
|
case 0x98: return this.vdp.readData();
|
|
case 0x99: return this.vdp.readStatus();
|
|
case 0xa2:
|
|
if (this.psg.currentRegister() == 14)
|
|
return ~this.inputs[JOY_INPUT_0]; // TODO: joy 1?
|
|
else
|
|
return this.psg.readData();
|
|
case 0xa8: return this.slotmask;
|
|
case 0xa9: return ~this.inputs[KEYBOARD_ROW_0 + (this.ppi_c & 15)];
|
|
case 0xaa: return this.ppi_c; // TODO?
|
|
//default: throw new EmuHalt("Read I/O " + hex(addr));
|
|
}
|
|
return 0;
|
|
},
|
|
write: (addr, val) => {
|
|
addr &= 0xff;
|
|
val &= 0xff;
|
|
//console.log('IO write', hex(addr,4), hex(val,2));
|
|
switch (addr) {
|
|
case 0x98:
|
|
this.vdp.writeData(val);
|
|
break;
|
|
case 0x99:
|
|
this.vdp.writeAddress(val);
|
|
break;
|
|
case 0xa8:
|
|
this.slotmask = val;
|
|
break;
|
|
case 0xaa:
|
|
this.ppi_c = val;
|
|
break;
|
|
case 0xab: // command register, modifies PPI C
|
|
let ibit = (val >> 1) & 7;
|
|
this.ppi_c = (this.ppi_c & ~(1 << ibit)) | ((val & 1) << ibit);
|
|
break;
|
|
case 0xa0:
|
|
this.psg.selectRegister(val);
|
|
break;
|
|
case 0xa1:
|
|
this.psg.setData(val);
|
|
break;
|
|
case 0xfc:
|
|
case 0xfd:
|
|
case 0xfe:
|
|
case 0xff:
|
|
break; // memory mapper (MSX2)
|
|
//default: throw new EmuHalt("Write I/O " + hex(addr));
|
|
}
|
|
}
|
|
};
|
|
}
|
|
vdpInterrupt() {
|
|
this.probe.logInterrupt(0xff);
|
|
this.cpu.interrupt(0xff); // RST 0x38
|
|
}
|
|
loadState(state) {
|
|
super.loadState(state);
|
|
this.slotmask = state['slotmask'];
|
|
this.ppi_c = state['ppi_c'];
|
|
this.psg.selectRegister(state['psgRegister']);
|
|
}
|
|
saveState() {
|
|
var state = super.saveState();
|
|
state['slotmask'] = this.slotmask;
|
|
state['ppi_c'] = this.ppi_c;
|
|
state['psgRegister'] = this.psg.currentRegister();
|
|
return state;
|
|
}
|
|
reset() {
|
|
super.reset();
|
|
this.slotmask = 0;
|
|
this.ppi_c = 0;
|
|
}
|
|
/* TODO
|
|
resume() {
|
|
super.resume();
|
|
this.resetInputs();
|
|
}*/
|
|
resetInputs() {
|
|
// clear keyboard matrix
|
|
this.inputs.fill(0);
|
|
}
|
|
}
|
|
exports.MSX1 = MSX1;
|
|
///
|
|
/*
|
|
C-BIOS is a BIOS compatible with the MSX BIOS
|
|
C-BIOS was written from scratch by BouKiCHi
|
|
C-BIOS is available for free, including its source code (2-clause BSD license)
|
|
C-BIOS can be shipped with MSX emulators so they are usable out-of-the-box without copyright issues
|
|
|
|
http://cbios.sourceforge.net/
|
|
*/
|
|
var MSX1_BIOS_LZG = `
|
|
TFpHAADAAAAAI8Sp+W4NAVo7UZPzwxINvxuYmMPtEADDvyMAw/+T4QAkAMMbEQDDNJPhIZPhc5Ph
|
|
JxEhAgAAAMM5EZOhk+HmGMNOEcNYEcMWAsMiAsMuAsNFAsNNAsNVAsNgAsNtAsOBAsOXAsOtAsPU
|
|
AgDDXhnDHgPDggPDwgPDBQTDQwTDjwTDtwTD5gTDGQXDbwXDggXDjAXDlwXDOhfDUhfDXBfDahHD
|
|
fBHDjxHDtBHD2RTDAxXDERXDNhXDVBXDSxXDJRbDQRbDUxbDVhbDtQfDZhbDahbDexbDjRbDnxbD
|
|
jxfDAhjDRxjDWRjDshbDxRbD1xbD6RbD/BbDD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