Hello
I have just begun trying to use GRX. I can compile everything OK using Djgpp. However I am having difficulty running the test programs demogrx and bccbgi on my Windows XP and W2000 machines. I have read the very useful information given in the correspondence by Toby Ewing #185 and Mariano Fernandez #351. I have tied setting
SET GRX20DRV = STDVGA
then running demogrx 640 480 4.
This works fine on my XP machine. But not on my W2000 laptop.
The bgi test program does not work on either XP or W2000. Should it not be modified to take command line arguments for its parameters like demogrx? Although, this would not help for the W2000 laptop, I suspect.
I have just begun trying to use GRX. I can compile everything OK using Djgpp. However I am having difficulty running the test programs demogrx and bccbgi on my Windows XP and W2000 machines.
Many DOS apps, especially ones using extenders and direct hardware access (GRX/DJGPP uses both) have problems under NT-bases Windows-es. Not much (if anything) can be done.
I have tied setting SET GRX20DRV = STDVGA
then running demogrx 640 480 4. This works fine on my XP machine. But not on my W2000 laptop.
XP is more DOS-compatible than NT4/Win2K, but the laptops are kind of specific... The best Win~1 solution is to use GRX with MinGW 2.x/3.x (msys is not required). It runs in a Windows window, and I plan to write a DirectDraw driver sometime this year.
OK, this might be a heretical thing to write to the GRX list, but...
Given how GRX-unfriendly recent versions of windows are, does it make sense to move to something else, like SDML? Does anyone here have experience with Pascal and SDML, and can provide a comparison of GRX vs SDML under GPC? How easily do they interface?
There are a lot of graphics routines I'd like to write (and many I have written), but having Win upgrades (which I'm forced to make at work) render my programming useless is discouraging. I'm anxious to find a route that will last into the future.
waveringly, Toby
Peter Williams wrote:
I have just begun trying to use GRX. I can compile everything OK using Djgpp. However I am having difficulty running the test programs demogrx and bccbgi on my Windows XP and W2000 machines. I have read the very useful information given in the correspondence by Toby Ewing #185 and Mariano Fernandez #351. I have tied setting
SET GRX20DRV = STDVGA
then running demogrx 640 480 4.
This works fine on my XP machine. But not on my W2000 laptop.
The bgi test program does not work on either XP or W2000. Should it not be modified to take command line arguments for its parameters like demogrx? Although, this would not help for the W2000 laptop, I suspect.
Toby Ewing wrote:
There are a lot of graphics routines I'd like to write (and many I have written), but having Win upgrades (which I'm forced to make at work) render my programming useless is discouraging.
I am using the W32 version of GRX and it works pretty well with XP.
What I like is the portability of GRX.
Peter
Peter Gerwinski wrote:
Toby Ewing wrote:
There are a lot of graphics routines I'd like to write (and many I have written), but having Win upgrades (which I'm forced to make at work) render my programming useless is discouraging.
I am using the W32 version of GRX and it works pretty well with XP.
What I like is the portability of GRX.
I'm all for the portability, if I can just get the graphics to work!
I couldn't get grx246 to work at any decent resolution under win2000. But I do all my work in win2000's command window, which I think of as a DOS environment, and so I installed the DJ2 version. Hmmm...
When I look at makedefs.grx, it wants MingW information for the win32 version. Suppose I want to do full-screen graphics under win32, as if I were working in straight DOS. What settings would I use in the makedefs.grx? Do I need MingW, even if I'm still working in a DOS-under-win32 environment? Or is this not possible, and I should be using straight MingW if I want graphics under win32 (and in that case, could I get them full-screen as well as windowed?)?
Please advise. I'd love to be able to work with grx rather than attempt to claw my way into SDML!
Toby
Toby Ewing escribió:
Peter Gerwinski wrote:
Toby Ewing wrote:
There are a lot of graphics routines I'd like to write (and many I have written), but having Win upgrades (which I'm forced to make at work) render my programming useless is discouraging.
I am using the W32 version of GRX and it works pretty well with XP.
What I like is the portability of GRX.
I'm all for the portability, if I can just get the graphics to work!
I couldn't get grx246 to work at any decent resolution under win2000. But I do all my work in win2000's command window, which I think of as a DOS environment, and so I installed the DJ2 version. Hmmm...
When I look at makedefs.grx, it wants MingW information for the win32 version. Suppose I want to do full-screen graphics under win32, as if I were working in straight DOS. What settings would I use in the makedefs.grx? Do I need MingW, even if I'm still working in a DOS-under-win32 environment? Or is this not possible, and I should be using straight MingW if I want graphics under win32 (and in that case, could I get them full-screen as well as windowed?)?
With MingW you have native win32 programs, and GRX works with it, in a window. At this moment you can have a full screen only if you chosse your max screen resolution.
Please advise. I'd love to be able to work with grx rather than attempt to claw my way into SDML!
I don't know what SDML is, are you speaking about SDL (www.libsdl.org)? SDL is a very good library, but it provides a framebuffer only, no graphics functions. Indeed some times I think about porting GRX for SDL.
M.Alvarez