<Intro> <Install> <Legal> <Screen> <Buffer> <Sprite> <Input> <Misc> <Debug> <Utes> <Author>

Target Information.

Overview

This section is intended to detail each of the targets available for JLib. The peculiarities of the target may limit or change the expected behaviour of any of the library functions. Any such behaviour will be noted here.

I hope to encourage people to add targets as they wish, as each added target makes the library potentially more useful. So if you see a target here that isn't fully functional or lacks a lot of functions, be patient. Someone will be adding functionality somewhere. If you want to contribute a target, but only have some of the functions done, contribute it anyway and let someone else finish it or contribute to it also.

Compiling for multiple targets

If you want to compile for more than one target often on your machine, It will get very annoying to have to constantly recompile. I recommend compiling each targets library and renaming them to something meaningful. Remember to keep the include files separate also, or you might end up in trouble! To do this you will have to manually include the header files at compile time, or define the target on the command line. I will try to include more details on this in a future release.

DJGPP_V2: MODE_13H

Author:

Jonathan Griffiths

Description:

DJGPP compiler, mode 13h graphics.

Performance:

Fast even with slow cards. Rocks under local bus.

Compiling:

Compile with -lj on the command line.

Execution:

Run under DOS, Windows (all flavours) and OS/2.

Comments:

This was the first target I wrote.

Bugs:

Don't seem to be any interrupt problems now.

Missing:

Joystick Code

DJGPP_V2: GRX2_320x200x256, GRX2_640x480x256, GRX2_800x600x256

Author:

Jonathan Griffiths

Description:

DJGPP with various modes through libgrx V2.

Performance:

Fairly slow, acceptable with local bus cards.

Performance:

If you have a driver for your card it will run faster.

Compiling:

Compile with -lj and -lgrx20 on the command line.

Execution:

In theory, same as the DOS MODE_13H target.

Comments:

A bit of a hack, so it's rough, but DPMI compliant.

Comments:

Check the copyright of the new version.

Comments:

I'm going to create a VESA target to replace this.

Bugs:

Mouse shape/colour sometimes corrupted.

Missing:

Joystick support.

LINUX_SVGALIB: SVGA_320x200x256, SVGA_640x480x256, SVGA_800x600x256

Author:

Jonathan Griffiths

Description:

Linux with various modes through svgalib.

Performance:

Very fast, congratulations to the svgalib team!.

Compiling:

Compile with -lvga on the command line after -lj.

Execution:

Static library builds should run on all linux's.

Comments:

Uses svgalib palette & mode stuff but Blits itself.

Comments:

Your card needs to be supported by svgalib to use this target.

Bugs:

None reported.

Missing:

Joystick support.

X_WINDOWS: X_320x200x256, X_640x480x256, X_800x600x256

Author:

Mike Manly & Jonathan Griffiths

Description:

Hopefully generic X11.

Performance:

Not functional yet, but should be ood.

Compiling:

You will probably have to edit the makefile to compile under non-linux based X's.

Execution:

Will need compiling on each X you want to run on.

Comments:

Please do not ask me (Jon) when this target will be finished.

Comments:

I dont have X and so I can't contribute.

Comments:

I have updated this target but haven't compiled it-it may not even compile.

Bugs:

No default palette for X.

Bugs:

No input: Utes don't work at the moment.

Bugs:

Partial blitting has some problems.

Bugs:

There may be a problem in the compression/ code.

Bugs:

Under development-expect bugs until someone says not to.

Missing:

screen_fill() and screen_clear(),

Missing:

Keyboard, mouse and joystick support.

WATCOM: MODE_13H

Author:

Jonathan Griffiths

Description:

Watcom C/C++ ver 9.x, mode 13h.

Performance:

As per djgpp/mode 13h target.

Compiling:

Include JLIB.LIB on the command line.

Execution:

Should run under most DPMI implementations.

Comments:

Works with 10.x.

Bugs:

The makefile puts object files into jlib\source.

Missing:

Joystick routines

WATCOM: VESA_640x480x256, VESA_800x600x256

Author:

Jonathan Griffiths

Description:

Watcom C/C++ v 9.x , VESA 1.0+.

Performance:

Good, depends on VESA implementation.

Performance:

Get univbe if you don't have a VESA card.

Compiling:

Include JLIB.LIB on the command line.

Execution:

Should run under most DPMI implementations.

Comments:

This version is NOT optimised.

Bugs:

The makefile puts object files jlib\source.

Missing:

Joystick routines.

<Intro> <Install> <Legal> <Screen> <Buffer> <Sprite> <Input> <Misc> <Debug> <Utes> <Author>