Hi, all
Mariano wrote (June 3):
With WinNT and WinXP DOS programs can not access the video hardware, so only stdvga works. Sorry.
I installed grx2.4.6 on a win2000 machine at work, and couldn't access graphics greater than 480 x 360 x 16. I thought perhaps the problem was specific to that machine, so I copied the whole djgpp directory and brought it home. On a win98 machine ('DOS prompt', not 'command prompt'), the same problem. In demo.pas, I have access to modes 0..15 only. I've run demogrx at high resolutions on both machines in the past.
my RHIDE.BAT file says to set grx20drv=stdvga, with various combinations of sizes and resolutions tried with no apparent effect.
I'm not sure where to start figuring this out, and would appreciate suggestions.
all the best, Toby
Toby Ewing wrote:
Hi, all
Mariano wrote (June 3):
With WinNT and WinXP DOS programs can not access the video hardware, so only stdvga works. Sorry.
I installed grx2.4.6 on a win2000 machine at work, and couldn't access graphics greater than 480 x 360 x 16. I thought perhaps the problem was specific to that machine, so I copied the whole djgpp directory and brought it home. On a win98 machine ('DOS prompt', not 'command prompt'), the same problem. In demo.pas, I have access to modes 0..15 only. I've run demogrx at high resolutions on both machines in the past.
my RHIDE.BAT file says to set grx20drv=stdvga, with various combinations of sizes and resolutions tried with no apparent effect.
I'm not sure where to start figuring this out, and would appreciate suggestions.
Ok, I will try to explain with my bad english.
In W2000 DOS programs don't have write access to the graphic hardware, the problem is GRX programs don't know they are running in W2000, and the vesa read functions work, so GRX try to use the vesa modes and nasty things occurs. So you must set GRX20DRV=stdvga to force GRX programs to use it.
Now, with the GRX20DRV sets to stdvga, run demogrx. Demogrx wants a 640*480*16bpp mode. Grx thinks the best is 480*360*8bpp mode and you see a collage. Try run "demogrx 640 480 4".
And in W98, don't set the grx20drv or set it to vesa and all will be correct.
M.Alvarez