Makefile now has VGA=2 to set the QEMU monitor to STDOUT. Nice for
things like memory dumps.
Can now parse the memory and create a bitmap of workable regions.
Allocation soon(tm)
Default output variable holds a generic writer, and any output that
isn't really sure where to output to can just output there. Set by the
system early in boot.
Also made some changes to the makefile to support arguments in the "make
run" or "make debug" subset of calls. For now, it's just VGA=1/0 or
SERIAL=1/0 to enable/disable VGA/serial. Defaults are VGA=1, SERIAL=0.
- Changed primary assembler to NASM. Specifically so I could use -
- Swapped start.s to intel syntax. I find it prettier. Learned a lot
doing it tbh.
- Changed the name of the multiboot structures in C.
comments for study
Also made a makefile that can build and run the thing. Current run
method is directly from QEMU - but the makefile will later make an image
with a given bootloader.