Text & Graphics BIOS library
What is it?
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.
How to use it?
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.
Building sample program and running
Cd into any example, then:
$ maketo get a binary
$ make runto build and launch QEMU
# dd if=%binary name% of=%device name% bs=512to write a binary to device
Running from emulator
TGBL was tested on QEMU.
- QEMU (to test your programs)