4 ms·
Just for refence. C and non flat memory model used to be REALLY common. It was called MS-DOS, and Win16 https://stackoverflow.com/questions/8727122/explain-the-
by ayende 4y ago
Just for refence.
C and non flat memory model used to be REALLY common.
It was called MS-DOS, and Win16
https://stackoverflow.com/questions/8727122/explain-the-difference-between-near-far-and-huge-pointers-in-c https://stackoverflow.com/questions/8727122/explain-the-diff...
- Animats 4y agoFew if any programs actually used segmented memory in MS-DOS as segmented memory. C compilers of the era combined both fields into 20-bit pointers. Pointer arithmetic was kind of messy but had compiler support.