Mail Archives: djgpp/1997/01/27/12:56:44
On Sun, 26 Jan 1997 21:40:03 -0700 (MST) Matthew Mastracci
<mmastrac AT acs DOT ucalgary DOT ca> writes:
>This is probably your problem. You can't move a dword into a word.
>Try just movw %%bx, %%ds; and movw %%ax, %%es.
Ok... but 0xa0000 is a dword.
>Of course, you're going to need to modify your code so you aren't
>trying to access a real-mode segment directly. Look up
>__dpmi_segment_to_descriptor() and pass that as a parameter. If
I would probably load up the selector in ES, and the offset in
DI? So I could just as easily use _dos_ds...
aaron
- Raw text -