Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: