New answers tagged ms-dos
11
votes
In 16-bit MS-DOS, how do I get a file handle to the currently running .exe?
If definitive references is what you’re looking for, the usual one to consult is the RBIL:
Format of Program Segment Prefix (PSP):
Offset Size Description (Table 01378)
[…]
2Ch WORD ...
15
votes
Accepted
In 16-bit MS-DOS, how do I get a file handle to the currently running .exe?
[Edit: Ooops, that question already been answered a few years ago on Stack Overflow]
I'd expect there to be some reference (either a file handle or an old-fashioned FCB) in the PSP, but there's ...
4
votes
How did Windows 3.1 implement multitasking?
A "regular old MS-DOS program" can do absolutely anything. Modern operating systems run processes in sandboxes with limited privileges, where many things are either impossible or allowed ...
Top 50 recent answers are included
Related Tags
ms-dos × 247ibm-pc × 28
gaming × 20
history × 18
assembly × 18
programming × 17
memory × 12
windows-98 × 12
windows-3.x × 12
graphics × 11
software-recommendation × 11
bios × 11
floppy-disk × 10
c × 10
windows × 10
identify-this-software × 10
driver × 10
hard-disk × 9
x86 × 9
file-system × 9
emulation × 8
memory-layout × 8
boot × 7
file-format × 7
8086 × 7