module.exports = { "INITIAL_IP_ADDRESS": 48, // Use these in CPU: "DISPLAY_ADDR": 0, "KEYPAD_ADDR": 32, // Store the `X_ADDR`s at these addresses when assembling: "POINTER_TO_DISPLAY": 33, "POINTER_TO_KEYPAD": 34, "KEY_MAP": { // 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', }, // max number of times to step the CPU, // to stop endless loops // 0 = infinite "CYCLE_LIMIT": 256, }