BASIC-DOS

A PCjs Retro-Programming Project

Project maintained by jeffpar

BASIC-DOS on an IBM PC with Two 40-Column Consoles

The machine below is an IBM PC (Model 5150) with a 4.77Mhz 8088, 128K of memory, a Color Display, and two diskette drives. It boots the BASIC-DOS 40-Cols diskette and runs two 40-column consoles side by side; use SHIFT-TAB to toggle focus.

IBM PC, 128Kb RAM, Dual Floppy Drives, CGA

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 .

Additional hardware options:

The BASIC-DOS 40-Cols diskette’s CONFIG.SYS defines two 40-column consoles side by side, each running its own copy of COMMAND.COM. The left console runs HELLO.BAT, a batch file that displays a colorful greeting, while the right console runs DIR, which lists the diskette’s root directory, and then waits at a prompt for your next command.

Both consoles are configured with borders, and a double-wide border indicates which console has keyboard focus. Use SHIFT-TAB to toggle focus.

CONFIG.SYS from the BASIC-DOS 40-Cols Diskette

REM Demonstration of two 40-column consoles
SESSIONS=4
SKIP=COM1,COM2,LPT1
CON=VKD$:40,25,1
SHELL=COMMAND.COM PATH$="A:\;A:\EXT\CMD;A:\EXT\BAS;A:\DEMOS" : HELLO
CON=VKD$:40,25,1
SHELL=COMMAND.COM PATH$="A:\;A:\EXT\CMD;A:\EXT\BAS;A:\DEMOS" : DIR

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