Page 1 of 1
Tutorials in C
Posted: Mon Nov 24, 2003 4:09 pm
by Programmer
I know the basic of C language, do you know any good tutorial to learn advanced C programming to help me in writing my OS
How can I know the id of the memory and hardware lik "0x10h"
Re:Tutorials in C
Posted: Wed Nov 26, 2003 7:44 am
by Pype.Clicker
what do you consider as "advanced" ? having dynamic structures like trees and lists ? performing strings operations ?
What exactly do you mean by "hardware lik 0x10h" ? Are you looking for memory assignment (see perica's tutorial on BonaFide for a quicklook) ? or I/O ports (google for HelpPC) or BIOS interrupt 0x10 (see Ralf Brown's Interrupt List) ?
Re:Tutorials in C
Posted: Wed Nov 26, 2003 11:54 am
by mr. xsism
one of my netizens friends is writing a tutoiral for osdever.net. I'll give you a sneak peak. Hint: it is a very good tutorial.
It should be attacked to this and is about 22.8KB
mr. xsism
shouts:
hi timR, pype, df. How's it going guys? Everything dandy?
osmaker, s_parlane, beyond, warmaster. Hi.
Re:Tutorials in C
Posted: Thu Nov 27, 2003 9:05 am
by Fukuda
Also ı need a c tutorial which explains :
inline assambly instruction syntax
pragma instruction and using it
attribute instruction (_attribute_ packed ...)
thanks.
Re:Tutorials in C
Posted: Thu Nov 27, 2003 11:17 am
by Tim
For these, look up the documentation that came with the C compiler you're using. They're not part of the standard C language. It looks like you're using gcc, so run "info gcc" and go to "C Extensions". Alternatively, you should find the gcc manual on the web (try
http://www.gnu.org/software/gcc/).
Re:Tutorials in C
Posted: Thu Nov 27, 2003 5:21 pm
by Programmer
Yes I want to know the IO ports and Memory IDs and how to deal with them.
Re:Tutorials in C
Posted: Thu Nov 27, 2003 5:42 pm
by Tim
OK, what device do you want to program?
Re:Tutorials in C
Posted: Thu Nov 27, 2003 7:24 pm
by Programmer
I want a to program the VGA , Mouse and KeyBoard devices.
Re:Tutorials in C
Posted: Fri Nov 28, 2003 5:29 am
by Tim
Go to
http://www.nondot.org/sabre/os/. You should find all the information you need there.