Mail Archives: djgpp/1998/02/08/11:30:50
Grzegorz Adam Hankiewicz writes:
> _go32_dpmi_simulate_int(0x10, &r);
I would suggest changing that to use __dpmi_int(). This go32 function is
actually just an alias for __dpmi_simulate_real_mode_interrupt(), which
should generally be avoided because it requires you to fill %ss, %esp,
and the flags with valid data, which __dpmi_int() will do for you.
> dosmemput(temp_font,4096, (r.x.es << 4) + r.x.bp );
Don't you mean dosmemget()? This will transfer data from your address
space into conventional memory, which is the exact opposite of what you
are trying to do!
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -