Hi there
I have some C programs written in an old Turbo C compiler (Version 2.01) that present basic 2-D graphics. I now want to run the same programs but present the graphics using high resolution beyond those available in the BGI of Turbo-C (e.g., 1600x1200). However, I am having trouble installing GRX246 in the Turbo-C compiler. How can I modify makedefs.bcc and/or makefile.bcc in such a way as to successfully install it?
Also, using GRX within the Turbo-C environment will it be possible to run graphics at a 1600x1200 resoultion or am I better off switching to a more recent Borland compiler or a 32-bit DJGPP compiler? I have read on a forum like this that when running dos-based programmes in Windows XP, it is not possible to get better resolution than standard VGA - is this is the case?
Thanks for your help Jared
Hi Jared
Also, using GRX within the Turbo-C environment will it be possible to run graphics at a 1600x1200 resoultion or am I better off switching to a more recent Borland compiler or a 32-bit DJGPP compiler?
Turbo C targets real mode DOS, the ugly barrier of 640KB (KB not MB) memory only. 1600x1200 mode requires VESA which is almost impossible to be supported in real mode. Recent Borland compilers have dropped the support for DOS a long ago. DJGPP is great for VESA but unfortunately VESA is no more well supported by Win2K/XP.
I have read on a forum like this that when running dos-based programmes in Windows XP, it is not possible to get better resolution than standard VGA - is this is the case?
Yes, it is a real case. Personally I've never got 100% success running any program of today's high resolutions. However programs targeting standard VGA run rock-solid.
For WinXP, you're advised to use Windows port of graphics library. Under GRX, you are bound to use the desktop resolution of windows not 1600x1200. However, under Allegro, using DirectDraw it is possible.
Have a nice time! Bye
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com