module.exports = { "initialIP": 29, // Use these in CPU: "displayAddr": 0, "keypadAddr": 27, // Store the `DISPLAY_ADDR` at this address when assembling: "pointerToDisplay": 26, "keyMap": { // Same layout as COSMAC VIP / CHIP-8 // (This object maps qwerty keys to hex keys // so that they are arranged in the same layout // as the real keypad) '1':'1', '2':'2', '3':'3', '4':'C', 'Q':'4', 'W':'5', 'E':'6', 'R':'D', 'A':'7', 'S':'8', 'D':'9', 'F':'E', 'Z':'A', 'X':'0', 'C':'B', 'V':'F', // Include conventional arrow keys 'UP': '5', 'LEFT': '7', 'DOWN': '8', 'RIGHT': '9', }, // max number of times to step the CPU, // to stop endless loops // 0 = infinite "defaultCycleLimit": 2048, }