Mail Archives: djgpp/1997/03/26/08:15:24
J. Hormuzdiar wrote:
>
> Hello-
> I just upgraded to Rhide 1.2, and my graphics routine doesn't work
> anymore. Whenever I single step through the program it freezes when I try
> to flip to the graphics page. The code I use to do it is :
As you said, you are using dual monitor configuration, why you
need to flip the pages? This config is the best situation for
debugging any graphics program (I have it also and so I can say it).
When you have not disabled the "dual monitor debugging" option,
then RHIDE automatically switches to the secondary monitor
for it's output and your debugged program runs on the primary
monitor.
>
> union REGS regs;
> regs.h.ah = 0;
> regs.h.al = 19;
> int86(0x10, ®s, ®s); <------- Freezes here
I don't know exact now, but I remember that using 'int86' is not
a good idea, because there is a problem with the not initialized
ss and esp registers. Use '__dpmi_int' instead. Maybe this
was your problem or it is also releated to your other problem
with the hard drive demage (your other post).
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -