473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Help for creating a mini OS

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.

Nov 14 '05 #1
5 2649
On Thu, 26 May 2005 03:42:53 -0700, abhishekjha10 wrote:
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
Nov 14 '05 #2
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 vi*****@yahoo.com if you
are keen.

Thanks

Nov 14 '05 #3
ab***********@gmail.com wrote on 26/05/05 :
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?"

Nov 14 '05 #4
In article <mn***********************@YOURBRAnoos.fr>,
Emmanuel Delahaye <em***@YOURBRAnoos.fr> wrote:
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..
--
Beware of bugs in the above code; I have only proved it correct,
not tried it. -- Donald Knuth
Nov 14 '05 #5
<ab***********@gmail.com> wrote

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.
Nov 14 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Java and Swing | last post by:
I need to write an extension for a C function so that I can call it from python. C code (myapp.c) ====== typedef unsigned long MY_LONG; char *DoStuff(char *input, MY_LONG *x) { ... } so...
1
by: simon | last post by:
Hello, i'm looking to create an aspx page that is basically a FAQ page i'm not sure if this can be done, but would love some help with suggestions of how to do it another way if this is not...
10
by: moondaddy | last post by:
I'm new to c# and .net 2.0. In the old vb.net 1.1 days I normally created a list class for every business class and used this list class for all databinding rather than using datasets. This is...
4
by: DeanL | last post by:
Hi Guys, I need some help creating a query that is going to take between 1 and 10 parameters. The parameters are entered on a form into text boxes that may have data or be empty. Is there a...
2
by: JC | last post by:
I'm looking for help creating a keylogger program.It doesn't have to be hidden because I want to allow people access to what they have written. Can anyone help me with this or send me tutorials or...
1
by: newguy99 | last post by:
hi everyone, i am very new to asp, i have a form page in which i am having issues creating the process page for it, can somone help me create it? here is my form: FORM name=form1...
1
newnewbie
by: newnewbie | last post by:
Desperately need help in creating a query to count unique values in a table. I am a Business analyst with limited knowledge of Access….My boss got me ODBC connection to the underlying tables for our...
2
by: teejayem | last post by:
I am having problems creating a Windows Service using Visual Studio 2005. Code as follows:- Imports System.IO Imports System.Net.Mail
7
cori25
by: cori25 | last post by:
I have 4 database's that I need to enter and run a macro in. The macro in each db is named the same. I am having difficulty creating a loop to go into one db run the macro exit and then go into...
6
by: firefighter17103 | last post by:
Hi All, I am new to MS Access 07, & do not know any VB, on a new business adventure. I am running Office07 on Vista Home Premium. I am in the process of creating a database that in the end I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.