Quote:
Originally Posted by jim mcnamara
I think he wants to do low-level I/O directly, essentially bypassing most of the kernel's protections. Essentially, hack a disk.
I got a simple kernel working. Some guy on another site said to use fopen() to get a pointer in
/dev from file called disk0, disk1, disk?, etc.
I can't use this syntax without getting an error: FILE *f.
I can't include stdio.h. It gives me an error. Now I'm stuck. this platform makes it hard, because hardly any one knows it and there aren't any kernel books. I probably switch platforms in the next year, because my development is being retarded because of these issues. Unix and Windows both have a jealous amount of stuff for their platforms at my local bookstores, but the Mac section and book search produce scant.
None the less, for the time being, if anyone could help me with the stdio.h file inclusion, it would be much appreciated.