BASIC-DOS

A PCjs Retro-Programming Project

Project maintained by jeffpar

BASIC-DOS on an IBM PC XT with a VT100 Terminal

The machine below is an IBM PC XT (Model 5160) with a 4.77Mhz 8088, 640K of memory, an Enhanced Color Display, two diskette drives, and a 10Mb hard disk. It boots the BASIC-DOS HD VT100 diskette and runs two independent consoles: an 80x25 console on the Enhanced Color Display, and a console on a DEC VT100 terminal connected to COM1. The PC XT has no clock to keep the date and time, so PCjs supplies them at startup.

IBM PC XT, 640Kb RAM, 10Mb Hard Disk, EGA

Enhanced Color Display
Caps
Num
Scroll
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
Esc
1 !
2 @
3 #
4 $
5 %
6 ^
7 &
8 *
9 (
0 )
- _
= +
Back
-
Num
Scroll
Tab
Q
W
E
R
T
Y
U
I
O
P
[ {
] }
↵
7
↑ 8
9
Ctrl
A
S
D
F
G
H
J
K
L
; :
' "
` ~
← 4
5
→ 6
+
Shift
\ |
Z
X
C
V
B
N
M
, <
. >
/ ?
Shift
PrtSc
1
↓ 2
3
Alt
Space
Caps
Ins 0
Del .
Esc
Tab
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
Num
Scroll
1 !
2 @
3 #
4 $
5 %
6 ^
7 &
8 *
9 (
0 )
- _
= +
Back
-
+
Q
W
E
R
T
Y
U
I
O
P
[ {
] }
↵
7
↑ 8
9
A
S
D
F
G
H
J
K
L
; :
' "
` ~
← 4
5
→ 6
\ |
Z
X
C
V
B
N
M
, <
. >
/ ?
Shift
PrtSc
1
↓ 2
3
Ctrl
Shift
Alt
Space
Caps
Ins 0
Del .

DEC VT100 Terminal

VT100 Display
ON LINE
LOCAL
LOCKED
L1
L2
L3
L4
CAPS

Press any key on the Enhanced Color Display at the boot message (or wait 2 seconds) to start the diskette. Then click the VT100 screen and type a command, such as DIR or PRINT "Hello from the VT100"; click the Enhanced Color Display to use the local console. Changes to the hard disk are lost when you leave the page.

The VT100 has DEC’s Advanced Video Option (AVO), which gives it bold, blinking, and underlined characters, and 24 rows in 132-column mode (try WIDTH 132). A VT100 without the AVO is also available.

Additional hardware options:

The BASIC-DOS HD VT100 diskette’s CONFIG.SYS creates two independent consoles: a local 80x25 console, and a console on a DEC VT100 terminal connected to COM1 at 9600 baud. Both sessions start on drive C:, the hard disk, and share its programs and files.

The VT100 console uses the COM driver’s VT100 terminal type, so commands like CLS and LOCATE use VT100 escape sequences, the VT100’s DELETE key erases the previous character (like the PC’s BACKSPACE key), and XON/XOFF flow control is enabled, which the VT100 relies on whenever it falls behind (eg, while smooth scrolling). COLOR selects the VT100’s character attributes, and WIDTH 40, 80, or 132 sets its columns.

There’s also a Serial Port demo, which uses a simple text pane on COM1 instead of a terminal.

CONFIG.SYS from the BASIC-DOS HD VT100 Diskette

REM Local display and VT100 terminal, with shells on the hard disk
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT\CMD;C:\EXT\BAS;C:\DEMOS;C:\TOOLS\BIN" : HELLO
CON=COM1:9600,N,8,1,VT100
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT\CMD;C:\EXT\BAS;C:\DEMOS;C:\TOOLS\BIN"

Copyright (c) 2020-2026 Jeff Parsons Released under MIT License