Page 1 of 1
Want to start writing
Posted: Tue Jun 10, 2008 3:15 am
by Tootles
Right, I actually want to start having a go at writing a simple OS. I've downloaded a document talking about how to write the simplest of things (printf and clearscreen). What other elements would I need for a simple OS?
Posted: Tue Jun 10, 2008 3:26 am
by AJ
Posted: Tue Jun 10, 2008 12:34 pm
by z180
Printf() is not the best place to start with(my opinion).
I do not remember where I started my OS(sadly lost it)
but it was neither printf nor finding a name.It was some
hardware setup I have not in my head.Read tutorials or this forum
then lookup source and get your own thoughts.Dont imitate linus
starting way.Write a minimal kernel that is multiboot compatible
and sets up hardware first,.
-off topic-.
Also some people do surf on other peoples computers and I have for a long time problems accessing your virtual cage with IE and not every pc allows me installing software like browsers to view your old hardware
collection.
Posted: Tue Jun 10, 2008 12:49 pm
by piranha
I'd have to disagree. Once you get the basic working kernel (loads the high language part), printf is very important! Getting output to the monitor is a very basic debugging tool.
-JL
Posted: Tue Jun 10, 2008 1:21 pm
by Alboin
piranha wrote:I'd have to disagree. Once you get the basic working kernel (loads the high language part), printf is very important! Getting output to the monitor is a very basic debugging tool.
I don't have printf in my kernel. I just have something like:
Code: Select all
console_print(char*)
console_print_int(int)
Posted: Tue Jun 10, 2008 1:29 pm
by piranha
Alboin wrote:piranha wrote:I'd have to disagree. Once you get the basic working kernel (loads the high language part), printf is very important! Getting output to the monitor is a very basic debugging tool.
I don't have printf in my kernel. I just have something like:
Code: Select all
console_print(char*)
console_print_int(int)
I meant something that prints to the screen, although printf is useful as you can print numbers easier.
-JL
Posted: Wed Jun 11, 2008 2:16 am
by naiksidd_85
try reading james molloy tutorials or brokenthorn also we have babystep tutorials in wiki.
also try reading small OS source code and gather the information.
The biggest mistake I did when i Started with the work was trying to create a boot loader it takes up a lot of time(its not that you cannot) work more on your frame work it helps a lot and once you think that you are happy with what you have you can go back and try to write a boot loader for your self.
also you need to have basic knowledge of ASM (again not manditory).