Board index » delphi » Use external BGIs in PM

Use external BGIs in PM

Hi !

I attempted to use a driver for SVGA, 256 Color Mode (800x600x256) in
Borland Pascal 7.
I installed the driver like showed in Borland's OnLineHelp. In real mode
it works whithout any problems, out of "@@TestDriver" must be changed to
"@TestDriver". But as i tryed that in Protected Mode, the driver could
not be accessed. I first got error "not in graphics mode use..."
then i got runt-time-error 216 "General Protection Fault"

I really don't know waz wrong

Thanx for help, Roger

 

Re:Use external BGIs in PM


Quote
Roger Bieri wrote:
> Hi !

> I attempted to use a driver for SVGA, 256 Color Mode (800x600x256) in
> Borland Pascal 7.
> I installed the driver like showed in Borland's OnLineHelp. In real mode
> it works whithout any problems, out of "@@TestDriver" must be changed to
> "@TestDriver". But as i tryed that in Protected Mode, the driver could
> not be accessed. I first got error "not in graphics mode use..."
> then i got runt-time-error 216 "General Protection Fault"

> I really don't know waz wrong

Not all BGI drivers support BP7 protected mode.  You'll have to locate
one that does.  Try ftp://ftp.simtel.net/pub/simtelnet/msdos/borland/ to
see what's there.

Quote
> Thanx for help, Roger

--
Scott Earnest        | We now return you to our regularly |
set...@ix.netcom.com | scheduled chaos and mayhem. . . .  |

Re:Use external BGIs in PM


Quote
>Hi !

Hello!

Quote
>I attempted to use a driver for SVGA, 256 Color Mode (800x600x256) in
>Borland Pascal 7.
>I installed the driver like showed in Borland's OnLineHelp. In real mode
>it works whithout any problems, out of "@@TestDriver" must be changed to
>"@TestDriver". But as i tryed that in Protected Mode, the driver could
>not be accessed. I first got error "not in graphics mode use..."
>then i got runt-time-error 216 "General Protection Fault"

This happens if you don't use a V3.x BGI-Driver. PM-BGI's must be
version 3.x BGI's. You can see that in the first chars of a BGI-file.
If the first chars are "pk" then you have a real mode BGI (that means
a version 2.x BGI)and if you see "FBGD" then it is a PM/RM-BGI. A lot
of freeware-BGI's are V2 BGI's.
If you need a good SVGA-Unit, just look at my homepage.

Bye,
Stefan
--
please remove the P in my email-adress to answer me
take a look @ my homepage: http://www.geocities.com/SiliconValley/Bay/9553
directly to the german part: http://www.sourcenet.home.pages.de/
ICQ-Key: 3875421

Other Threads