Computing.Net > Forums > Programming > write a kernel in c -- problems

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

write a kernel in c -- problems

Reply to Message Icon

Original Message
Name: brianez21
Date: January 19, 2004 at 12:00:19 Pacific
Subject: write a kernel in c -- problems
OS: redhat 7.3
CPU/Ram: 144m
Comment:

I have been having some problems lately...
I am writing my own opensource OS called Ness in C. I have a multiboot ELF kernel that boots up :-), turns on XMS, prints some stuff to the screen, and halts. I have code for a shell and a filesystem (yeah, right...) but I can't seem to get it -- the shell --- to SCANF() because I have no Ness OS Runtime Library (nLibc). Does anybody know where I can get an OS's LIBC example with a SCANF()?

Notice: I have PRINTF() and CLS() because it is compiled into the kernel to write to videoram. it works, but it dosen't scroll the screen. -- I can worry about that later; I have a deadline!

Tech stuff: Yes, it is 32 bit mode. No, I don't like using ASM.


Report Offensive Message For Removal


Response Number 1
Name: anonproxy
Date: January 19, 2004 at 20:15:48 Pacific
Reply: (edit)

You want scanf() code to use or how to use scanf() in code?

GNU libc
BSD Darwin libc



Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software