home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!gatech!concert!rock!taco!dspascha
- From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
- Subject: Re: 16-bit Windows 3.1 vs Win32s thunking
- Message-ID: <1993Jan24.221159.22026@ncsu.edu>
- Originator: dspascha@c00029-118dan.eos.ncsu.edu
- Sender: news@ncsu.edu (USENET News System)
- Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
- Organization: North Carolina State University, Project Eos
- References: <1993Jan21.020250.29619@emr1.emr.ca> <1993Jan22.080936.23324@microsoft.com>
- Date: Sun, 24 Jan 1993 22:11:59 GMT
- Lines: 18
-
-
- In article <1993Jan22.080936.23324@microsoft.com>, alistair@microsoft.com (Alistair Banks) writes:
- |>The huge pointers you refer
- |>to are quite different from the 32-bit addressing used by Windows NT
- |>and Win32s+Win3.1 - the 386 in fact has 16-bit segments, and optionally
- |>16-bit or 32-bit offset registers. The huge mode you refer to uses
- |>16:16 addressing, while Windows NT & Win32s use 16:32 - but that would
- |>be 48-bit addressing, right? Well no, because we set the 16-bit
- |>segment registers to zero, so cs=ds=es=gs=fs=0, and we just use
- |>32-bit addressing - this is a portable concept, particularly to
- |>RISC systems which don't have "segment" registers a la x86
-
- If all processes share the same address space, then what keeps one process from
- trashing memory belonging to other processes or the operating system? Separate
- page tables for different tasks?
-
- Tschuess,
- David Paschal
-