delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/29/19:19:53

From: "J. Hormuzdiar" <jimh AT pantheon DOT yale DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Graphics and Rhide
Date: Tue, 29 Apr 1997 17:15:33 -0400
Organization: Yale University
Lines: 66
Message-ID: <Pine.GSO.3.94.970429105638.15604A-100000@minerva.cis.yale.edu>
Reply-To: "J. Hormuzdiar" <jimh AT pantheon DOT yale DOT edu>
NNTP-Posting-Host: minerva.cis.yale.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello-
	Well, since about a month ago when I found the virus on my machine
and got rid of it all my problems with Rhide disappeared, the program has
been working great.... except for one last thing that still plagues me.  I
can not get the dual display to work with graphics.  Switching to the
hi-res page when in graphics mode causes my machine to freeze up.

	Regular text stuff is no problem, dual display or not.  Single
display also works fine- I just have to deal with flipping back and forth.
Below is the shortest program I could write to illustrate the problem.
All it should do is go to 320x200 res graphics, wait for a user keystroke,
then go back to text.  I show in the program where it freezes up.

--------------------------------------

#include <conio.h>
#include <dpmi.h>

void main()
      {
      __dpmi_regs _regs;

      _regs.h.ah = 0;
      _regs.h.al = 19;

      __dpmi_int(0x10, &_regs);               <-------Freezes here

      getch();

      _regs.h.ah = 0;
      _regs.h.al = 3;

      __dpmi_int(0x10, &_regs);
      }

----------------------------------------

	Also, one more thing.  When I do get the hires screens to work
while debugging (using the single display), I always get a banner of
garbage placed on the top 10% or so of the hires screen between flips.

	Well, thank you for your help.

						-Jim

ps- My system description :

New Asus TX-97 motherboard w/ K6-200
(although the problem also happened with my old Silicon Star
motherboard with 486-33)

1.6gig WD HD, 340meg WD HD, EIDE

Ancient 8900 Trident video card
Ancient hercules monochrome video card

teac 6x CD, AWE sound blaster value edition, 1.44 floppy, US Rob 33.6
modem

Thanks





- Raw text -


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