Borland BGI limitation

ACPS2924 at Ryerson.Ca ACPS2924 at Ryerson.Ca
Tue Jan 29 08:47:00 AEST 1991


This is my problem,
in using the Borland BGI interface in TurboC++ i find that
the functions {imagesize(),getimage(),putimage() } all seem to work
for images that are <64k.  This poses a problem in anything better
than cga.  Imagesize returns only an unsigned int,(16 bits).
This works fine if you use malloc() and not farmalloc().
Has anyone gotten around this limitation?
Anyone have a patch.
Anyone have rewrites of these functions for ega/vga (target adapter).

Peter,

+----------------------------------------------------------------------+
acps2924 at ryerson.ca ! Who is the  ! If plumbers designed toilets like
advisor1 at ryerson.ca ! user,pray,  ! software professionals design tools,
                    ! and who is  ! we'd be up to our knees in crap.
                    ! the used ?  !                 - Charles A. Rovira
+----------------------------------------------------------------------+



More information about the Comp.lang.c mailing list