OSDev in Mac

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
no_one
Posts: 17
Joined: Sat Jul 14, 2007 9:47 am

So...

Post by no_one »

Anyway, I'm not experienced enough to develop an OS, so what do you recommend me to do? If you recommend to learn assembly (using NASM) and write stuff, what kind of stuff could I do before being able to write a boot..thing? Also, will I need to learn how a computer works on the inside?
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

You should use Grub as your bootloader and write your OS in C or C++ (or any other usable language). Grub enters you straight into 32-bit protected mode environment, and passes you info like how much memory the computer has. When you come to testing programs, Grub will be useful since you can load modules.
My OS is Perception.
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

Please don't direct me to a book unless it's free because I have no credit card and I don't live in the US.
You want a book? Tell me which one and if it is under $100 I will buy it and ship it to you. :P I think UPS ships anywhere, right?
no_one
Posts: 17
Joined: Sat Jul 14, 2007 9:47 am

Post by no_one »

Thanks, what book do you recommend? Where can I download GRUB and how can I use it? I have Q, will that work?

Edit: I read that 'The Art of Assembly Language' by Randall Hyde is great. Do you recommend it?
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

I dunno if it is a good book.

What region of the world are you in and what can I use for a shipping location? Do you have a address or a place nearby that can receive packages?
no_one
Posts: 17
Joined: Sat Jul 14, 2007 9:47 am

Post by no_one »

I live in Cancún, México. The state is Quintana Roo. For the package my house.
no_one
Posts: 17
Joined: Sat Jul 14, 2007 9:47 am

Post by no_one »

Lol I found 'The Art of Assembly' in Planet PDF. [url=removed]Removed URL - this is a copyrighted work[/url]
no_one
Posts: 17
Joined: Sat Jul 14, 2007 9:47 am

Post by no_one »

Ok, I downloaded the FAT12 bootloader. How can I test it with Q?
Andrew275
Member
Member
Posts: 30
Joined: Tue Feb 27, 2007 2:29 pm
Contact:

Post by Andrew275 »

You can also use VMWare Fusion as your emulator. It is currently a release candidate, and free for now (the final version will not be). It works great though.

OS X makes a great OS dev platform, I think. The fact that it's UNIX really helps.
My operating system: Desktop OS
Content management system/forum: Deluxe Portal
Post Reply