From: Prashant TR Newsgroups: comp.os.msdos.djgpp Subject: Re: NumLock Date: Fri, 26 May 2000 10:08:29 +0530 Organization: VSNL Lines: 11 Message-ID: <392DFFC4.482D73C@yahoo.com> References: <392D5840 DOT 7A4E6899 AT t-online DOT de> <392D6242 DOT A1557120 AT mtu-net DOT ru> <392D7561 DOT 8CF3A94B AT t-online DOT de> NNTP-Posting-Host: ppp-189-38.bng.vsnl.net.in Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.vsnl.net.in 959353920 25813 203.197.189.38 (26 May 2000 15:12:00 GMT) X-Complaints-To: postmaster AT news DOT vsnl DOT net DOT in NNTP-Posting-Date: 26 May 2000 15:12:00 GMT X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Kai Dietrich wrote: > Hmm, I had no luck... > How do I get acces to a real mode segment+offset in DJGPPs DPMI mode > (example code would be a great help)? char status = _farpeekb(_dos_ds, 0x417); _farpokeb(_dos_ds, 0x417, stat | 0x20); (You'll need to include go32.h and sys/farptr.h)