Idea: Macintosh OS on PC Natively

Anything not about Mac emulation.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply

Would you want the Classic OS on an actual PC?

Yes
5
83%
No
1
17%
 
Total votes: 6
Kokokills
Space Cadet
Posts: 2
Joined: Fri Jul 06, 2012 3:16 pm

Idea: Macintosh OS on PC Natively

Post by Kokokills »

I have been thinking that since we can emulate Mac OS, we should be able to run it natively on an actual PC. There is OSX86, but why not do it for the classic Mac OS? We would probably have to convert the 68k code to C. I think this would be a cool project because it would be a classic Macintosh clone but for PC architecture. What would your opinion be about this? Any ideas of how we could convert the 68k code to C?
Jorpho
Master Emulator
Posts: 380
Joined: Fri Sep 17, 2004 4:22 am

Re: Idea: Macintosh OS on PC Natively

Post by Jorpho »

Oh dear.
Kokokills wrote:There is OSX86, but why not do it for the classic Mac OS?
Because the 68k CPU for which the classic Mac OS is written is completely and utterly different from an Intel CPU.
We would probably have to convert the 68k code to C. [...] Any ideas of how we could convert the 68k code to C?
This makes about as much sense as making an airplane by gluing lots of butterfly wings to a dolphin.
I think this would be a cool project because it would be a classic Macintosh clone but for PC architecture.
Except it wouldn't be able to run any applications, since all of the classic Mac OS applications would still require the 68k architecture. This is why we have emulation.
kikkoman
Master Emulator
Posts: 312
Joined: Fri Apr 01, 2005 7:08 am
Location: California, USA

Re: Idea: Macintosh OS on PC Natively

Post by kikkoman »

I don't know if you're old enough to remember the old "Star Trek project" from the very early 1990's... and while it's already been done, it was ultimately cancelled.


http://en.wikipedia.org/wiki/Project_Star_Trek
Machines:
  • iMac G3/600 (Summer 2001; DVD-ROM); Lubuntu 16.04
  • Compaq Presario V2000; Linux Mint 19.3 Cinnamon
  • HP Media Center PC m7780n; Linux Mint 19.3 Cinnamon; Win 10 64-bit
  • Custom AMD 3950X gaming PC; Linux Mint 19.3 Cinnamon; Win 10 64-bit
MetalSnake
Granny Smith
Posts: 120
Joined: Fri Nov 09, 2007 5:42 pm

Re: Idea: Macintosh OS on PC Natively

Post by MetalSnake »

yeah, just write an OS that does nothing but start an emulator (SheepShaver, Basilisk) :D ;)
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: Idea: Macintosh OS on PC Natively

Post by UbuntuXP »

Or, write a bootloader that starts an emulator.

Basically,

BIOS/UEFI
|
V
Bootloader
|
V
Emulator/special hardware drivers
|
V
Mac OS ROM
|
V
System
|
V
Finder
|
V
Extensions
|
V
Control Panels
|
V
Desktop

By patching the rom enough, it is possible; just be unstable.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
iMic
Space Cadet
Posts: 3
Joined: Sun Apr 27, 2014 8:55 am

Re: Idea: Macintosh OS on PC Natively

Post by iMic »

I did something like this a while back using existing solutions:

FreeDOS -> FUSION (68k Mac Emulator for DOS) -> Mac OS 8.1

The hardest part was giving it any kind of I/O. I don't believe FUSION listened for any inserted media like floppies or CDROMs. It didn't communicate with devices like modems, serial or parallel ports either. I think Sound worked since the sound card drivers were loaded with FreeDOS, and the video was more than adequate as-is.

Far from perfect, but I'd imagine this is similar to what you have in mind.
Jorpho
Master Emulator
Posts: 380
Joined: Fri Sep 17, 2004 4:22 am

Re: Idea: Macintosh OS on PC Natively

Post by Jorpho »

UbuntuXP wrote:By patching the rom enough, it is possible; just be unstable.
By the time you've "patched the ROM enough" you'd have written an entire new operating system.
iMic wrote:I did something like this a while back using existing solutions:

FreeDOS -> FUSION (68k Mac Emulator for DOS) -> Mac OS 8.1
You could probably get much more flexibility by making a minimal Linux installation capable of running Sheepshaver or Basilisk II, but there wouldn't be much point to it.
Stephen Coates
Expert User
Posts: 868
Joined: Sat Aug 30, 2003 4:15 pm
Location: UK
Contact:

Re: Idea: Macintosh OS on PC Natively

Post by Stephen Coates »

It would be cool to have MacOS run natively on a PC, but as has already been mentioned, there isn't really much point.

I wonder how much effort it would actually take to do this though? Probably quite a lot.

If memory serves, I once made a bootable floppy disk which would boot to DOS and load Fusion PC from the hard drive. I *think* it worked, but I can't remember.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Idea: Macintosh OS on PC Natively

Post by 24bit »

Stephen Coates wrote: If memory serves, I once made a bootable floppy disk which would boot to DOS and load Fusion PC from the hard drive. I *think* it worked, but I can't remember.
Such an approach would be the most promising methinks, just replace "floppy disk" with "thumb drive".
Even more, a ≧ 4GB USB thing should hold the whole stuff, host OS, FusionPC and one or two MacOS images.
I forgot the little I knew about configuring DOS for USB, mouse, CD-ROM...

I´ll wait for proceedings in patience. :)
If needed, I might prepare bootable images for FusionPC in English, my volumes are German mostly.
User avatar
UbuntuXP
Tinkerer
Posts: 68
Joined: Sat Feb 08, 2014 8:15 pm

Re: Idea: Macintosh OS on PC Natively

Post by UbuntuXP »

Here's how I think this would work.

1. Make a bootable USB flash drive with FreeDOS installed.
2. Set it up for launching the mouse driver (such as ctmouse.com) and fusion in autoexec.bat.
3. Copy disk images and ROM you want to use.
4. Set up fusion.
5. Test on a computer with BIOS or in BIOS mode on UEFI.
"Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."

Doug Gwyn
Post Reply