Mail Archives: djgpp/1999/07/19/13:25:26
Whoops. I found the problem, and it was a pretty simple goof. In my
code, I was creating a descriptor for memory which began at
'cardbasemem', and then I was ALSO adding 'cardbasemem' into the address
of my _farpokel. All I needed in the _farpokel was the OFFSET from
'cardbasemem'... I changed the _farpokel statement and now the code
works just fine.
I still have a few questions (mostly questions of curiosity) about
memory allocation, descriptors, and whatnot in protected mode. Are
there any books/FAQs/web sites that provide a nice thorough introduction
to the subject? (One thing I'm curious to know: how did my application
gain the right to POKE the memory locations -- is it just because no
other application created a descriptor to that memory block?)
Thanks again for the help.
-- Paul
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
- Raw text -