Page 1 of 1

Newbie question...

Posted: Thu Mar 28, 2013 1:38 am
by DrHaximus
Hello everybody.

To give a bit of background, I've been working with C++/C for the last two years or so as a hobby, and I thought that creating something to boot to would be a fun, educational and daunting task. Plus there's the obvious bonus of being able to control my hardware at a low level. (I say "something to boot to" because when I think of "operating system" I sort of mentally face palm myself :wink:)

I'm finding myself having the same issue I had when I first began with C++, when I first started I looked up a hello world tutorial. I found that the best that the tutorials could offer was a simple, one line explanation of each of the lines and why they exist. Looking back on this I would have done the same thing. Although, I'm wondering if this is the same for assembly (and in extension to learning the tricks of the trade of operating system development.) What I'm really asking is, do I continue and hope some of the underlying meaning to be presented later?

I feel that I have a firm grasp on the basics, I've been reading the first three 'baby steps' tutorials for the last week as well as reading up on the stack and the various modes that must be set during the lifespan of the operating system (over and over, got to make it stick haha) and I'm able to write comments beside each line on why it's important to the bootloader.

Thanks for reading.

Oh, and huge PS:
Any recommendations for assembly PDFs? No books please, unfortunately I don't have the money to buy books.

Re: Newbie question...

Posted: Thu Mar 28, 2013 3:06 am
by iansjack
You could do worse than The Art of Assembly Language Programming (available as a PDF also - Google it). You should also download the Programmer's Reference from either AMD or Intel (or both).

A lot of it seems like Greek to start with, but keep at it and it all falls into place. You'll also need to find out details of programming your hardware. The Wiki here is a good start and Google will find you lots more information. It's so easy nowadays compared to a few years back!

Come back here if you have specific problems or queries, but try to work it out for yourself first. It teaches you more and people can get impatient if you haven't made the effort. Good luck and happy programming!

Re: Newbie question...

Posted: Thu Mar 28, 2013 3:39 am
by DrHaximus
Thank you. I've already gotten that PDF, and I have a five day weekend so why not?

I totally agree. I apologise if this seems like I didn't put the effort in, but I don't know where else to post a question like this.

Re: Newbie question...

Posted: Thu Mar 28, 2013 3:57 am
by iansjack
Apologies; no criticism of your post intended, but advice for the future.