06070607.txt 07-Jun-00


Subject: Re: fglib
From: wimkok@Sozawe.rotterdam.nl (W.H. Kok)

Jean, Ferns

>
When I tested FGLib on my NT 4 machine, the program fails to
  go any graphic mode. I guess that's just Windows NT with
  it's port security. I couldn't find any MS-DOS options to
  control the mode setting possibilities. Does anybody else
  have any ideas?
>

DOS apps run in NT's 32bit DOS emulator (the Virtual Dos
  Machine or VDM). It supports only the basic interrupts and
  it does not support any specific interrupt handling for
  specific drivers like Vesa x.x.
Interrupts that are not standard videocalls don't get
  through the Hardware Abstraction Layer without
  implementing a homegrown Device Driver that hooks into the
  emulator to handle the specific calls.
It's the same reason why, for instance, WP 5.1 can't use its
  own video drivers for specific cards. If you want to
  extend the use of fglib to NT, you are facing writing a
  device driver. Which might be a bit over the top,
  considering the way things are looking for Harbour at the
  moment. Perhaps one could consider porting the library
  towards Harbour so Harbour might have a graphics engine
  early on, but that's just a random thought.

Wim Kok
w.kok@sozawe.rotterdam.nl