3 ms·
Even if Gates never said it, someone involved in the design of DOS decided that 640k would be the demarcation between normal memory and "reserved". So somebody
by bombcar 2y ago
Even if Gates never said it, someone involved in the design of DOS decided that 640k would be the demarcation between normal memory and "reserved".
So somebody, somewhere, decided that 640k was "good enough" vs 700k or whatever.
- layer8 2y agoIt was decided by IBM for the IBM PC. The 8088 CPU had 1 MB of addressable memory, and some of it had to be reserved for the BIOS ROM, video hardware, and other expansion cards. So the exact limit was a trade-off between application RAM and hardware expansions. You could also phrase it as “384 KB is enough for BIOS and expansion cards”. Moreover, 640K is kind of a natural division point in hexadecimal notation. Address segments in the 8088 memory model were 64K, hence segments 00000–90000 were for RAM, and segments A0000–F0000 were for ROM and hardware.
- bitwize 2y agoMore like someone at IBM. The memory map mapped BIOS, video, and PCjr cartridge memory into the upper memory area. Other contemporaneous, non-IBM-compatible x86 systems of the era could relax this restriction. The Tandy 2000 loaded its BIOS from disk (instead of having it in ROM) and ran MS-DOS (indeed, its BIOS API was IBM-compatible even though hardware wise it was not), and could access up to 768K of user memory flat out (896K with aftermarket expansions). This briefly gave it an advantage handling large spreadsheets and the like.
- kmeisthax 2y agoWhen will processor manufacturers realize that finite pointer sizes are always inevitably insufficient?
- deleted 2y ago[deleted]
- wrs 2y agoThis happens all the time. Early MacOS put flags in the upper byte of heap pointers, because somebody thought “16MB is enough for anybody”. Physical address extensions had to be added to 32-bit Intel because 4GB turned out to not be “enough for anybody”. Now “64-bit” processors today have 48-bit physical address spaces (or less), but we’ll see…
- rvense 2y agoWell, as you probably know, the first Mac shipped with a 68000 that didn't have the full 32 bit physical address space either, so that upper byte was basically free real estate. (The original Mac hardware is in many ways a masterpiece if you like tricks like this.)
- wrs 2y agoIndeed, but I didn't count Motorola's decision there as "24 bits is enough for anybody", because they didn't break anything in the 68000 when they added more bits to the address space (in other words, it was forward-compatible). It was the Heap Manager that broke!