Login  •  Register


The time is now: Fri May 24, 2013 4:18 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 19 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sat May 22, 2010 1:48 am 
Offline
Space Cadet

Joined: Sat May 22, 2010 1:30 am
Posts: 5
Location: Big Island Hawaii
MkLinux on 68030 + FPP should be possible in BasiliskII. Penguin v19 however refuses to cooperate and says in needs a MMU which of course should be there in emulated 68030+. Has anybody else gone this route? I am going to debug at the source level if I need to.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat May 22, 2010 2:07 am 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
Actually, the MMU is not emulated in Basilisk II (or SheepShaver). So you can't run Linux.

That has been on our wish-list for a very very long time.


Top
 Profile  
Post a reply  
PostPosted: Sat May 22, 2010 3:22 am 
Offline
Space Cadet

Joined: Sat May 22, 2010 1:30 am
Posts: 5
Location: Big Island Hawaii
Oh I didn't know. Thanks for the quick response. I guess I thought emulating the processors included that.

Perhaps because Basilisk is more about supporting the Macintosh software? I guess the MacOS doesn't need paging and such. How about the 68020 kind of segmentation? Does it emulate that?

I imagine some other emulators for 68k have MMU emulation. Do you know?

Thnks


Top
 Profile  
Post a reply  
PostPosted: Sat May 22, 2010 6:00 am 
Offline
Space Cadet

Joined: Sat May 22, 2010 1:30 am
Posts: 5
Location: Big Island Hawaii
Ok, nothing ready yet for emulated linux here.

Still, I sure could use it ( and others I expect ).

So I'll look into doing it.

I might have all the stuff: books, brains, examples, hardware, that I might need.
I do have the time. Of course the hardest thing is to finish it.

So, wish me luck.
jonny


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat May 22, 2010 6:12 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
Hi,

As requested: I wish you luck, and perseverance! Your MMU effort might also help us running Mac OS higher then 9.0.4 on SheepShaver.
There is some code for the PearPC emulator MMU in the HWMMU branch of their source repository.

Best,
Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun May 23, 2010 11:37 pm 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
Best of luck to you. Many people will be very happy if you can complete that emulation.


Top
 Profile  
Post a reply  
PostPosted: Mon May 24, 2010 6:04 am 
Offline
Space Cadet

Joined: Sat May 22, 2010 1:30 am
Posts: 5
Location: Big Island Hawaii
Thanks, It helps to know there are people are out who are needing the result some work, because it sure takes a lot more effort ( to complete a project ) that one expects. :wink: At least there are u 2.

My use for an emulator is write software for a collection of Powerbooks and Duos I have. About 12 now.

However I think that the Mac people here on this formum need a emulator thats emulates PPC processors. Like in my G3 ibook. That would be nice.

Tell me, it is the ability to run latter versions of OS 9x that everybody is looking for. Correct?

And is the software that runs on the MacOS, that ultimately, u desire? Is it software you already use?

Thanks


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon May 24, 2010 6:22 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
Hi,

People using BasiliskII and SheepShaver have various reason for doing so. Some keep old software running for clients, some use it like you would a negative film scanner: once you have scanned all your negative film, you're done.
Others like to run old games, and some like to run e.g. Photoshop up to the latest version Mac OS 9.2.2 supported.

My guess is that in updating/extending the emulators you could set up this list of priorities:

Updating:
-stable/64 bit proof drivers for cdrom and ethernet for Windows versions
-appletalk support on OSX host

Extending:
-Mac OS 9.1 and higher support (requiring MMU)
-USB support for printers/scanners etc.
-completer emulation, so e.g. Office would run without problems
-support for OpenGL.

A nice list, isn't it? I'm sure others could come up with even more suggestions.

About your initial question about running linux in sheepshaver: does that require an MMU? Or is the issue related to the boot mechanism SheepShaver supports or Linux requires, like emulation of OpenFirmWare?

Best wishes
Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sun Jun 06, 2010 5:08 am 
Offline
Granny Smith

Joined: Fri Sep 17, 2004 4:22 am
Posts: 138
MMU emulation would also enable such nifty curiosities as running A/UX or BeOS PPC, as I understand it.


Top
 Profile  
Post a reply  
 Post subject: that is interesting
PostPosted: Tue Jun 08, 2010 3:24 am 
Offline
Space Cadet

Joined: Sat May 22, 2010 1:30 am
Posts: 5
Location: Big Island Hawaii
I didn't know about BeOS on PPC. Maybe 'cause I never use beos yet.

and A/UX is that IBM's unix? that would be fun. Originally i was thinking of porting version 7 to the mac. But I've since gotten past that notion.

In my design I am planning both a 68K and ppc processor with a generalized bus that can accomodate both. It is a significant project and will certainly take time. So in the meanwhile I worked on something fun which I can release right much sooner.

John


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Jun 08, 2010 4:32 am 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
How about this:

http://www.amigaemulator.org/patches

UAE (where Basilisk II gets its 68k emulation) already has an MMU patch, as you can see. It is designed to allow UAE to run Linux, just like you want to do. Sort of.

Can that be incorporated into Basilisk II?

I think someone tried to do something like that once before:

http://www.mombu.com/programming/netbsd ... 38830.html


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Fri Jun 11, 2010 7:37 pm 
Offline
Tinkerer

Joined: Thu Feb 18, 2010 10:09 pm
Posts: 59
Found http://aranym.org/
From looking at source it is based on Basilisk with mentioned mmu patch, and then modified.

It also mentions running linux-m68k
Quote:
designed and developed for running 32-bit Atari ST/TT/Falcon operating systems (TOS, FreeMiNT, MagiC and Linux-m68k) and TOS/GEM applications on any kind of hardware


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Sat Jun 12, 2010 6:46 am 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
That looks really interesting!

Here is some documentation specific to setting up Linux-m68k

http://wiki.aranym.org/afs/setup_linux

When I have some free time I will try doing just that! If someone here beats me to it, please post some screenshots.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Jun 15, 2010 6:57 pm 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3104
Location: Canada
This is too hard for me. :(


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Thu Jun 17, 2010 12:15 am 
Offline
Apple Corer
User avatar

Joined: Thu Oct 16, 2008 10:09 pm
Posts: 200
Location: Canada
Though an MMU is a major requirement of possible A/UX emulation, it isn't the only one. You need precise device emulation of real hardware devices (CD-ROM drives, etc.) as well as an emulated/really SCSI hard disk. I believe this is the same case for MKLinux/NetBSD/etc.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Nov 22, 2010 6:36 am 
Offline
Tinkerer

Joined: Mon Sep 07, 2009 3:03 am
Posts: 57
I had some success running a real IDE hard drive in Windows 98SE with Lauri Pesonen's Windows port of Basilisk II, until one of his later releases nuked it. So I never bothered to set that up again.

It also took a long time for VIA to release stable buss master IDE drivers for 98SE so the IDE drives would show up by name instead of as Generic, which is required for BII to see them as "SCSI" devices.

I dunno if it'll work with or boot from a real SCSI hard drive. I never tried it.


Top
 Profile  
Post a reply  
 Post subject: SCSI
PostPosted: Mon Dec 13, 2010 5:57 pm 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 609
Location: Germany
This may be a bit off topic, but build 94 for Windows is indeed addressing some Mac SCSI devices correctly.
I had a hard disk and a magneto optical connected to my PC's SCSI host adapter.
If someone is interested in this topic, I might try to boot BII from MO. I can't see a reason why that shouldn't work.

By the way, BII's Linux version offers a SCSI pane too, but I have no clues, how to access SCSI devices with that one.


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Mon Dec 13, 2010 10:18 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3128
Location: Sittard, The Netherlands
Hi,

I ran SheepShaver off a real partition on a SATA disk in Linux. I guess when the disk and it's partitions show up in Linux (sata, ata or scsi), you can use the disk/partition to run from. You might need to format them for HFS. Of course you can't boot of any disk straightaway, Linux needs to be started first. Disks/partitions then would be known like /dev/sda0.

Best,
Cat_7


Top
 Profile  
Post a reply  
 Post subject:
PostPosted: Tue Dec 14, 2010 2:17 am 
Offline
Tinkerer

Joined: Mon Sep 07, 2009 3:03 am
Posts: 57
How to initialize an IDE drive mounted as a "SCSI" drive in Basilisk II. (Note this was done with Windows 98SE!)

1. The drive must appear by name (from the drive's firmware) instead of Generic IDE in Device Manager, which means Microsoft's IDE drivers won't work. You must have buss master drivers for the IDE controller. VIA took a long time to get theirs stable. Intel's are hard to find on their site for older chipsets and old versions of Windows. Newer Intel chipset drivers for them simply say the chipset is already supported by Windows instead of installing the last Intel driver release. (NT based versions of Windows always show drives by name so this shouldn't be an issue.)

2. The drive needs to be FDISKed as a single FAT16 partition but NOT formatted. Windows will take control of formatted hard drives. I don't recall what happened when I tried to access a completely unprepared drive with Bailisk II, I just remember it had to be partitioned but not formatted.
(I've no idea if Windows 2000/XP/Vista/7 will block Basilisk II or Sheep Shaver from accessing a partitioned but not formatted drive.)

3. In the GUI, enable SCSI and select the "SCSI" drive you're going to use.

4. Use a patched version of Apple's HD SC or Drive Setup to format the drive. No other utility will work because Apple's is the only one which works entirely with System calls. 3rd party formatters use some direct hardware access which Basilisk II and Sheep Shaver do not emulate.

5. Make the whole drive one partition. Attempting to do two or more will crash it. I never tried making more than one partition with FDISK for this process. I don't know what Apple's drive utilities would make of the DOS/Win extended partition setup.

The base structure of FAT16 and FAT32 must be identical or very close to HFS and HFS+. I found that the easiest method to use a SCSI drive not supported by Apple's utilities on a real Mac is to FDISK and format on a Pc using a good SCSI controller. Hook the drive up to a Mac that has support installed for DOS disks then simply use the Erase command on the menu bar to change FAT16 to HFS and (in OS 8.1 through 9.2.2) change FAT32 to HFS+.

Soooooo... who wants to try making an IDE or even SATA drive work with Sheep Shaver in Windows XP or later? ;) I assume that with Basilisk II a 2 gig maximum FAT16 unformatted primary partition would need to be created at the start of the disk. Dunno if the rest of the drive could be formatted and used by Windows afterward without fouling up the Mac partition.


Top
 Profile  
Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 19 posts ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group