Subject: [bob@amscons.amscons.com (Bob Amstadt): Re: FS & GS]
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: John Brezak <brezak@apollo.hp.com>
List: current-users
Date: 01/07/1994 14:31:31
------- Forwarded Message

Delivery-Date: Fri, 07 Jan 94 13:39:50 -0500
Snarfer: $Revision: 1.1.2.9 $ $Date: 1992/11/13 23:40:23 $
	for brezak
	id AA12719; Fri, 7 Jan 94 12:21:26 -0500    
	for brezak@POP
	id AA17665; Fri, 7 Jan 1994 12:21:25 -0500    
	id JAA24123; Fri, 7 Jan 1994 09:18:19 -0800
	id m0pIKlB-00057kC; Fri, 7 Jan 94 09:14 PST
Message-Id: <m0pIKlB-00057kC@amscons.amscons.com>
From: bob@amscons.amscons.com (Bob Amstadt)
Subject: Re: FS & GS
To: brezak@apollo.hp.com (John Brezak)
Date: Fri, 7 Jan 1994 09:14:02 -0800 (PST)
Cc: augustss@cs.chalmers.se, bob@amscons.amscons.com
In-Reply-To: <9401071624.AA06432@relay.hp.com> from "John Brezak" at Jan 7, 94 11:24:31 am
Content-Type: text
Content-Length: 627       

> > > Why do you think that Wine requires the use of FS and GS ? Windows programs are
> > > '286 programs. The 80286 didn't have an FS and GS - right ?

The 286 doesn't have those registers, but you are incorrect in assuming
that all Windows programs are 286 programs.  At some point in the future
we will support 32-bit segments as well as 16-bit segments.  Also, remember
that it is possible from assembly language for a programmer to use all
of the 386's registers in code that runs in a 16-bit code segment.  I
personally have done this in the past to optimize access to a large data
array.
- -- 
Bob Amstadt
bob@amscons.com

------- End of Forwarded Message


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 John Brezak                    UUCP:     uunet!apollo.hp!brezak
 Hewlett Packard/Apollo         Internet: brezak@ch.hp.com
 300 Apollo Drive               Phone:    (508) 436-4915
 Chelmsford, Massachusetts      Fax:      (508) 436-5103


------------------------------------------------------------------------------