Want to start writing
Want to start writing
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?
Have a day.
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.
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.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
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
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
I don't have printf in my kernel. I just have something like: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.
Code: Select all
console_print(char*)
console_print_int(int)
C8H10N4O2 | #446691 | Trust the nodes.
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
I meant something that prints to the screen, although printf is useful as you can print numbers easier.Alboin wrote:I don't have printf in my kernel. I just have something like: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.Code: Select all
console_print(char*) console_print_int(int)
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
- naiksidd_85
- Member
- Posts: 76
- Joined: Thu Jan 17, 2008 1:15 am
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).
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).
Learning a lot these days THANKS to OSdev users