From e7324a5c6a2f6743cea8aebac256d15a1b746216 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Sun, 14 Aug 2016 10:52:24 -0700 Subject: [PATCH] VT100 SET-UP screen is accessible now --- .../pc8080/machine/vt100/debugger/README.md | 20 +- .../pc8080/machine/vt100/debugger/machine.xml | 2 +- devices/pc8080/machine/vt100/machine.xml | 2 +- devices/pc8080/rom/vt100/VT100.asm | 171 +- devices/pc8080/rom/vt100/VT100.lst | 10252 ++++++++-------- modules/pc8080/lib/chipset.js | 32 +- modules/pc8080/lib/keyboard.js | 57 +- modules/pc8080/lib/video.js | 65 +- versions/pc8080/1.23.3/pc8080-dbg.js | 459 +- versions/pc8080/1.23.3/pc8080.js | 321 +- 10 files changed, 5757 insertions(+), 5624 deletions(-) diff --git a/devices/pc8080/machine/vt100/debugger/README.md b/devices/pc8080/machine/vt100/debugger/README.md index 0121c57f7..888a44eca 100644 --- a/devices/pc8080/machine/vt100/debugger/README.md +++ b/devices/pc8080/machine/vt100/debugger/README.md @@ -1,6 +1,6 @@ --- layout: page -title: DEC VT100 Terminal +title: DEC VT100 Terminal with Debugger permalink: /devices/pc8080/machine/vt100/debugger/ machines: - type: pc8080 @@ -13,10 +13,22 @@ DEC VT100 Terminal with Debugger The [PC8080](/modules/pc8080/) machine below is configured to simulate a [VT100 Terminal](/devices/pc8080/machine/vt100/) with a Control Panel and Debugger. It is running the original [VT100 Firmware](/devices/pc8080/rom/vt100/) inside the -[PC8080](/modules/pc8080/) CPU emulator. +[PC8080](/modules/pc8080/) CPU emulator. You'll also find assorted [Hardware Notes](#vt100-memory-usage) below. -Click the "Run" button to start the simulation. You'll also find assorted -[Hardware Notes](#vt100-memory-usage) below. +Click the "Run" button to start the simulation. The VT100 KEYMAP table in [keyboard.js](/modules/pc8080/lib/keyboard.js) +maps modern keys to VT100 key addresses, and most of the mappings are 1-1. Function keys are mapped as follows: + +- F1: PF1 +- F2: PF2 +- F3: PF3 +- F4: PF4 +- F5: KEYPAD COMMA +- F6: BREAK +- F7: LINE FEED +- F8: NO SCROLL +- F9: SET-UP + +The simulation is not fully operational yet, but it is now possible to access the SET-UP screen. {% include machine.html id="vt100" %} diff --git a/devices/pc8080/machine/vt100/debugger/machine.xml b/devices/pc8080/machine/vt100/debugger/machine.xml index 746f1226a..876e6ccc4 100644 --- a/devices/pc8080/machine/vt100/debugger/machine.xml +++ b/devices/pc8080/machine/vt100/debugger/machine.xml @@ -3,7 +3,7 @@ VT100 Terminal - +