delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/16/11:02:50

Message-Id: <1.5.4.32.19970516145414.002ededc@ubeclu.unibe.ch>
Mime-Version: 1.0
Date: Fri, 16 May 1997 16:54:14 +0200
To: djgpp AT delorie DOT com
From: Roger Noss <noss AT pupk DOT unibe DOT ch>
Subject: 'uclock_t x[1]' crashes VBE_detect()

While trying to follow the SVGA tutorial in
http://www.execulink.com/~pweeks/chapter.html,
my test program ran but a bigger project crashed.

The problem seems to be with an array of type uclock_t,
which is unrelated to the SVGA stuff.  I have tested
these declarations (the variables are never used):

uclock_t dt     works fine
uclock_t *dt    works fine
uclock_t dt[1]  causes page fault in VBE_detect()
uclock_t dt[2]  causes SIGSEGV in VBE_detect()

I suspect the problem is related to the long long nature
of uclock_t but I don't know what to do about it.  Until
I added the SVGA code I had no trouble with large arrays
uclock_t.

Can anyone advise?

By the way, I had to get svgakt62.zip from SciTech's site
(it's free but hard to find) to make the SVGA stuff work.
Even so, I could not use the makefile because the SciTech
makefile definitions package must be installed, and I could
not find it.  Is it free too, or has anyone managed to 'make'
without it?

Thanks,
Roger Noss

- Raw text -


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