Questions tagged [ms-dos]
MS-DOS, the Microsoft Disk Operating System, its OEM-branded versions, and x86 DOS clones in general.
292
questions
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 -? ...
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 ...
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 ...
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 ...
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 — ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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:...
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 ...
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, ...
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 ...
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. ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 (...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...