A library that helps you write assembler code for BIOS.
It includes bootloader, functions and macros for printing strings, managing keyboard, drawing ASCII pictures, timers etc.
Copy the lib/
folder to your project's one and don't forget to set the -i "lib/"
flag for NASM. Then take a look at the examples.
Also you may check project wiki.
Moreover, TGBL has a tool for drawing ASCII-pictures.
Cd into any example, then:
$ make
to get a binary$ make run
to build and launch QEMU# dd if=%binary name% of=%device name% bs=512
to write a binary to device
TGBL was tested on QEMU.
- nasm
- QEMU (to test your programs)