BASIC-DOS

A PCjs Retro-Programming Project

Project maintained by jeffpar

BASIC-DOS on an IBM PC with Dual Monitors

The machine below is an IBM PC (Model 5150) with a 4.77Mhz 8088, 128K of memory, two monitors (a Monochrome Display and a Color Display), and two diskette drives. It boots the BASIC-DOS Dual Monitor diskette and runs one console on each monitor: PRIMES.BAS on the Monochrome Display and PIPES.BAT on the Color Display, which pipes the output of DIR through the TR filter (converting it to upper-case) over and over.

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

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

Use SHIFT-TAB to move keyboard focus from one console to the next. For even more consoles, try the Dueling Monitors demo, which runs FOUR consoles, two on each monitor.

Additional demo configurations: IBM PC XT, IBM PC AT, and COMPAQ DeskPro 386.

The BASIC-DOS Dual Monitor diskette’s CONFIG.SYS runs one full-screen console on each monitor: PRIMES.BAS on the Monochrome Display, and on the Color Display, PIPES.BAT, which pipes the output of DIR through the TR filter (converting it to upper-case) over and over.

At first glance, it might appear there are two machines running, but it really is just a single machine running two BASIC-DOS consoles. Use SHIFT-TAB to toggle keyboard focus between them. Since these consoles don’t use borders, the presence of a blinking cursor indicates which console has focus.

A MEMSIZE line in CONFIG.SYS (eg, MEMSIZE=128) can limit the total memory used by BASIC-DOS. You might be tempted to think that MEMSIZE is a way to “partition” memory, so that each session has a dedicated amount, but no – MEMSIZE is simply a means of testing BASIC-DOS with different memory sizes. And in any case, partitioning memory would not be a good strategy.

CONFIG.SYS from the BASIC-DOS Dual Monitor Diskette

REM Demonstration of dual monitors with full-screen consoles
SESSIONS=4
SHELL=COMMAND.COM PATH$="A:\;A:\EXT;A:\DEMOS" : PRIMES.BAS
CON=VKD$:80,25,0,1
SHELL=COMMAND.COM PATH$="A:\;A:\EXT;A:\DEMOS" : TESTS\MISC\PIPES.BAT

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