www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/18/13:00:23

From: igp AT vlc DOT servicom DOT es (Ignacio García Pérez)
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE and screen swapping
Date: Fri, 18 Sep 1998 16:38:58 GMT
Organization: GND
Lines: 47
Message-ID: <36028837.2006937@crispin>
Reply-To: igp AT vlc DOT servicom DOT es
NNTP-Posting-Host: rdsi6.vlc.servicom.es
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

I'm experiencing some screen problems that I'll describe, just in case
someone can provide useful tips:

I program using RHIDE, DJGPP and Allegro, in a DOS box under Windows
95. At this point I can't help saying that these three are some of the
best pieces of software I've ever dealed with.


- Problem 1 (minor): when I debug a program which has switched to
graphics mode (currently 640x480x256), each time I display the program
output after having been in the RHIDE text mode, I can see some
undesired points and lines. I know these are caused by the text
written while in text mode, which overwrites video memory which is
also used in graphics mode.

I can live with this minor interference, but wouldn't it be enough
saving the whole text mode video memory when going back to RHIDE and
restoring it before continuing the program execution ?... (I know
actually RHIDE saves and restores the video status, but doesn't do the
same with video memory probably because it would take too much
storage, and is dependant on video mode, but text mode is much
simpler).

- Problem 2 (catastrophic): if I run a program that used 640x480x256,
after exit, everything works fine, I mean Windows 95. But when, while
in RHIDE, I stop execution, or step a program in graphics mode, this
is, going from the program screen to RHIDE intergated debugger back
and forth, Windows blows away the next time I go back to the Windows
GUI.

This happens even if I finalize RHIDE, and being back in the DOS
prompt, close it with EXIT of simply switch to another application.


The latest is very annoying, because though I hate it, I must work
with W95, and don't want to restart the computer in plain DOS each
time I want to program/debug a RHIDE/DJGPP/Allegro program.

And yes, I've tried -G 2 with RHIDE.

As I said before, ANY useful tips will be very welcome.

Regards. Nacho.


- Raw text -


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