Skip to content

Guide:Installing PC DOS 7

Robert edited this page Apr 9, 2020 · 24 revisions

Installing PC DOS 7 or PC DOS 2000 in DOSBox-X

Overview

Editions this applies to

PC DOS 7, revision 0

  • First version to use XDF disks

  • Adds a command-line calculator

  • Adds ability to load device drivers from command line

  • Adds REXX language support

  • Stacker disk compression replaces Addstor SuperStor

  • Adds PenDOS

  • Adds Phoenix PCMCIA support

  • Adds HELP file viewer (OS/2 INF format)

PC DOS 2000 (aka PC DOS 7.0, revision 1)

  • First and only commercial DOS release to be available on CD-ROM

  • Minor Y2K fixes

  • Adds Euro currency symbol support

Notes

  • Some disk versions of IBM PC DOS 7 and 2000 were distributed in IBM XDF format or IBM DSKF image format. Neither of these image formats can be used in DOSBox-X.

    • XDF image files are easy to recognise as they use the .XDF extension. They are incompatible with DOSBox-X’s FDD emulation, and cannot be converted to a disk image format that DOSBox can handle. Original disks in XDF format also cannot be read on a modern PC with a USB diskette drive.

    • DSKF image files are trickier to recognise as they use the same .DSK extension as is common for regular MFM disk images. DOSBox-X will happily try to boot a DSKF disk image and fail. On Linux you can run the command file filename.dsk, and if it returns floppy image data (IBM SaveDskF), it is a DSKF disk image. Another way is to check the size of the .DSK file. If it is exactly 1474560, 1228800, 737280 or 368640 bytes, it is likely to be a regular MFM disk image (in respectively 1.44MB, 1.2MB, 720KB or 360KB sizes). The size of a DSKF disk image will instead vary. DSKF images can be written to diskette with LOADDSKF, but this fails in DOSBox-X.

  • The PC DOS 2000 CD-ROM release is a bit of an odd release. One may expect that the CD-ROM is bootable, or that there is a DOS boot diskette provided with CD-ROM drivers. But neither is the case. Officially you could install it in one of two ways:

    • If you already have some version of DOS installed with CD-ROM support, and want to upgrade, you can directly run SETUP.EXE from the CD-ROM to install onto your system.

    • If you want to do a clean install, the CD-ROM contains six 3.5" 1.44MB disk images in IBM DSKF format together with LOADDSKF to write them to diskettes. You can then boot from the diskettes to install PC DOS 2000.

Creating a PC DOS 7 HDD image

Installing PC DOS 7.0, revision 0 is problematic due to the XDF diskettes which are not supported by DOSBox-X. You would need to install it on either a legacy-PC, or a virtual machine like VMware or VirtualBox and then transfer the files manually which is outside the scope of this document.

Creating a PC DOS 2000 HDD image from CD-ROM

Do to the limitations mentioned above, you have the following installation options:

  • Use a real legacy PC to write the DSKF image files with LOADDSKF to diskettes, and then convert the diskettes to regular MFM DSK files.

  • Use a virtual machine running DOS to write the DSKF files with LOADDSKF to virtual diskettes, and then convert the virtual diskettes to regular MFM DSK files.

  • Run the SETUP program on the CD image directly from the DOSBox-X integrated DOS. This is the method we will use below.

Note: This method requires us to work around a bug, for which you need to manually copy IBMBIO.COM and IBMDOS.COM files. Also we will disable the DOSBox-X APM emulation during installation, to prevent the PC DOS 2000 setup program from installing the POWER.EXE device driver in CONFIG.SYS, which is incompatible with DOSBox-X.

 CONFIG -SET CPU APMBIOS=FALSE
 IMGMAKE hdd.img -t hd -size 2048
 IMGMOUNT C hdd.img
 IMGMOUNT D PC-DOS_2000.iso -t iso
 D:
 COPY DOSFILES\IBMBIO.COM C:
 COPY DOSFILES\IBMDOS.COM C:
 SETUP

After it finished the install, it will reboot DOSBox-X and your again at the Z:\> prompt. Now type the following to boot PC DOS 2000 normally.

IMGMOUNT C hdd.img
BOOT -L C

Creating a PC DOS 2000 HDD image from diskettes

If you have PC DOS 2000 disk images in non-DSKF format, you can install it as follows:

 CONFIG -SET CPU APMBIOS=FALSE
 IMGMAKE hdd.img -t hd -size 2048
 IMGMOUNT C hdd.img
 BOOT DISK1.IMG DISK2.IMG DISK3.IMG DISK4.IMG DISK5.IMG DISK6.IMG

When prompted to change disk, on the DOSBox-X menu bar select "DOS" followed by "Swap disk". After the installation is finished, from the DOSBox-X menu bar select "Main" followed by "Reset guest system" and you will be back at the DOSBox-X Z:\> prompt.

You can now boot these DOS versions directly from the HDD image as follows:

IMGMOUNT C hdd.img
BOOT -L C
Clone this wiki locally