delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/26/08:15:24

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
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: <Pine DOT GSO DOT 3 DOT 94 DOT 970319115845 DOT 24821A-100000 AT minerva DOT cis DOT yale DOT edu>
NNTP-Posting-Host: env.hrz.tu-chemnitz.de
Mime-Version: 1.0
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, &regs, &regs);      <------- 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019