GAG, the Graphical Boot Manager

# 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:

- gag.asm: contains GAG's source code (except the messages and font, which are language-dependant).
- install.asm: contains the installer's source code.
- boot.asm: is the source code for the installer's boot sector.
- messages.msg: messages for the installer.
- copying: license (for adding to the installer).
- faq.txt: FAQ (for adding to the installer).
- readme.txt: instructions file (for adding to the installer).
- put_returns.py: the messages, license, FAQ and instructions must use CR/LF returns to ensure that the installer will process them right. This little python script process them to ensure that.

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 than gag.asm to be able to create a working executable.

In devel there is haz.bat, a DOS batch file that recompiles all GAG language versions, the boot code and the installer, putting all the compiled executables in the current folder. This batch file copies gag.asm into this folder and, one by one, copies the messages.msg and font.fnt files for each language, compiling it and creating one .COM file for each language. Then it deletes all the temporary files and copiles the installer and the boot code, generating two more .COM executables.

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).

The program mezcla.c, when compiled, takes all these executables and the files messages.msg, copying, readme.txt and faq.txt and mix them in a single, 1.44MB file, called disk.dsk, which is ready to be used as a floppy disk image.

In the 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