GAG
the Graphical Boot Manager
Recompiling GAG from source code

All utilities that a user could need to recompile GAG from source code (except for Borland's TurboAssembler) is available in the folder devel, and all the source code is available in the folder devel/src

In the devel/src folder are the following files:

In that folder there are a lot of folders with language names. Each one contains one file messages.msg and another one font.fnt. These files are language specific, and must be in the same folder as gag.asm to be able to create a working executable.

In devel there is mklang.bat, a DOS batch file that compiles any GAG language versions. It takes as an argument the name of any langauge folder putting the compiled executable named as 'language'.com in the current folder, where 'language' is the name of the language/folder. Then it deletes all the temporary files. Another DOS batch file, mkmain.bat compiles the boot code, packager and the installer, putting all compiled executables in the current folder. Then it deletes all the temporary files.

To compile the assembler files you need Borland's TurboAssembler, running it in a DOS box, or a compatible assembler (it must be able to create DOS .COM executables, in 16-bit real mode, and accept the TurboAssembler syntax). To use any other DOS 16 bit real mode assembler you will need to correct the syntax to match the assembler (NASM, MASM, etc.)

The program mezcla.c, when compiled, takes all these executables and the files messages.txt, copying, readme.txt and faq.txt and mixes them in a single, 1.44MB file, called disk.dsk, which is ready to be used as a floppy disk image. The batch file mkmain.bat compiles mezcla.c using Borland's BCC55 C compiler.

In makecd.txt is the cdrecord command line that you need to create, from the GAG folder, a bootable CD with GAG.

©1999-2007 Raster Software Vigo
Uddate 4.11 released under GNU license, 2013
http://www.electronics-software.com