[comp.lang.c] Borland BGI limitation

<ACPS2924@Ryerson.Ca> (01/29/91)

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@ryerson.ca ! Who is the  ! If plumbers designed toilets like
advisor1@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
+----------------------------------------------------------------------+