Mail Archives: djgpp/1998/11/24/14:49:48
On 24 Nov 98, at 11:43, Vadim Pokotilov wrote:
> Any way of porting BGI (Borland Graphics Interface) to Allegro? I just
> switched over from Borland C++ to DJGPP and want to port a few of my old
> programs with as little work as possible. I've tried the BGI->GRX utility,
> but haven't been able to get that to work (I assume I could use both GRX and
> Allegro in the same program, so if I could port to GRX I could then add
> things into the program using Allegro code).
>
BCC2GRX works Ok with GRX 2.3 in all variants I have tested:
1) DJGPP v2 (currently I'm using slightly modified both libraries, fixed
some problems with printing code, also added printing support to
BCC2GRX). No serious problems.
2) Linux SVGALIB version. Also works at least in VGA modes as even
last SVGALIB doesn't support MACH64 (there is some not working
driver)
2) Linux X11 version - combination BCC2GRX+GRX23 works mostly Ok
However there are some problems with putimage() and getimage()
I haven't tried to fix.
3) AIX 4.3 on RS6000 (of course X11) - BCC2GRX works after I suceeded to
build it. Modifications were needed to both libraries as neither is
officially supported on this system. I even saw the same GRX and
BCC2GRX bugs I got under Linux but no new ones.
This is about BCC2GRX.
About Allegro: as I remeber there were some messages in DJGPP mailing
list about library that provides BGI interface for Allegro (but maybe I'm
wrong, I haven't tested it)
Andris
- Raw text -