LDG

a GEM Dynamical Library system for TOS computer
Current version: LDG 2.35 (5 June 2015)

What is LDG ?

LDG stands for Gem Dynamical Libraries (actually Librairies Dynamiques GEM in french). It's a system allowing GEM applications to load and to share externals modules. For example, an image viewer could use the JPEG.LDG plugin to load a jpeg image... and in the same time, another program can use the same JPEG.LDG plugin to load anothe rimage or to save an image. You'll find later some examples of program that uses LDG system.

The LDG system (and this web site) concerns two kind of audience :

For end-user

Nothing has to be installed (although we encourage users to install the LDG system, as explained later). Any application can successfully load external LDG on a computer where the LDG system is not installed.

By the way, we encourage users to install the LDG system. Once the system is installed (LDG.PRG in AUTO, LDG.CPX in CPX, and a deamon to launch at startup... all of them automatically installed by a nice installer provided in the LDG package), the immediat benefit will be:

For developper

For C programmers, the LDG-DEV package is what you need. This package contains C-library and header file to built LDG and applications that load LDG. The library is provided for GCC 4 and Pure C compilers.

If you want some more stuff (documentation, example...), then you should download the main LDG package.

If you want to develop LDG or applications that load LDG with another programming language, it is possible too (you have to "port" the LDG-DEV package to your language). You can also rely on the LDGM cookie, but your application will then only work if LDG2 is installed on the machine.

You can found additional very interesting informations from Mikro here

^up^
Older news   ^up^

Download

Since the project is now hosted by SF.NET, we use its File Release System. All "new" packages may be downloaded from the sourceforge.net download page of our project.

^up^

The LDG developper kit

The LDG package contains:

The LDG-DEV package contains:

  • header file (ldg.h)
  • library (libldg.a)

The LDG-DEV package is only usefull for developpers. The main interesting feature is the RPM version of LDG-DEV : the header file and the library are automatically installed in the right directory. The RPM version only exists for gcc target.

Please note that the LDG-DEV package doesn't come with any documentation nor example. It's recommanded to get the main LDG package. The LDG-DEV package is only usefull to upgrade your LDG developpement environment.

^up^

Available LDG libraries

Here is a list of LDG libraries :

Name Author Version Description
Mesa GL 2.5 ported by Olivier Landemarre 0.9 A free clone of Open GL.
Mesa GL 6.2 ported by Patrice Mandin 1.4 A free clone of Open GL.
SDL 1.2.7 ported by Patrice Mandin 1.1 Simple Directmedia Layer : an universal multimedia library
Tiny GL
ported by Olivier Landemarre 0.45 A light version of MesaGL, virtual reality oriented.
Screen Olivier Landemarre 2.05 An universal true color screen driver including dithering functionalities. 02 January 2015
Thanks to Guillaume Tello, Eric Reboux and Arnaud Bercegeay for their huge technical assistance
Double Olivier Landemarre 1.00 Convert diffrent format of double (double 80bits PureC, 96bits PureC, 64bit IEEE754 (GCC)).
ME Arnaud Bercegeay 1.00 The Parx R&M protocol adapted to LDG.
Zview Image codecs Zorro 1.00 Various image codecs (jpg,bmp,img,png,gif,tga,degas) used by Zview
Xml Phillipe Castella & Arnaud Bercegeay 1.10 A module handling XML-files with PULL mode. Documentation is available from the previous version (xml 1.04)
Mem Dominique Béréziat 0.50 A memory manager for shared libraries. It is a part of LDG package.
FileUtil Dominique Béréziat 0.20 Files utilities. It is a part of LDG package.
MOD Jean-Marc Stocklausen 0.1a Player of MOD soundtrack, (PaulNG uses it).
PCI Jean-Marc Stocklausen 0.2b A library to interface PCI Bios, there is a client, (PCI Information which uses it).
Cookies Nicolas Richeton 1.01 System CookieJar utilities.
DHST Nicolas Richeton ?? Document HiSToric utilities (GEM protocol).
Codecs for Zview Lonny Pursell ?? Several LDG codecs for Zview :TGA, BMP, GIF, STAD,Art director, PBM, Truepaint/Prismpaint, IFF, Doodle, COLR Object editor, ASCII art...

You can browse our libs directory too. If you have developped some LDG-libraries, please contact us...

^up^

Example of LDG usage

Here is a list of some applications that use the LDG system:

^up^

Contributions

^up^

Authors (and contacts)

LDG are developped by :

^up^