From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Graphics and Rhide Date: Wed, 26 Mar 1997 11:15:54 +0100 Organization: TU Chemnitz-Zwickau Lines: 35 Message-ID: <3338F75A.48AC@Mathematik.tu-chemnitz.de> References: NNTP-Posting-Host: env.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 * *****************************************************************