C for the assembly developer?
Posted: Tue Sep 02, 2008 12:58 pm
Let me start by saying that most of my programming experience is with assembly language. I've written a few simple OS kernels with it in the past and a few apps and such, but I've been pretty much out of the whole OSDEV scene for a couple years. Anyway, I've taken an interest in trying my hand at it again, only this time I'd like to properly learn C and write a kernel in it, rather than the entire thing in ASM. There's a few reasons why I want to make the move on to C, mainly that I've learned that writing anything large in ASM is tedious at best and mind-numbing at worst, but that's not the point.
Most books/tutorials/ebooks that I've picked up on C focus on teaching the reader C for purposes of application development, usually under Windows and sometimes Linux. That's all well and good, but obviously not what I'm going for. I've learned how to write applications in C on Linux before but my roadblock seems to be that I'm a bit confused as to how to apply a knowledge of C to writing an OS. Can anyone recommend a book/tutorial on C that focuses on how to apply it to writing a kernel rather than an application?
Thanks,
512
Most books/tutorials/ebooks that I've picked up on C focus on teaching the reader C for purposes of application development, usually under Windows and sometimes Linux. That's all well and good, but obviously not what I'm going for. I've learned how to write applications in C on Linux before but my roadblock seems to be that I'm a bit confused as to how to apply a knowledge of C to writing an OS. Can anyone recommend a book/tutorial on C that focuses on how to apply it to writing a kernel rather than an application?
Thanks,
512