BASIC-DOS

A PCjs Retro-Programming Project

BASIC-DOS is on Twitter Project maintained by jeffpar

BASIC-DOS with a Serial Port

This IBM PC XT boots the BASIC-DOS HD Serial Port Demo diskette and runs two independent consoles: an 80x25 console on the Color Display and a serial console on COM1 at 9600 baud, with no parity, eight data bits, and one stop bit. The serial console uses the GENERIC terminal mode for this text pane. The PC XT has no clock to keep the date and time, so this page types DATE and TIME commands with the current date and time at the first prompt.

Click the Serial Display pane to the right of the machine and type a command, such as DIR or PRINT "Hello from COM1". Click the Color Display to use the local console, and try commands such as DIR > COM1 or DIR > AUX. Both consoles share the same hard disk.

IBM PC XT, 640Kb RAM, Hard Disk and Serial Display

Color Display
Caps
Num
Scroll
Serial Display
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 .

Press any key at the boot message (or wait 2 seconds) to start the diskette. Its CONFIG.SYS creates both consoles and launches C:COMMAND.COM for each. Each session starts on the drive named in its SHELL line, so both sessions start on C:. The hard disk supplies programs and files.

CONFIG.SYS from the BASIC-DOS HD Serial Port Demo diskette

REM Local and serial displays, using shells on the hard disk
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT;C:\DEMOS;C:\SAMPLES;C:\TOOLS\BIN":HELLO.BAT
CON=COM1:9600,N,8,1,GENERIC
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT;C:\DEMOS;C:\SAMPLES;C:\TOOLS\BIN"

Changes to the hard disk are lost when you leave the page. Use Save HD to download a copy as an IMG file.

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