Skip to content

Releases: bytorbrynden/Bad-Kernel

Hello, World

05 Oct 00:24
Compare
Choose a tag to compare
Hello, World Pre-release
Pre-release

A very (and I mean very) simple "Hello, World" kernel.
Basic things such as the multiboot header, and a 16Kb stack, have been implemented (barely).

To allow for the "Hello, World" side, support for modifying of the VGA textmode buffer was implemented.
This allows for text to be written using up to 128 different color-combinations (16 foreground colors, and 8[1] background colors).

To assist with the manipulation of the VGA textmode buffer, two functions, vga_textmode_buffer_write_c and vga_textmode_buffer_write_s, have been implemented.
They aim to make it just a little bit easier to "print" characters and strings (respectively) to the screen.

Have fun!

[1] Technically, the same 16 colors that are available for use as a foreground color, are available for use as background colors, however, the VGA text-mode buffer uses the uppermost (7th) bit in the color descriptor for an attribute that specifies whether or not the entry should "blink". In the future, this can, and will, be fixed through the use of a VGA driver that we will create.