128
No. The FAT12/16/32 filesystems store the filename and extension together in a fixed-length 11 character field. The first 8 characters of this field is the filename and the last 3 is the extension. Trailing space characters in both the filename proper and its extension are ignored. The '.' character between the filename and extension is implicit. ...
118
The text-mode cursor isn’t a character, it’s managed separately by the video output circuitry (which is how it keeps blinking even when your computer is busy or locked up). It can be enabled or disabled, and its size can be determined — at least, its start and end scanlines, which determine its height; the cursor always occupies the full width of a character ...
answered Jan 31 '18 at 19:26
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
104
This is covered largely in the history section of Wikipedia’s entry on newlines. Basically there are two primary lineages of operating systems leading to modern-day desktop usage: Windows on the one hand, and Unix-like systems on the other.
Windows descends from MS-DOS (because initially it was implemented on top of DOS), which itself inherits much of its ...
answered May 3 '18 at 15:46
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
96
The short answer is that DOS was designed to be similar to CP/M, and drawing a quote from here:
While 8-bit programs could not run on 16-bit computers, Intel
documented how the original software developer could mechanically
translate an 8-bit program into a 16-bit program. Only the developer
of the program with possession of the source code could ...
94
The honorific "Ms." didn't always exist. It was popularized by the feminist movement as an alternative to Miss (woman is not yet married) and Mrs. (woman is married),
But it took feminist activist Sheila Michaels to bring [the "Ms." honorific] into consciousness of the feminists of the 1960s and '70s. Ms: The honorific with unintended meaning
The idea ...
91
Bootable game disks do exist for the IBM PC. Conflict in Vietnam is an example of such a game. As can be seen on page 8 of the manual, the game boots directly without loading DOS first.
The main reason it wasn't common was for compatibility. A self booting game has to have its own drivers for all the hardware it wants to support. As PCs quickly diversified ...
79
For Win16 programs, Windows implemented co-operative multitasking. Its implementation was based upon the "message loop" architecture of every Windows program.
The duty of every program was to endlessly run in a loop in which a call to the GetMessage function was performed. This function call looks whether a message to this process is in the queue. ...
68
TL;DR;
Using INT comes not only natural due the way the 8086 is designed, but was as well intended by Intel as OS entry point, much like a Supervisor Call (SVC) on /360 type mainframes:
(Excerpt from the October 1979 Intel 8086 Family User's Manual page 2-28.)
Software-initiated interrupt procedures may be used as service routines ("supervisor calls&...
58
TL;DR:
Why has “C:” been chosen for the first hard drive partition?
Because it is the first letter after A and B. Drives are simply numbered in sequence using letters. Since the vast majority of systems in use had only one or two floppy drives, C was usually the first number to be assigned to the next drive found after them.
Did C: have a meaning which ...
57
Since you are using MS-DOS 6.22 you can abuse the CHOICE command to introduce a set timed delay by piping the output of a REM statement to the choice command, leaving it with no way to complete other than via the /T timeout option.
Example from Rob van der Woulde's Scripting Pages:
REM | CHOICE /C:AB /T:A,10 >NUL
The CHOICE command never actually gets ...
52
The cursor on the CGA, MDA, EGA, and VGA cards was a hardware sprite
generated on the earlier cards by the 6845 video controller, and on later
cards by a chip that emulates the 6845. That chip has an address counter
that is used to fetch data from memory, as well as a line counter and a
cursor-state latch. It also has a programmable registers for cursor ...
51
I’m not sure about OS manufacturers, but hardware manufacturers still use DOS, in at least two scenarios visible to the general public:
firmware upgrade CD images;
bare-bones enterprise laptop and workstation setups (e.g. from HP or Lenovo, “bare-bones” as in “with FreeDOS as the only installed operating system”; in some countries you’ll need a business ...
answered Feb 5 '18 at 9:54
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
49
TL;DR: It was IBM's idea.
IBM never intended to buy any of the software they acquired for the PC - and MS never intended to supply any OS beside Xenix.
But MS (Paul Allen) soon recognized the potential business and acted accordingly.
The Long Read
IBM had no interest whatsoever in setting up a basic software development for the PC. The strategy was to ...
46
Traditionally, operating shells are relatively independent of the operating system’s function and the operating system can operate without a shell. Most shells have two modes of operation, interactive mode where they manage the command line and execute commands entered interactively, and batch mode where they run scripts. They’re “standard” programs which ...
answered Apr 27 '16 at 6:59
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
45
No, DOS won't use any additional CPU (*1) ever.
(Though it might run faster due them new CPUs being faster)
Quite the same way as DOS doesn't take advantage of the extended memory or additional instructions.
DOS is a
Single CPU
Single User
Single Task
Single Program
Real Mode
8086
operating system.
Even through it got a few extensions over time to tap a ...
45
Unreal Megademo, Future Crew, 1992 possibly? Certainly has all the elements you mention.
44
They didn't share any source, no. However, the TITLE directive twenty lines or so down from the top in both XENIX.ASM and XENIX2.ASM explains what this is:
TITLE XENIX - IO system to mimic UNIX
Pre-2.x MS-DOS was somewhere between heavily inspired by CP/M and a complete rip-off of it. But with 2.x they decided to go in a quite different direction, and ...
42
Found a great answer on Super User that explains it really well!
Windows 3.1 uses cooperative multi-tasking – meaning that each
application that is in the process of running is instructed to
periodically check a message queue to find out if any other
application is asking for use of the CPU and, if so, to yield control
to that application. However,...
41
The Meltdown attack is about figuring out what's in protected memory (typically, kernel memory) by arranging for it to be speculatively read, and then looking for residual side effects after the speculative read is discarded.
MS-DOS is immune to Meltdown because it doesn't do memory protection. If you want to figure out what's in RAM, you can simply look.
...
41
I can think of a number of reasons:
DOSKEY isn’t specifically tied to COMMAND.COM; it provides history for any program which uses the same input functions as COMMAND.COM, and one could imagine wanting to run DOSKEY with another command interpreter (although the most popular alternative command interpreter, 4DOS, already included equivalent features);
DOSKEY ...
answered Apr 17 '19 at 13:35
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
41
ECHO ON was chosen as the default setting when interpreting batch files to preserve backwards compatibility. In PC-DOS 1.0, COMMAND.COM displayed each command as it interpreted it, and this couldn’t be disabled. ECHO was added in PC/MS-DOS 2.0, with a dual purpose (displaying messages, and controlling the display of batch file commands); its default is ON so ...
answered Jun 9 '20 at 15:35
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
40
Later versions of DOS tended to use more memory. On 386 systems, or systems with EMS memory, this wasn't a huge issue because dos could be configured to use memory outside of the standard 640K region for a large proportion of its use, but on 286 machines (which couldn't run EMM386 to emulate EMS memory, but generally didn't have any real EMS) this wasn't ...
36
Fonts for text rendered to the screen or paper in a graphics mode would simply be data shipped with the application. If this was perceived to be non-copy-able, it is likely because it was not (obviously) in a standard font format, and perhaps intentionally obfuscated.
It is also worth noting that VGA cards permitted relocating the text mode character ...
36
MS DOS inherited many of its commands from CP/M. CP/M was designed with influences from classic minicomputer operating systems, especially those produced by DEC. Many of these systems dated back to the mid to late 1960s and were designed to run in very little space, e.g. DOS-11 ran on a PDP 11 with 8 KB of RAM. They were also mostly designed primarily ...
35
The BIOS originated as part of the CP/M operating system. It was the "layer" that interfaced directly with the hardware and as such, was usually machine specific. The idea is that, if you separate out the hardware interactions into one module and provide a standardised interface that the rest of the OS uses (and user programs), then the only thing ...
35
The 32-bit versions of Windows can still run many DOS binaries directly, using NTVDM, and VisiCalc stills works. VisiCalc was available at launch with the IBM PC, so is probably qualifies as the oldest commercial DOS program which can still run on modern versions of Windows without third-party software.
answered Jun 17 '19 at 13:36
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
33
The first game sold for use on the IBM PC was Microsoft Adventure, which was available on the day the IBM PC was released (it was part of the launch, along with VisiCalc, Easywriter etc.). It was developed by Gordon Letwin (later of OS/2 fame) in 1979, based on the Colossal Cave mainframe game. It didn’t run on DOS though, it was a “booter” — you booted the ...
answered Mar 4 '18 at 10:16
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
33
The short answer is yes, starting with version 2.0 and even more so with Warp, OS/2 was a viable alternative for daily DOS and Windows tasks, up to and including Windows 3.x.
Starting with OS/2 2.0, the first 32-bit version, OS/2 included very, very good support for DOS programs, including protected-mode and some measure of direct hardware access. This ...
answered Mar 7 '18 at 8:02
Stephen Kitt
78.4k1212 gold badges329329 silver badges311311 bronze badges
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
ms-dos × 174ibm-pc × 19
history × 17
assembly × 13
memory × 12
windows-3.x × 12
graphics × 10
windows-98 × 10
floppy-disk × 9
gaming × 9
c × 9
windows × 8
bios × 8
software-recommendation × 8
hard-disk × 7
driver × 7
x86 × 6
file-system × 6
hardware × 5
emulation × 5
programming × 5
software × 5
ibm × 5
memory-layout × 5
boot × 5