Reputation: 111
In this article we can see that 16 Bits systems have different memory models.
Through that answer we know that COM application always uses the Tiny Model
(all segments are in the same one) but for the other executables what make the operating system uses one model or another?
I did not see in the MS-DOS Header any flag that would help for a choice so how does MS-DOS determines what memory model to use?
Upvotes: 0
Views: 445
Reputation: 6573
The selection of memory model is necessary as compiler option, not OS related. You can assume that DOS always works with Large memory model (far pointers for CS and DS).
Upvotes: 2