BASIC-DOS

A PCjs Retro-Programming Project

Project maintained by jeffpar

BASIC-DOS with Extended Memory (VT100 Debugger) on a COMPAQ DeskPro 386

The machine below is a COMPAQ DeskPro 386 with a 16Mhz 80386, 2Mb of memory (640K of conventional memory and 1Mb of extended memory, plus 384K that ends at 16Mb: the last 128K holds the ROM BIOS’s copy of the ROMs, and BASIC-DOS uses the other 256K, at FA0000h), a VGA Color Display, a 1.2Mb and a 1.44Mb diskette drive, a 10Mb hard disk, a serial mouse on COM1, and a DEC VT100 on COM2 for BASIC-DOS’s own debugger. It boots the same BASIC-DOS Extended Memory VT100 diskette as the PC AT version of this demo, which runs the same three consoles as the DeskPro 386 Extended Memory demo, each on its own page of video memory, with the 80386’s features, and loads DEBUG.COM as a driver on COM2. Use SHIFT-TAB to switch between them. Type PAINT in any console to draw with the mouse (click the screen to capture the mouse, and press Esc twice to exit); while PAINT’s graphics mode is on the screen, the other consoles wait.

See The CPU$ Drivers and Debugging for more details.

COMPAQ DeskPro 386, 2Mb RAM, 10Mb Hard Disk, VGA, Serial Mouse

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 Debugger Terminal

VT100 Display
ON LINE
LOCAL
LOCKED
L1
L2
L3
L4
CAPS

The diskette’s CONFIG.SYS defines three full-screen 80-column consoles, each running its own copy of COMMAND.COM: HELLO.BAT in the first, FIBO.BAT in the second, and PRIMES.BAS in the third. Each session’s memory is in its own LDT (local descriptor table), so a session’s programs can’t name another session’s memory. Only the page of the console with keyboard focus is displayed, but every console keeps running.

The boot sector first displays System starting...; press any key (or wait 2 seconds) to boot from the diskette, or press Esc to boot from the hard disk instead. Note that bypassing the diskette and booting from the hard disk will give you only one full-screen console.

Additional demo configurations: IBM PC AT.

CONFIG.SYS from the BASIC-DOS Extended Memory VT100 Diskette

REM Multiple Video Pages (0, 1, and 2) with extended memory, and DEBUG.COM on COM2
DEVICE=EXT\DEBUG.COM COM2:9600,N,8,1,VT100
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT;C:\DEMOS;C:\TOOLS\BIN" : HELLO
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT;C:\DEMOS;C:\TOOLS\BIN" : FIBO.BAT
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT;C:\DEMOS;C:\TOOLS\BIN" : PRIMES.BAS

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