Mail Archives: djgpp/1996/02/21/02:48:50
Xref: | news2.mv.net comp.os.msdos.djgpp:1278
|
From: | bwalters AT ramlink DOT net (Brian Walters)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | gs segment selector points to conventional memory area
|
Date: | 21 Feb 1996 06:17:50 GMT
|
Organization: | RAMLink Internet Access Service
|
Lines: | 12
|
Message-ID: | <4gedee$dmc@ram2.ramlink.net>
|
NNTP-Posting-Host: | hun1.ramlink.net
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In assembly, I noticed that the segment selector, gs, points to
the conventional memory area. It is normally pointed to by
_go32_conventional_mem_selector(). I have successfully accessed video
memory area at 0xA0000 using the segment selector in gs.
My question is: Is it safe to use gs as the conventional memory
selector? At what conditions will gs change? Someone posted a question
similar to this a while ago, and I have not seen any answer yet. Any
insights will be appreciated.
Brian Walters
- Raw text -