Help for creating a mini OS

A

abhishekjha10

Hello everybody,
I am trying to create a mini OS in C. Can you help me with some
helpful links and sites.
Thankyou.
Abhishek Jha.
 
R

Robert Gamble

Hello everybody,
I am trying to create a mini OS in C. Can you help me with some
helpful links and sites.
Thankyou.
Abhishek Jha.

No, this is a newgroup about Standard C, not a web-search outsourcing
facility. Google is your friend, if somewhere in your research you come
up with a question about Standard C, feel free to come back and ask.

Rob Gamble
 
V

vib

Hi there,

This is not the right forum. As I am also in the middle of creating my
own OS, embedded one, so you may email me at (e-mail address removed) if you
are keen.

Thanks
 
E

Emmanuel Delahaye

Hello everybody,
I am trying to create a mini OS in C. Can you help me with some
helpful links and sites.

You cant' write an OS from scratch in standard C. You need hardware
resources ans a lot of extensions from your compiler. gcc is a must for
the purpose.

--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html

I once asked an expert COBOL programmer, how to
declare local variables in COBOL, the reply was:
"what is a local variable?"
 
W

Walter Roberson

You cant' write an OS from scratch in standard C. You need hardware
resources ans a lot of extensions from your compiler.

Wouldn't that depend on what you want the OS to *do* ?

If your OS is co-operative tasking or single-threaded, then
you can implement a complete filesystem within a single binary file
and you can give the illusion of doing several things at once.
Loading and executing programs, and processes and BIOS calls can be done
by working with a "virtual machine" instead of native machine code.
Yes, you'd be restricted to a single text-only "console", but
computing history was built on the back of ASR-33's..
 
M

Malcolm

Hello everybody,
I am trying to create a mini OS in C. Can you help me with some
helpful links and sites.
comp.programming is a better ng for this subject.

C is a good language for writing operating systems because it is extremely
effiicient and interfaces well with both assembler and higher-level
applications languages.
I couldn't really advise you about how to go about it. Personally I would
probably get a few of the basic hardware devices working (without booting
the current OS, if there is one). If you have an output device capable of
handling characters then a good start is to send "hello world" to it. If you
only have a memory-mapped raster then start by printing pixels, and then
build up using a basic 8*8 font.
Once you have some output, you can get steadily more ambitious, adding input
devices like keyboards, disk drives, and so on.
Finally you can run user-level applications, at which stage you have a
operating system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top