Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #2544

Re: The different groups and segments of object files

From Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups comp.compilers
Subject Re: The different groups and segments of object files
Date 2020-06-25 22:40 +0200
Organization Compilers Central
Message-ID <20-06-023@comp.compilers> (permalink)
References <20-06-004@comp.compilers> <20-06-005@comp.compilers>

Show all headers | View raw


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]

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

The different groups and segments of object files Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> - 2020-06-19 23:22 +0800
  Re: The different groups and segments of object files gah4@u.washington.edu - 2020-06-19 14:12 -0700
    Re: The different groups and segments of object files gah4@u.washington.edu - 2020-06-21 01:50 -0700
    Re: The different groups and segments of object files Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2020-06-25 22:41 +0800
    Re: The different groups and segments of object files Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-06-25 22:40 +0200
      Re: The different groups and segments of object files Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-06-26 00:09 +0200
        Re: The different groups and segments of object files gah4@u.washington.edu - 2020-07-02 00:36 -0700
  Re: The different groups and segments of object files Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-06-20 16:01 +0200
    Re: The different groups and segments of object files Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2020-06-25 23:13 +0800
      Re: The different groups and segments of object files Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2020-06-25 22:52 +0200

csiph-web