Comment by mihaic
3 years ago
That is insane, congrats.
I would have wished some explanation on where the function calls like vga_init and vga_set_pixel come from, I'm not a graybeard yet.
3 years ago
That is insane, congrats.
I would have wished some explanation on where the function calls like vga_init and vga_set_pixel come from, I'm not a graybeard yet.
They're from the runtime, which is just concatenated with the program to be run: https://github.com/xorvoid/sectorc/blob/main/rt/lib.c
Yup. See “rt/lib.c” A bunch of inline machine code. The assembly mnemonics are in the comments.