delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/03/20:48:32

To: djgpp AT delorie DOT com
Subject: RHIDE CRASH!
Message-ID: <19970203.172457.2647.1.fwec@juno.com>
From: fwec AT juno DOT com (Mark T Logan)
Date: Mon, 03 Feb 1997 17:18:38 EST

Last night I was trying to compile a simple allegro 
program.  I just downloaded it and wanted to see
what it could do.  Here is the code.

#include<iostream.h>
#include<stdio.h>
#include<allegro.h>

int main()
{
 BITMAP *picture;
 char filename[13];
 RGB pallette[256];
 
 cout << "enter the file name\n";
 
 gets(filename); 
 
 allegro_init();
 
 set_gfx_mode(GFX_MODEX, 320, 240, 0, 0);
 
 picture = load_pcx(filename, pallette);
 
 blit(picture, SCREEN, 0, 0, 0, 0, picture->w, picture->h);
}

I posted the code just in case, but I don't think it had 
anything to do with it.  

Anyway, I used   compile | build all   and there was some kind
of crash.  Rhide was still on the screen, but I could see the 
DOS prompt had overwritten the top, and was giving me a 
register dump or something.

I restarted the computer, and tried to go back to the DJGPP
directory to pick up the peices.  HALF MY DIRECTORIES 
WERE GONE!  

*Fortunately* scandisk recovered almost all the data, but 
judging from the fact that a lot of files had there size mis-
reported, or were overlapping, my guess would be the 
FAT was being written to when it crashed.  Is this an
Rhide bug? a virus? a bird? a plane? supercrash?

Any and all help is appreciated

-Fwec

- Raw text -


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