Related articles |
---|
The different groups and segments of object files johann@myrkraverk.com (Johann 'Myrkraverk' Oskarsson) (2020-06-19) |
Re: The different groups and segments of object files gah4@u.washington.edu (2020-06-19) |
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-20) |
Re: The different groups and segments of object files gah4@u.washington.edu (2020-06-21) |
Re: The different groups and segments of object files johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25) |
Re: The different groups and segments of object files johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25) |
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-25) |
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-25) |
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-26) |
Re: The different groups and segments of object files gah4@u.washington.edu (2020-07-02) |
From: | Hans-Peter Diettrich <DrDiettrich1@netscape.net> |
Newsgroups: | comp.compilers |
Date: | Thu, 25 Jun 2020 22:40:28 +0200 |
Organization: | Compilers Central |
References: | 20-06-004 20-06-005 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="39037"; mail-complaints-to="abuse@iecc.com" |
Keywords: | code, history, comment |
Posted-Date: | 25 Jun 2020 17:11:02 EDT |
Am 19.06.2020 um 23:12 schrieb gah4@u.washington.edu:
> In 16 bit modes, you can have huge data, which allows for a multiple
> segment data object, with segment selectors spaced to allow for
> appropriate calculation. I believe this is only for dynamically
> allocated data, but it might also allow for static allocation
> in the object program. I tried to avoid that.
No need to avoid that. There exist huge segment descriptors that allow
for 32 bit offsets (EAX...) on a 16 bit system without special address
calculations. Microsoft documented that feature in parallel to the
traditional modulo calculations for segment/offset. AFAIR the starting
segment selector allowed to access at least 512 MB (8 consecutive
segments). This feature did not allow to break the 4GB total limit, but
it allowed for contiguous data areas bigger than 64KB.
DoDi
[Nobody I knew used huge model because it was so very very slow. There
was no way on 16-bit x86 to access more than 64K at a time without runtime
segment calculations. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.