Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

16-color EGA/VGA library for Turbo C other than BGI needed!

95 views
Skip to first unread message

Harry Potter

unread,
May 30, 2015, 8:25:22 PM5/30/15
to
Hi! I'm looking for a 16-color EGA/VGA library for Turbo C. I'm mainly looking for support for the 320x200x16-color mode, clipping and, if possible, SFX and VGA palette support. This is for a Mario/space-type game. Any suggestions?

Johann Klammer

unread,
May 30, 2015, 9:28:47 PM5/30/15
to
Someone recommended libGRX to me a while back, but I have not actually tried to do anything with it yet...
<http://grx.gnu.de/index.html>
There's a makefile for Borland C, but I don't know how well maintained it is ..


Mateusz Viste

unread,
May 31, 2015, 1:09:36 AM5/31/15
to
On 31/05/2015 02:25, Harry Potter wrote:
> Hi! I'm looking for a 16-color EGA/VGA library for Turbo C. I'm mainly looking for support for the 320x200x16-color mode

Mode 13h is dead simple - I'm pretty sure everyone creates his own
implementation for every need, tailored to the given game/program.

If you really have no idea how to start, feel free to look (or even
reuse) my own mode 13h "library" which I wrote for Sudoku86:

http://sourceforge.net/p/sudoku86/code/HEAD/tree/trunk/video.c

If that's still too obscure, then I'd recommend giving up on Turbo C,
and switching to DJGPP + Allegro, like thousands of game programmers did
twenty years ago. There, you get video for multiple video modes, sound
and joystick/mouse support all within a single API.

Mateusz

Harry Potter

unread,
May 31, 2015, 7:41:07 AM5/31/15
to
On Sunday, May 31, 2015 at 1:09:36 AM UTC-4, Mateusz Viste wrote:
> Mode 13h is dead simple - I'm pretty sure everyone creates his own
> implementation for every need, tailored to the given game/program.
>
True. I'm using that for another game.
> If you really have no idea how to start, feel free to look (or even
> reuse) my own mode 13h "library" which I wrote for Sudoku86:
>
> http://sourceforge.net/p/sudoku86/code/HEAD/tree/trunk/video.c
>
> If that's still too obscure, then I'd recommend giving up on Turbo C,
> and switching to DJGPP + Allegro, like thousands of game programmers did
> twenty years ago. There, you get video for multiple video modes, sound
> and joystick/mouse support all within a single API.
>
> Mateusz

Well, I'm actually using Open Watcom with Game32 for another game, but I kind of like planar graphics. :)
0 new messages