Date: Sun, 19 Mar 95 00:41:41 EST From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: segread function ? Reply-To: babcock AT cfa DOT harvard DOT edu > I am wondering if there is a function similar to the turbo C segread: If you're trying to do something which seems to need segread, it probably won't work in protected mode. (This isn't always true; what do you want to do with the segment register values?) There are three functions _go32_my_cs/ds/ss for retrieving cs, ds and ss. Also _go32_conventional_mem_selector() to get a selector pointing at the 1st MB and some possibly useful info in _go32_info_block.