Page 1 of 1
OS proramming on IntelMac
Posted: Fri Oct 27, 2006 4:35 am
by Tehy
Hi,
I just got the new iMac and I would like to know what tools I need to OS proramming?
Thanks!
Posted: Sat Oct 28, 2006 3:04 pm
by carbonBased
You've probably already got everything:
The GCC compiler suite and binutils would cover pretty much everything.
You'll probably also want a PC emulator like QEmu, Bochs, or VMWare.
I've used all, and I like QEmu for most everything, but Bochs allows better debugging.
--Jeff
Posted: Sat Oct 28, 2006 5:58 pm
by chase
I didn't think VMWare ran on OSX. It's one of the Intel based Macs right? The only computer emulator that I know for sure works on x86 Macs is called Parallels. Parallels isn't free though.
Posted: Sat Oct 28, 2006 6:21 pm
by earlz
microsoft VPC I think is free for mac, I know it is for pc(windows)
Posted: Sat Oct 28, 2006 7:12 pm
by Brynet-Inc
...Compile QEMU or bochs
Posted: Mon Oct 30, 2006 4:35 am
by Tehy
Ok, thanks for the info
Posted: Wed Mar 14, 2007 2:21 am
by Colonel Kernel
Bumping this thread...
I've managed to create a GCC cross-compiler on OS X. My OS compiles ok and runs under Parallels (not that it does much, but there it is anyway)...
So yes, it is possible! Although I have noticed that Parallels, like Virtual PC, has limited VGA emulation... no 90x60 text mode and custom font for me
Posted: Wed Mar 14, 2007 10:19 am
by iron_chef
There's a native Cocoa port of Qemu for OS X called 'Q' that seems to work fine for me so far. Google around for that...
Posted: Thu Mar 15, 2007 11:07 am
by ehird
Akin to this, it is probably also possible to use your OS on a mac, without emulation.
If you use the BIOS, then use Boot Camp and put your OS disk in instead. Use rEFIt for a bootloader.
GUID or whatever Apple uses is probably accessable if you use EFI, not the BIOS (what mactels natively use (EFI that is)) - but being a noob I don't know.
Perhaps someone should code a BIOS/EFI abstraction layer.
Posted: Thu Mar 15, 2007 11:57 am
by Colonel Kernel
ehird wrote:Akin to this, it is probably also possible to use your OS on a mac, without emulation.
Right now I'm using GRUB, my iMac doesn't have a floppy drive, and I haven't had the time to figure out floppy emulation with a USB key... I haven't even installed Boot Camp yet, so I'm a long way from booting my OS on the raw Mac hardware.