Board index » delphi » dos svga graphics and mouse behaviour under NT 4.0

dos svga graphics and mouse behaviour under NT 4.0

I'm looking for a solution to problems I have encountered with
my Borland Pascal 7 graphics programs, running in SVGA modes under
NT 4.0  The screen looks OK but the mouse driver reverts to CGA
640x200 and the mouse icon cannot be dragged beyond this small region
at the upper left hand corner of the screen.  This is not the case
with W95 running the same code nor does it happen under NT when the
normal 640x480 VGA mode is used.

regards Harvey Liszt

--
Harvey Liszt                             phone:804.296.0344 fax 0278
Scientist                                 home:804.973.3744 fax same
National Radio Astronomy Observatory    mailto:hli...@nrao.edu
520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
C{*word*157}tesville, VA 22903-2475

 

Re:dos svga graphics and mouse behaviour under NT 4.0


Define the mouse range..

i've got a procedure which you can define the mouse range:

Procedure DefineRange (x,y,xx,yy:word); assembler;
Asm
  Mov ax,7h
  Mov cx,x
  mov dx,xx
  Int 33h
  Mov ax,8h
  mov cx,y
  mov dx,yy
  int 33h
end;

parameter X & Y are upper corner limits
parameter XX & YY are lower corner limits

Peter Out!

hliszt <hli...@nrao.edu> schreef in berichtnieuws
3964A9FE.118AF...@nrao.edu...

Quote

> I'm looking for a solution to problems I have encountered with
> my Borland Pascal 7 graphics programs, running in SVGA modes under
> NT 4.0  The screen looks OK but the mouse driver reverts to CGA
> 640x200 and the mouse icon cannot be dragged beyond this small region
> at the upper left hand corner of the screen.  This is not the case
> with W95 running the same code nor does it happen under NT when the
> normal 640x480 VGA mode is used.

> regards Harvey Liszt

> --
> Harvey Liszt                             phone:804.296.0344 fax 0278
> Scientist                                 home:804.973.3744 fax same
> National Radio Astronomy Observatory    mailto:hli...@nrao.edu
> 520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
> C{*word*157}tesville, VA 22903-2475

Re:dos svga graphics and mouse behaviour under NT 4.0


Peter--

I wish it were that easy, but I already do what you suggest just in
the normal course of operating the program and it doesn't work. Really.

regards, Harvey

Quote
Peter Santing wrote:

> Define the mouse range..

> i've got a procedure which you can define the mouse range:

> Procedure DefineRange (x,y,xx,yy:word); assembler;
> Asm
>   Mov ax,7h
>   Mov cx,x
>   mov dx,xx
>   Int 33h
>   Mov ax,8h
>   mov cx,y
>   mov dx,yy
>   int 33h
> end;

> parameter X & Y are upper corner limits
> parameter XX & YY are lower corner limits

> Peter Out!

> hliszt <hli...@nrao.edu> schreef in berichtnieuws
> 3964A9FE.118AF...@nrao.edu...

> > I'm looking for a solution to problems I have encountered with
> > my Borland Pascal 7 graphics programs, running in SVGA modes under
> > NT 4.0  The screen looks OK but the mouse driver reverts to CGA
> > 640x200 and the mouse icon cannot be dragged beyond this small region
> > at the upper left hand corner of the screen.  This is not the case
> > with W95 running the same code nor does it happen under NT when the
> > normal 640x480 VGA mode is used.

> > regards Harvey Liszt

> > --
> > Harvey Liszt                             phone:804.296.0344 fax 0278
> > Scientist                                 home:804.973.3744 fax same
> > National Radio Astronomy Observatory    mailto:hli...@nrao.edu
> > 520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
> > C{*word*157}tesville, VA 22903-2475

--
Harvey Liszt                             phone:804.296.0344 fax 0278
Scientist                                 home:804.973.3744 fax same
National Radio Astronomy Observatory    mailto:hli...@nrao.edu
520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
C{*word*157}tesville, VA 22903-2475

Re:dos svga graphics and mouse behaviour under NT 4.0


Peter--

I wish it were that simple, bu I already do what you suggest in the
course of normal operations of the program, and it just doesn't work.  
Really

regards, Harvey
--------------------

Quote
Peter Santing wrote:

> Define the mouse range..

> i've got a procedure which you can define the mouse range:

> Procedure DefineRange (x,y,xx,yy:word); assembler;
> Asm
>   Mov ax,7h
>   Mov cx,x
>   mov dx,xx
>   Int 33h
>   Mov ax,8h
>   mov cx,y
>   mov dx,yy
>   int 33h
> end;

> parameter X & Y are upper corner limits
> parameter XX & YY are lower corner limits

> Peter Out!

> hliszt <hli...@nrao.edu> schreef in berichtnieuws
> 3964A9FE.118AF...@nrao.edu...

> > I'm looking for a solution to problems I have encountered with
> > my Borland Pascal 7 graphics programs, running in SVGA modes under
> > NT 4.0  The screen looks OK but the mouse driver reverts to CGA
> > 640x200 and the mouse icon cannot be dragged beyond this small region
> > at the upper left hand corner of the screen.  This is not the case
> > with W95 running the same code nor does it happen under NT when the
> > normal 640x480 VGA mode is used.

> > regards Harvey Liszt

> > --
> > Harvey Liszt                             phone:804.296.0344 fax 0278
> > Scientist                                 home:804.973.3744 fax same
> > National Radio Astronomy Observatory    mailto:hli...@nrao.edu
> > 520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
> > C{*word*157}tesville, VA 22903-2475

--
Harvey Liszt                             phone:804.296.0344 fax 0278
Scientist                                 home:804.973.3744 fax same
National Radio Astronomy Observatory    mailto:hli...@nrao.edu
520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
C{*word*157}tesville, VA 22903-2475

Re:dos svga graphics and mouse behaviour under NT 4.0


Peter--

I already do that and it just doesn't work.  Really.

regards, Harvey

Quote
Peter Santing wrote:

> Define the mouse range..

> i've got a procedure which you can define the mouse range:

> Procedure DefineRange (x,y,xx,yy:word); assembler;
> Asm
>   Mov ax,7h
>   Mov cx,x
>   mov dx,xx
>   Int 33h
>   Mov ax,8h
>   mov cx,y
>   mov dx,yy
>   int 33h
> end;

> parameter X & Y are upper corner limits
> parameter XX & YY are lower corner limits

> Peter Out!

> hliszt <hli...@nrao.edu> schreef in berichtnieuws
> 3964A9FE.118AF...@nrao.edu...

> > I'm looking for a solution to problems I have encountered with
> > my Borland Pascal 7 graphics programs, running in SVGA modes under
> > NT 4.0  The screen looks OK but the mouse driver reverts to CGA
> > 640x200 and the mouse icon cannot be dragged beyond this small region
> > at the upper left hand corner of the screen.  This is not the case
> > with W95 running the same code nor does it happen under NT when the
> > normal 640x480 VGA mode is used.

> > regards Harvey Liszt

> > --
> > Harvey Liszt                             phone:804.296.0344 fax 0278
> > Scientist                                 home:804.973.3744 fax same
> > National Radio Astronomy Observatory    mailto:hli...@nrao.edu
> > 520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
> > C{*word*157}tesville, VA 22903-2475

--
Harvey Liszt                             phone:804.296.0344 fax 0278
Scientist                                 home:804.973.3744 fax same
National Radio Astronomy Observatory    mailto:hli...@nrao.edu
520 Edgemont Road                         http:www.cv.nrao.edu/~hliszt
C{*word*157}tesville, VA 22903-2475

Re:dos svga graphics and mouse behaviour under NT 4.0


Quote
In article <3965D77A.DFDB6...@nrao.edu>, hliszt <hli...@nrao.edu> wrote:
> I wish it were that easy, but I already do what you suggest just in
> the normal course of operating the program and it doesn't work. Really.

The main problem is that generally, the WinNT SVGA for WinNT drivers
are very bad regarding Dos program support. On several systems I've
tried, it's even completely impossible to do SVGA graphics in a Dos
program running under WinNT. Others have reported success, so YMMV. But
don't count on it.

Jonas

Other Threads