PDA

Click to See Complete Forum and Search --> : Writing your own OS using assembly language


bimmer
April 15th, 2002, 05:01 PM
This tutorial will teach you how to write your own operating system using assembly language. Contains bootsector example code.


How to write an operating system
Writing an operating system is something that can not only be interesting (if you're one of those people that get turned on by Int 13....) but, it is also a great learning experience.

Through creating your own operating system you will learn exactly what goes on behind the scenes, elevating you above the average programmer that just writes in Visual Basic.

In this tutorial you will be tought by examples, and by the end you should have created your own operating system.


http://www.astalavista.com/library/os/misc/writing.shtml

Guus
April 15th, 2002, 06:34 PM
Awsome site bimmer!

I know I posted this before somewhere, but this seems a great thread to repeat it in. One of the labcourses I took in college was intended to learn us about assembly. We started from scratch and ended up with a working emulation of a simple RISC microprosessor. I recently checked, and the site, containing all documentation and assignments, is still online! If you have limited or no experience in assembly, this is a really fun way to start. Please bare in mind that the assingments use the powerpc instruction set.

http://www.pds.twi.tudelft.nl/vakken/in101/labcourse/

gstudios
April 15th, 2002, 07:28 PM
Here is an OS that is written in ASM.
Menuet
http://www.menuetos.org/

souleman
April 15th, 2002, 07:31 PM
Good site, but I got one question for you bimmer....Are you just going through the astalavista libraries and posting anything that looks 1/2 way decent? This is at least the 3rd post today from there....

blunt23
April 15th, 2002, 08:01 PM
Hey bimmer thanks for the link! I am gonna go try it out. Cool thread!

[WebCarnage]
April 15th, 2002, 11:03 PM
Good post, I saw that at Astalavista about a month ago. And knowing assembly, I skimmed through it a few times just to check it out. Seeing that I've never tryed building an OS,...I decided, if I ever wanted to, I would first learn C++ and edit a Linux Distro, before I ever move onto ASM OS programming. Just my two cents.

The Priest
April 15th, 2002, 11:23 PM
Good post, but should consider the fact that linking something from Astalavista... will gain you no credit!!

ihsir
April 17th, 2002, 08:27 AM
another good link, bimmer thanks.

The Priest:
you souldn't be saying that.. if it wasn't for guys like bimmer and Guus that help us all we'll be wasting quite a lot of time searching for the same stuff.

bimmer
April 17th, 2002, 08:53 AM
i just saw that the material is useful for me .. and i thought it might help athors how are welling to learn ....

souleman : Good site, but I got one question for you bimmer....Are you just going through the astalavista libraries and posting anything that looks 1/2 way decent? This is at least the 3rd post today from there....

;) ... no .. it's not like that .. but the 3 threads were something important for the members here ...

linux security ... one of the most issues we always talk about ..
IIS ... there was a thread before with many Questions ... and a less answers , so i also thought this might help them ..
and writing ur own OS ... after all i'm a programmer .. and i see it as an good knowledge to have a background about OS who they r built ...

thanks for the comments man ...



The Priest Good post, but should consider the fact that linking something from Astalavista... will gain you no credit!!

what credit u r talking about .. i can read it alone and post nothing from it .. but why not help another peeps in the AO ... they are all here for knowledge as i do .. !!
reading and get a useful info. out of my post will be good credit for me ... not all members know the Altalavista site ... :)

smirc
April 17th, 2002, 09:53 AM
Souleman made a good point. It's OK to post links and stuff from other sites as long as you reference it. But the catch is that, if that's all you ever do, you won't get much respect from people. You should try and post some of your own ideas and original stuff too. If we all just posted links then we wouldn't ever see anything new on AO would we?

Having said this, I'd much rather see people posting security related links instead of some of the drivel that turns up in the General Chit Chat Forum, even if I have seen the links before. Someone probably hasn't seen them before. Also there's plenty of cool links that don't show up with google. So have some greenies bimmer :).

bimmer
April 17th, 2002, 01:13 PM
Thanks smirc, …. Guys I might not be that expert to give you a new idea or professional materials written by me regarding security , … I’m still learning … and still need hell of time to get expert in this sector … so , when I read something useful , I just thought of sharing it with ever who need to learn like me … I didn’t know it’s gonna bother anyone !! .
And also I can’t just copy it and past it in AO site … that will be illegal and unprofessional as well …

So, the best to do is to link it , with a summarized hint about the content of it …

i hope that make sense ... :confused:

gh0stface
April 17th, 2002, 02:54 PM
bimmer-

I say don't worry about "credit" or whatever. If you find something useful, then post it. However, writing an OS in assembly is probably a bit over most people's heads on this BBS. ;)

souleman
April 17th, 2002, 03:01 PM
bimmer> No one said what you did was wrong....well, maybe The Priest did, but not smirc or I. It just seemed really strange that you posted 3 links in something like 20 minutes, and at least one of them, you came right out and said you had hardly looked at it. Like I said, they are all good links, and astalavista has a lot of good information. Instead of posting all three links in one thread (which some of us would have done) you made 3 different threads, so it looked like you were just trying to increase you post count, and hopefully ap's from people on 3 different threads.

As far as expert/professional materal that is new, just keep with it. We all started somewhere. I am just glad that you actually know where to start, which is very promissing. You are not in here asking all sorts of script kiddie questions, downloading programs, and beliving you are a hacker/ip sec person. If you keep looking up information you want to know, and take the time to actually learn it (not just scan and forget) you have a really good chance of doing something productive with you knowledge. Just make sure you stay focused, because the "dark side" is always easier, more fun, and begging you to join.

gh0stface> Plagerism is illegal and imoral. Besids the fact that it is frowned upon in these forums. If you don't give credit, and people find out, you will tend to lose respect from the other member, and may end up getting your account disabled for it.

gh0stface
April 17th, 2002, 05:10 PM
souleman-

No, I was refering to worrying about "getting credit" for posting information, not failing to list the source. It was my impression that the person earlier in the thread was talking about bimmer getting "credit," not listing his source.

Make sense?

souleman
April 17th, 2002, 05:29 PM
gh0stface> That was me. I was talking about getting antipoints, not about geting credit.

bimmer
April 17th, 2002, 05:51 PM
hee hee .. guys wazup ....

thread title is writing ur os with assmb. not more ....

as a final answer for these clarifications, i would say...

if i need just to post anything ... to increase my posts number, then i'll be posting in each thread i see in my way,,, even if i know nothing about it ... i'll do as some peeps do here ... see a thread ... get in ... post crap like ... " that was good "
does this post make a sense ... i don't think so ... nothing useful ... if he want to show that the thread is good ... do as i do ... i read the thread if i like it .. (( add + points with a nice coment to the writer )) fare enough ...

and i would do as u said Souleman .. to get 3 threads in one ... but they are not related to each other ...

one final thing : i posted all threads in 20 min. coz' i read them all first in the Astalavista site ... then after i came here i thought of listing them down here...


anyway .... i didn't mind any of ur coments guys ... as i mentioned before .. it's like a family here ... so no hard feeling pls.

c u in my next Astalavista thread ;)