As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ms-dos]

MS-DOS, the Microsoft Disk Operating System, its OEM-branded versions, and x86 DOS clones in general.

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

How to redirect stderr in MS-DOS? [duplicate]

I am using CVS 1.3 in MS-DOS 6.22. When I execute cvs -?, the top of the help output scrolls off my 80x25 screen. I cannot redirect the output to file as I suspect it is streamed to stderr (eg. cvs -? ...
mvanle's user avatar
  • 111
22 votes
2 answers
2k views

Using Clang to compile MS-DOS executables

I have a simple C program, and I would like to compile it targeting MS-DOS. Can this be achieved with Clang? I would like to produce the following formats: COM executable 16-bit MZ executable 32-bit ...
tpimh's user avatar
  • 321
13 votes
1 answer
2k views

Did x86 CPU vendors like Intel, NEC, AMD, and Cyrix provide their own debugger for DOS with better CPU support and was it free?

MS-DOS's debugger DEBUG.EXE did only support the assembly/disassembly of 8086 opcodes. DR-DOS's debugger SID86.EXE, SID.EXE and Novel's debugger DEBUG.EXE did support 80286 opcodes and more, but no ...
Coder's user avatar
  • 391
11 votes
0 answers
173 views

What is the difference between the different versions of the SID or SID86 debugger for the x86 PC that was shipped with the different DR-DOS versions?

I did a little research about Digital Research's 8086 Symbolic Instruction Debugger. Short name SID86.EXE and SID.EXE in later versions. But I couldn't find some sort of version history? I would ...
Coder's user avatar
  • 391
33 votes
1 answer
4k views

Why did DOS-based Windows require HIMEM.SYS to boot?

My understanding is that all versions of Microsoft Windows that ran on top of DOS — that is, the lineage from Windows 1.0 up to Windows ME, even though the reliance on DOS diminished over time — ...
mkay's user avatar
  • 679
11 votes
2 answers
993 views

How do I stop the Flickering on Mode 13h?

I'm making a Small Graphics Library for MS-DOS 6.22, using mode 13h with Turbo C on Vbox. Recently, I was able to code a small snippet to move a sprite on the screen, using double buffering and I saw ...
SlickSpore's user avatar
24 votes
16 answers
4k views

What were the most popular text editors for MS-DOS in the 1980s? [closed]

Since versions 1-5 of MS-DOS only came with the Edlin line-based editor, but were released on the IBM PC and compatibles, which had screen-based user I/O, my feeling is that most users wouldn't have ...
Brian Reading's user avatar
17 votes
4 answers
3k views

Document format for a DOS word processor where control commands begin with a dot

I successfully achieved the reading of several 5.25″ old floppies. They contain old documents from a retired lawyer. For the memories, we want to read them correctly, nevertheless, I don't find which ...
David Sosa's user avatar
5 votes
1 answer
499 views

How can I make the Microsoft C compiler for DOS emit a loop with an intermediate jump to continue?

I am trying to recreate the exact C source code from some 16bit DOS 8086 assembly generated by the MS C 5.0 compiler. After making some progress, I've hit a wall with the following code (annotated in ...
neuviemeporte's user avatar
21 votes
1 answer
3k views

Why does invoking a bat file from another bat interrupt the first?

I'm looking for some historical context, valid for both any Windows prompt but my guess would be that the behaviour can be seen at least from MS-DOS, if not earlier. It feels counter-intuitive to me ...
bracco23's user avatar
  • 313
24 votes
6 answers
5k views

Did MS-DOS have any support for multithreading?

Common wisdom seems to be that MS-DOS was an exclusively single-threaded OS. Of course, implementing a scheduler would be possible, but the OS itself did not provide any facilities for multithreading, ...
neuviemeporte's user avatar
8 votes
1 answer
529 views

How to make Microsoft C for MS-DOS emit an immediate-target far call into the data segment?

I am trying to recreate the C source code from some 16bit DOS 8086 assembly generated by the MS C 5.0 compiler. I've hit a wall with this far call instruction. 0000008D 9A2F0CB506 call 0x6b5:...
neuviemeporte's user avatar
1 vote
0 answers
164 views

Math and French practice floppies

A long time ago, at school, they used to provide us with some 5.25 inches floppies each year. The teacher used to boot Unisys PCs with some bootable floppies (I do not believe they had hard disks), we ...
user10191234's user avatar
  • 1,625
6 votes
1 answer
513 views

Basic page layout program from the PrintMaster 2.0 era

I remember it as "Fantasy" but the lack of results makes me think I may be wrong. All I know for sure is that it was a single page layout program; it was contemporary with PrintMaster 2.0, ...
alecail's user avatar
  • 163
26 votes
3 answers
4k views

What did Ctrl+NumLock do?

In my answer here I infer that the unusual scancode for the Pause/Break key emulates the user pressing and then releasing CtrlNumLock. Obviously that key combination did something specific, back when ...
user253751's user avatar
25 votes
2 answers
3k views

Did any DOS compatibility layers exist for any UNIX-like systems before DOS started to become outmoded?

Quoting from Jim Hall's "FreeDOS turns 25 years old: An origin story": Around 1994, Microsoft announced that its next planned version of Windows would do away with MS-DOS. But I liked DOS. ...
ArrayBolt3's user avatar
7 votes
2 answers
354 views

How did ‘logically-sectored FAT’ work?

While browsing online materials about the FAT file system, I occasionally came across mentions of ‘logically-sectored FAT’. This was apparently some kind of special mode of formatting a hard drive, ...
user3840170's user avatar
  • 20.5k
16 votes
1 answer
3k views

Did Digital Research clean-room MS-DOS?

From https://en.wikipedia.org/wiki/DR-DOS DR-DOS (written as DR DOS, without a hyphen, in versions up to and including 6.0) is a disk operating system for IBM PC compatibles. Upon its introduction in ...
rwallace's user avatar
  • 55.7k
9 votes
0 answers
538 views

When did Kay Nishi offer a million dollars for a competing DOS?

The development of Digital Research's fully-compatible MS-DOS competitor, DR DOS, was encouraged when, according to https://retrotechnology.com/dri/dri_wein.html After DOS Plus for Philips we did a ...
rwallace's user avatar
  • 55.7k
17 votes
2 answers
1k views

Which is the first version of DOS to support more than one reserved sector in a FAT file system?

I'm trying to fix a problem when trying to use DOS stuff on SSDs. The problem is sector alignment in an SSD is completely different from what DOS expects, and writes to FAT do funny things when the ...
Joshua's user avatar
  • 1,181
4 votes
1 answer
834 views

Memory requirements for undelete command

During MS-DOS days, an Undelete command existed and provided three levels of protection. Sentry is pretty much the same as the Recycle Bin, it moves deleted files to a directory called Sentry. Tracker ...
user10191234's user avatar
  • 1,625
4 votes
1 answer
223 views

Disable motherboard floppy controller DOS

I have a SuperMicro P4SCA motherboard (manual) running FreeDOS 1.3. The motherboard has an onboard floppy controller as part of a W83627HG (datasheet). However, this floppy control fails to provide ...
MattHusz's user avatar
  • 149
23 votes
1 answer
4k views

Why was the graphical user interface version of Defrag removed?

I remember in MS-DOS 6.22 that Defrag had a GUI that showed its progress and how it was moving files. It wasn't there in Windows XP and I can only assume that it wasn't in Windows 95, 98, 2000 either (...
user10191234's user avatar
  • 1,625
15 votes
1 answer
745 views

What type(s) of compressed files was the MS-DOS EXPAND command able to decompress?

What type(s) of compressed files was the MS-DOS EXPAND command able to decompress? And what command was its counterpart?
El tornillo's user avatar
14 votes
3 answers
4k views

Which font with slashed zero is being used in this screengrab?

Do you know which font is being used in the video here: https://www.youtube.com/watch?v=xnudvJbAgI0? A screengrab of the video that shows a lot of text: We can see that the zeros are slashed, so it ...
Lone Learner's user avatar
22 votes
7 answers
7k views

Why did "protected-mode MS-DOS" never happen?

Software written for MS-DOS used DOS extenders as early as on PC/AT (DOS/16M), and starting from i386-based systems, DOS extenders became really widespread. I'd think it was pretty obvious at the time ...
DmytroL's user avatar
  • 2,092
7 votes
2 answers
714 views

Tiny libc for DOS 8086

I'm looking for a tiny libc (C runtime library) targeting small model DOS 8086, and providing (most of) the C89 library functions, including fread(...), printf(...) and scanf(...). The libc must work ...
pts's user avatar
  • 1,385
22 votes
7 answers
4k views

Disk compression risks in MS-DOS

Continuing my nostalgia reading of Dan Gookin's DOS For Dummies, there is a section that literally advises against compression programs like DriveSpace and calls it a solution to a problem not some ...
user10191234's user avatar
  • 1,625
4 votes
1 answer
138 views

Tandy 1000 TDYSPKR utility

I've seen reference to a TDYSPKR (.EXE or .COM?) tool that sets audio output options on the early Tandy 1000 series of computers (1000, 1000A, 1000SX, 1000TX, maybe others). Apparently it can toggle ...
craig65535's user avatar
3 votes
0 answers
240 views

VisiCalc V1.0 is not working on modern computer as expected

I am trying to run Visicalc on the modern laptop (Lenovo Thinkpad X1 Extreme Gen.2). I created bootable flash drives with DOS 6.22 and Free DOS, booted from them and ran visicalc (vc.com file). All ...
Art Spasky's user avatar
8 votes
2 answers
1k views

How to use all memory on an IBM PC with 8086

I'm developing software for the IBM PC with an 8086 processor. I want my program to use all available memory. I know that I can use DOS int 21h function AH=48h to allocate all available conventional ...
pts's user avatar
  • 1,385
5 votes
1 answer
858 views

MS DOS 6.22 hangs on modern hardware after loading HIMEM.SYS

I am trying to run MS-DOS 6.22 on modern hardware. I successfully created bootable flash disk with MS-DOS 6.22. But when it starts with HIMEM.SYS enabled in CONFIG.SYS it hangs. Searching Internet the ...
Art Spasky's user avatar
9 votes
1 answer
1k views

Purpose of Recover command in MS-DOS

Continuing my reading of Dan Gookin's MS-DOS 6 pour les nuls (More DOS for Dummies ?), I've discovered in an otherwise light and funny (at least the French translation is) book about DOS a section ...
user10191234's user avatar
  • 1,625
27 votes
5 answers
3k views

Why does the FAT file system have separate ‘hidden’ and ‘system’ attributes?

File systems used by DOS and Windows have used file attribute bits as a relatively prominent feature. The first of them, FAT, exposes four attributes to the user: read-only, archive, hidden and ...
user3840170's user avatar
  • 20.5k
19 votes
1 answer
3k views

How did SmartDrive work?

I've recently unearthed an old book called MS-DOS 6 pour les nuls (More DOS for Dummies) by famed C programmer Dan Gookin. It was (still to me) a very interesting book in which he talks about MS-DOS ...
user10191234's user avatar
  • 1,625
8 votes
1 answer
338 views

What versions of MS-DOS or PC-DOS supported the "+,," syntax on COPY? Is there documentation on its origin?

I remember reading in an IBM PC-DOS manual, around 1988 maybe, that there was a special syntax of the COPY command : COPY A.TXT +,, which would simply update the file's last change date to now. This ...
Nimloth's user avatar
  • 2,038
15 votes
4 answers
2k views

Looking for an open source DOS .com program written in assembly

I'm writing a NASM-compatible assembler targeting the Intel 8086, and I'm looking for an existing open source program written in assembly, with which I can showcase the capabilities (and understand ...
pts's user avatar
  • 1,385
11 votes
1 answer
1k views

What was the purpose of the ‘overlay number’ field in the MZ executable format?

Many materials covering the layout of MZ executables (RBIL, for example, and even a comment in MS-DOS 2.0 source code) describe the word at offset +0x1a as the ‘overlay number’, with the value zero ...
user3840170's user avatar
  • 20.5k
9 votes
1 answer
488 views

How can I properly execute and clean up after a DOS MZ executable loaded into memory with int21 function 4b01h?

Ralf Brown's Interrupt List describes a subvariant of the DOS int21/4Bh function with AL=01, where the program is loaded into memory and a PSP + stack are allocated for it, but the program is not ...
neuviemeporte's user avatar
12 votes
3 answers
6k views

Does the kernel of Windows 95/98/ME have a name?

In this question: Why was the DOS kernel discarded? I was told that DOS is not a kernel. It runs on CPUs that don't even have kernel mode. So how can it be a kernel? So I think this is right. Now if ...
zomega's user avatar
  • 3,907
25 votes
3 answers
3k views

Most modern C compilers targeting DOS 8086, running on DOS 8086 (16-bit)

I'm looking for the most recent versions of modern C compilers which were/are targeting DOS 8086, also running on DOS 8086 (16-bit). I'm mostly interested in production-ready C compilers, rather than ...
pts's user avatar
  • 1,385
15 votes
8 answers
7k views

Why was the DOS kernel discarded?

I've read that the last DOS kernel based Windows was ME. Later versions use the NT kernel. Why did Microsoft rewrite the whole kernel? Why was the DOS kernel discarded?
zomega's user avatar
  • 3,907
7 votes
1 answer
362 views

Origin of PALMPC.ZIP "Palm PC emulator"

The program PALMPC.COM, which is available on an old link in the Internet Archive, and also on e.g. S.U.P.E.R., apparently provides graphics emulation, including interrupt 0x5F used by the HP/Lotus ...
Tomas By's user avatar
  • 2,012
10 votes
3 answers
1k views

How to write text in MODE 0x13?

I have read How to write directly to video memory using "debug.exe" in MS-DOS? and I know how to write text to video memory in mode 0x3 but I can't figure out how to write text to video ...
Lone Learner's user avatar
18 votes
3 answers
5k views

How to keep running DOS 16 bit applications when Windows 11 drops NTVDM

I have a business client who runs an old DOS 16-bit accounting and point-of-sale system in his industrial supply warehouse. He does not want to switch from the legacy DOS application since all of his ...
TaoRich's user avatar
  • 191
3 votes
0 answers
481 views

FreeDOS and USB support

I have an old Fujitsu LifeBook that I want to install Windows 98 on. I burned a Windows 98 CD and verified it works, but the LifeBook's CD drive cant seem to read it. I do know the CD drive works, as ...
Keltari's user avatar
  • 371
5 votes
2 answers
826 views

Which document format is this? (.MAN/.STR/.TAB/.IND)

I have these files, which were all in one .zip: DPMANUAL.MAN DPMANUAL.STR DPMANUAL.IND DPMANUAL.I01 DPMANUAL.I02 DPMANUAL.TAB DPMANUAL.TXX They are supposedly a manual (for DataPerfect). The file ...
Tomas By's user avatar
  • 2,012
10 votes
11 answers
904 views

Towards people who were there, what programs did you use to develop applications for the IBM 5150? [closed]

I want to get into programming on old MS-DOS systems, before then going to older DOSs like CP/M. However, while programming for MS-DOS I'd like to also use era-appropriate software, both for the ...
Sage Hendricks's user avatar
6 votes
1 answer
210 views

Row locking on RM/COBOL-85

Near 21-22 years ago I worked in a COBOL-based shop. This business had one LOB application written in RM/COBOL-85, and deployed it to multiple customers with different network types (Xenix with dumb ...
mHouses's user avatar
  • 163
27 votes
2 answers
4k views

Did MS-DOS ever drop ability to support non-IBM PC compatible machines?

Early MS-DOS versions were designed and indeed adapted to run on machines not fully IBM PC compatible. However, there seems to be a number of utilities bundled with later versions, that seem not to ...
tuomas's user avatar
  • 2,383

1
2 3 4 5 6