Mail Archives: djgpp/1998/06/07/20:55:40
> I need to peek at the memory location [0x0000:0x0049].. but
> I'm not used to DPMI at all. I understand what a selector is now
> .. but I don't understand how __dpmi_set_descriptor() works at
> all.. I don't understand the descriptions of the things on the right
> (i.e. 0=system, 1=application).. What do all these things mean?
> HELP!!
Don't use the DPMI functions at all for little stuff like this - we've
already set it up for you as part of the default DJGPP setup. Read
this part of the FAQ:
http://www.delorie.com/djgpp/v2faq/faq137.html
Specifically, you want to use the _farpeekb() function (or _farpeekw()
if it's a 16-bit number).
- Raw text -