printf(char*, ...)
Posted: Tue Oct 01, 2002 8:34 am
Hi,
Have finally started on my C Kernel, I am after a tutorial that specifically teaches the use of C in OS design. The reason I want this is because I am having doing stuff in C that I can already do in asm. In asm I am have gone all the way up to having paging enabled and working properly, GDT, IDT all setup properly. This was where I got to when I decided that it was time to start coding my kernel properly. I could write it all in asm, but this is not going to be easy and it would take 10 times as long as it will to do it in C, all I need is some fundamental info on using C for OS coding.
With printf() I am wondering how I deal with multiple unknown amounts of args in C.
Have finally started on my C Kernel, I am after a tutorial that specifically teaches the use of C in OS design. The reason I want this is because I am having doing stuff in C that I can already do in asm. In asm I am have gone all the way up to having paging enabled and working properly, GDT, IDT all setup properly. This was where I got to when I decided that it was time to start coding my kernel properly. I could write it all in asm, but this is not going to be easy and it would take 10 times as long as it will to do it in C, all I need is some fundamental info on using C for OS coding.
With printf() I am wondering how I deal with multiple unknown amounts of args in C.