The machine below is an IBM PC AT (Model 5170) with a 6Mhz 80286, 16Mb of memory (640K of conventional memory and 15,296K of extended memory, which ends where the ROM BIOS appears again, 64K below 16Mb), a Color Display, a 1.2Mb and a 1.44Mb diskette drive, a 20Mb hard disk, and a serial mouse on COM1. It boots the BASIC-DOS Extended Memory diskette, which runs the same three consoles as the Multiple Pages demo, each on its own page of video memory, with their shells on the hard disk. It runs in protected mode, the default on a PC AT, where DOS can also allocate memory from extended memory. Use SHIFT-TAB to switch between them.
The diskette’s CONFIG.SYS also loads VDISK.SYS on any machine with at least 13Mb of extended memory, so here, drive D: is a 12Mb RAM disk in extended memory; try copying files to it (eg, COPY C:\DEMOS\*.* D:), and then DIR D: and CHKDSK D:.
See Protected-Mode Initialization for more details.
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, and its [COMMON:13M] block (see Startup Menus) loads VDISK.SYS only on a machine with at least 13Mb of extended memory, so the 2Mb RAM demos boot the same diskette without one. 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 Diskette loading...; 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, and no RAM disk.
Additional hardware options:
REM Multiple Video Pages (0, 1, and 2) with extended memory, using shells on the hard disk,
REM plus a 12Mb RAM disk (VDISK.SYS) on machines with at least 13Mb of extended memory
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT\CMD;C:\EXT\BAS;C:\DEMOS;C:\TOOLS\BIN" : HELLO
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT\CMD;C:\EXT\BAS;C:\DEMOS;C:\TOOLS\BIN" : FIBO.BAT
SHELL=C:COMMAND.COM PATH$="C:\;C:\EXT\CMD;C:\EXT\BAS;C:\DEMOS;C:\TOOLS\BIN" : PRIMES.BAS
[COMMON:13M]
DEVICE=EXT\CMD\VDISK.SYS 12288 512 64 /E:8
Copyright (c) 2020-2026 Jeff Parsons Released under MIT License