Questions tagged [ms-dos]

For questions regarding MS-DOS, the Microsoft Disk Operating System, and its batch scripting language. Do not use this tag for questions about DOS batch languages in general.

Filter by
Sorted by
Tagged with
1
vote
1answer
199 views

How to remove Virus:DOS/V_Sign from a DOS 6.22 system

Fresh install of dos 6.22, unfortunately there appears to be a virus in MBR, each time I get Virus:DOS/V_Sign when re-using floppy from this machine. I can't connect HDD to modern PC, any idea how I ...
10
votes
1answer
594 views

Difference between INT 0x20 and INT 0x21 (0x4C)?

Checking the MS-DOS interrupt list we see INT 0x20 "Terminate the program" (see https://en.wikipedia.org/wiki/DOS_API) but if we check the same page we see INT 0x21 with function 0x4C will &...
2
votes
1answer
82 views

Does there exist a MPU-401 to OPL3 TSR for MS-DOS?

There are a few games for MS-DOS with music only through MPU-401, like the platformer Abuse and the RPG Avalon. Is there a TSR available that intercepts MPU-401 port accesses and transforms them into ...
4
votes
0answers
211 views

SSH for DOS / Win 3.1

Is there an SSH client for DOS 6.22 or Windows 3.1 that supports certificates and could be used to connect to AWS or Azure instances, or any other server for that matter? I have another laptop ...
2
votes
2answers
1k views

Why does changing a DOS/Windows EXE cause it to not run? [closed]

If I hex-edit an EXE for DOS or Windows, by adding or removing some text for example, it will no longer run. If I just change a single char around to a different one, it may run. Is this some anti-...
10
votes
3answers
488 views

How can I boot or extract files from an IBM PS/1 with a DoubleSpace-compressed hard drive?

I’m trying to boot an old IBM PS/1, mostly with the intention to read out its hard disk. I realized quickly that the original floppy disk drive was broken, so I replaced it with a Gotek floppy ...
24
votes
3answers
5k views

Why does DOS ask for the current date and time upon booting?

In most versions of DOS, when they are started from a medium that lacks an AUTOEXEC.BAT file, the very first thing COMMAND.COM does is ask the user to confirm the current date and time: Starting PC ...
7
votes
4answers
1k views

Any tools (that actually work) for viewing PDF files in FreeDOS?

I recently installed FreeDOS on an old laptop and then transferred some dosbox based GOG games I own to the FreeDOS installation. The problem is the manuals for these games is in PDF format and I ...
2
votes
2answers
170 views

Why isn't this invocation of XMS function Move EMB 0Bh in Turbo C correct?

Following on from my last question, I cannot get Move Extended Memory Block (Function 0Bh) working in Turbo C 2.01. The following main.c contains only the minimum functions: get the XMS driver pointer,...
4
votes
2answers
415 views

How can I malloc() a block that's guaranteed to lie within a single DMA segment in Turbo C 2.01?

I'm following root42's videos about DOS programming using Turbo C 2.01. I've written my own Soundblaster 1.xx driver following the Creative Labs documentation, and I'm confused about memory allocation....
13
votes
2answers
893 views

Emulate a text-mode DOS program using a Unix terminal

Is it possible to run a text-mode DOS program in an emulator under a Unix-like operating system (Linux/*BSD/macOS) such that DOS text-mode input and output is done on a Unix terminal instead of a ...
9
votes
3answers
1k views

What did the SELECT command do in DOS?

The introduction to Greg Harvey’s DOS for Dummies: Quick Reference (also subtitled Command Reference in the first edition) contains this passage: This book not only gives you the lowdown on each and ...
3
votes
1answer
174 views

Does anyone have information about the nj32disk.sys driver?

I'm currently trying to use the nj32disk.sys driver to use my USB stick as a virtual hard drive. The problem is that the driver acts like a floppy disk. My question is: Is there a documentation about ...
2
votes
1answer
230 views

Dosbox with C-compiler and gui [closed]

I have Ubuntu 20.04 and Dosbox 0.74-3. Is is possible to install GUI for this dosbox? Can one install C compiler for this box?
3
votes
1answer
144 views

What is the *BEAST* event-recording software grammar?

I recently recovered a data-set my father (a biology professor) recorded at UC Berkeley in the 90s on Stickleback mating behaviors. He says the data was recorded using the "open-source BEAST ...
10
votes
3answers
1k views

Disassembling Windows IO.SYS

Under the question How did Windows ME "cripple" DOS?, Ross Ridge's answer showed a section of his disassembly. I would like to know, a) what disassembler was used and b) what adjustment or ...
5
votes
1answer
368 views

Which were the best selling early MS-DOS PCs apart from the IBM PC?? [closed]

The IBM PC in 1981 was rapidly followed by a rich ecosystem of computers with x86 CPUs running MS-DOS, not all of which were compatible at the hardware level. There is a list of some early MS-DOS ...
12
votes
3answers
2k views

What was the second most common incompatibility in MS-DOS machines? [closed]

When the IBM PC was released, it did not take long for people to figure out that there would be a big market for compatible machines. The first wave relied on MS-DOS as the compatibility layer. The ...
4
votes
1answer
231 views

Are there any copies of ICL MS-DOS 4.1 available for emulation?

The first PC I ever owned was the ICL DRS PWS 300 as described in this press release. It was originally supplied with a copy of multitasking MS-DOS 4.1 (and Windows 1.0, which isn't mentioned in the ...
32
votes
4answers
5k views

Why was 'echo on' chosen as the default setting within batch scripts in MS-DOS?

In my experience, just about every single MS-DOS (and thus Windows cmd) batch file starts with the line @echo off, to silently switch off echoing of the commands in the batch file to the console. This ...
5
votes
1answer
228 views

What is the format of the static libraries shipping with legacy Microsoft C for DOS?

I have installed Microsoft C 5.10 on DOS 6.22. It created a 'LIB' directory with static libraries to link against. Now I need to extract the symbols and the code for the functions from them, but can't ...
5
votes
2answers
498 views

Is there any virtual hard disk driver over serial port?

NOTE: I'm not looking for a way to transfer files from Linux to DOS over Serial cable Is there any MS-DOS driver to enable a new hard-disk drive (let's say D:), using a disk image on another computer ...
4
votes
1answer
289 views

What is the memory layout in MS-DOS

I know that when an .COM file is loaded, DOS loads its contents into memory, sets the segment registers (CS, DS and SS) to point to the 64KB segment and then performs a jmp to the starting address. ...
17
votes
1answer
3k views

How did large .COM files work?

An MS-DOS .com file is just raw code/data without header, thus no linking information, and was limited to be loaded into just one segment (64kB). That's the reason corrupted binaries would print "...
3
votes
2answers
566 views

Are .COM executable binaries real mode or protected mode?

Windows and DOS binary executable files with the .EXE extension have an MZ header in them and nowadays also a PE header. But before these there used to also be .COM binary executable files and they ...
2
votes
1answer
678 views

Looking for a strange DOS database GUI that ran on 286+

I have recently been getting into older apps from when I was a kid; one of these was this strange DOS shipping(?) database GUI that ran on at least a 286, but looked like Windows 3.1; however when you ...
2
votes
3answers
263 views

C/C++ UI library similar to Visual Basic for DOS

I'm looking for a UI library that offers a similar "experience" to that provided by Microsoft's infamous, Visual Basic for DOS RAD environment. I mean, it's such a compelling environment, ...
16
votes
2answers
2k views

How does Windows 9x determine which disk drivers correspond to which BIOS disks/DOS drive letters?

Windows 9x can employ two kinds of disk drivers: native protected-mode drivers and compatibility-mode DOS drivers, and the former are used in preference to the latter whenever possible. When Windows ...
11
votes
2answers
939 views

What physical size and density floppies are the intermediate-capacity options for the /F switch of the DOS/Windows/OS/2 FORMAT command meant for?

In MS-DOS 5.0 and newer, PC-DOS 5.0 and newer, Windows 9x, Windows NT 3.1-2000, and OS/2 4.x, the FORMAT command (present in some form or another in literally every single version of Q/86-/MS-/PC-DOS, ...
8
votes
3answers
873 views

How can I access/use memory outside of the standard 1 MB address range of MS-DOS?

How do you access more memory (above the 1MB) in DOS if the 640KB of conventional memory are not enough? I have read a lot about this, but I couldn't figure out how to do this in actual code. Is ...
5
votes
1answer
497 views

When will the copyrights on various versions of Windows and DOS expire?

Related to question What is the best way to obtain old versions of MS-DOS and Windows? When will the copyrights on various versions of Windows and DOS expire? Once they expire I presume one could ...
47
votes
1answer
10k views

What is the context of the button “Is MS DOS a feminist?”

I just saw this button in the Computer History Museum, and I'm wondering what is the context? Context removed, "Is MS DOS a feminist?" is about the most non-sequitur thing I've seen.
8
votes
4answers
1k views

Imaging a HDD from DOS over Serial

I have recently fixed an old IBM Clone, which has an MFM hard drive. The PC booted up fine, but then I saw, that a few years back, I have deleted a few important files (probably by mistake). The ...
2
votes
1answer
277 views

Kermit pauses when switching between apps in windows 3.1

I wrote a batch file which sends some files over a serial port in Windows 3.1, using kermit.exe. The problem is: when the user switches between apps, the kermit batch will freeze till the next time ...
56
votes
7answers
9k views

Why did the MS-DOS API choose software interrupts for its interface?

Access to the DOS API was done through the INT 21h x86 instruction. This was always counter-intuitive to me, coming from 8-bit systems that accessed system services by calling subroutines through a ...
2
votes
1answer
443 views

How to configure NETWORK and TCP on a DOS VM

I'm trying to install and use the Arachne broswer under DOS (6.22). I've DOS installed on VirtualBox VM (5.2.34) under Linux Ubuntu (4.15.0-88-generic #88-Ubuntu). I'm in trouble in configuring ...
5
votes
1answer
140 views

Why does MS-DOS 5.0 EDIT hang on my XT-class machine with a German 102-key keyboard?

Most times whene I call EDIT on my XT-class machine with MS-DOS 5.0 installed on the hard disk, the menus of EDIT appear, but the window that should contain the file contents stays blank and the ...
19
votes
6answers
2k views

Sound driver for DOS or Windows 3.x that used the PC speaker?

Long ago in a galaxy far far away, back in the early 90's, I worked for a crappy clone company as a phone technician. At the time, 386SX/25's were common for in-house technical support / customer ...
11
votes
4answers
1k views

Is it a Directory, a List, or a Catalogue?

There are three common CLI commands on microcomputers that all mean the same thing: "Show me the contents of a volume, disk, or sub-directory". I will mention that the noun "Catalogue", and the ...
12
votes
2answers
2k views

What DOS games used Mode X as described by Michael Abrash?

In Michael Abrash's Graphics Programming Black Book, many chapters are dedicated to fast drawing of primitives, fills and copies using the 320x240 256-colour Mode X. What MS-DOS games used Mode X? ...
-1
votes
1answer
509 views

Get himem.sys working on a AMI 1.06.09 bios (not on VM)

I tried many 98SE boot disks online, they all boot successfully on my mobile workstation from USB (C:\>), but all can't run the Windows 98SE Installer because of XMS Memory, giving an error like: ...
13
votes
1answer
1k views

Why are the out-of-bounds areas of Doom distorted on MS-DOS?

Why do the OOB (out-of-bounds) areas of Doom look so unusual? As seen in the image above, the Doom engine not only incorrectly renders the scene, but also renders slices of other scenes that aren't ...
2
votes
1answer
244 views

Serial Braille DOS driver on XP or higher?

Friend uses old braille displays in his company, but their producer does not exist, they use serial port and there is problem with either drivers (Ethernet) for <= Win 98 or serial access on NT+ on ...
5
votes
3answers
560 views

64GB compact flash not booting up in DOS

I have purchased a 64GB compact flash UDMA card and am unable to boot up in DOS. The machine I'm running has a Pentium 1.6Ghz process in it just to give you an idea about how "modern" it is compared ...
12
votes
3answers
3k views

Running DOS, Windows 3, and Windows 98 from one FAT32 partition?

I'd like to setup a Windows 98 SE system that boots into the included MS-DOS 7.1 command line, and which can also run Windows 3.11. I've seen various disjointed posts online that suggest this is ...
4
votes
1answer
308 views

Can't boot FAT32 larger than 2GB, unlike Fat16

Why can my PC not boot Fat larger than 2GB (Fat32) in legacy mode, but FAT16 and NTFS work fine? It just gives me a non-system disk error, while booting the same (Dos boot disk) files under Fat16 ...
26
votes
9answers
6k views

What other tricks were there to get more data onto floppy disks?

I remember using a utility back in MS-DOS 3.3 days, called MAXI Disk, that somehow magically managed to get 420K on a 360K 5¼″ disks. I assume it managed it by destroying some redundancy like a backup ...
5
votes
1answer
199 views

Can't install El-Fish on MS-DOS 6.22

El-Fish is a fish tank "game", where you have virtual fish on your screen. The game has no goal, it's more like an interactive screen saver. I got my version from a number of different sources, one ...
7
votes
2answers
946 views

Were any DOS games (or software) known to use VBE/AF?

Were there any MS-DOS games or graphics software that were known to take advantage of VESA BIOS Extensions/Accelerator Functions (VBE/AF)? some of the functions defined in the standard are ... Bit ...
22
votes
9answers
6k views

Why does the single dot entry exist in file systems?

There is plenty of literature about its meaning, the current directory, but I would like to ask about why such thing do exist in first instance. While CHDIR .. usefulness is obvious, i.e. go to the ...