Time to show off a little bit.
My kernel's name is ZNU

, right now it has C and assembly apps support, FAT16 (Read Only, IDE HDD)
PS/2 Keyboard Support, and some nice VGA (80x25 and 90x60) drivers, Palette, VGA Font Loading, VGA Resolution
setting all is done by the driver, the only places I use BIOS calls are for PCI Installation Check, A20, and Memory Detection,
so my OS is mostly free from the BIOS

Newlib? Hell no, enough of people have ported newlib, way too boring now

So?
ZNULIB! ZNULIB!
LOL!
And
Why Not Newlib?
Because,
Zicronix is
Not
Un*x

And gcc is also boring, so?
SmallerC
Code: Select all
// Compile with SmallerC
// smlrc -seg32 -no-externs helloc.c helloc.asm
// nasm -f bin helloc.asm -o helloc.znx
#include "znu\\lib\\znulib.h"
int z_main(void)
{
// Called by Zicronix
printf("Application in C? Cool!");
// Change Color
set_text_color(0x2F);
// Print
printf("I can change Text Color\n, Load Files, Read PCI stuff all in C!");
// Return
kernel_return();
}