Login  •  Register


The time is now: Wed Jun 19, 2013 12:41 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 12 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Fri Jun 08, 2012 4:16 pm 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Hi, I am new to Basilisk II.

I have Basilisk II running system Macintosh 7.53 with Ubuntu. Everything is working fine, but the system does not recognize (see) mac floppy disks when they are put into the computer. I downloaded as per instructions. The only tabs I have in Basilisk II are Volumes, SCSI, Graphics/Sound, Keyboard/Mouse, Serial/Network, Memory/Misc/ Jti Compiler.

I do not see or have Preferences Tabs for Basilisk II. Is there anyway I can get my Basilisk II system to recognize Macintosh Floppies that are put into my Ubuntu computer?

Thanks!

Pete


Top
 Profile  
Post a reply  
PostPosted: Mon Jun 11, 2012 3:43 am 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Let me try this another way. Does anyone know how I can get Prefrences for my Basilisk II - Ubuntu system? Did I do something wrong in the download or setup. Any help would be much appreciated.


Top
 Profile  
Post a reply  
PostPosted: Mon Jun 11, 2012 5:06 am 
Offline
Expert User
User avatar

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

My knowledge of this issue is a bit rusty... ;-)
If these are 800k floppies, you are out of luck. You might be able to use 1.4Mb floppies.
There are several ways to mount a mac floppy:

mount: mount -F hfs /dev/fd0 /floppy
hfstils: I you have to install the hfsutils packages for your system. You can then try to mount the floppy with hmount /dev/fd0

In Basilisk, might then try to add /dev/fd0 as a volume to the list (you'll need to manually edit the prefs file)

You can also try to create a disk image from the floppy with the dd command. Something like:
dd if=/dev/fd0 of=/place/name of the image (you should look up the exact command parameters to use).

If that succeeds, you can add the resulting floppy disk image file to the volumes list in the basilisk prefs.

Best,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Mon Jun 11, 2012 4:51 pm 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Thanks so much for the help. I will try those options.


Top
 Profile  
Post a reply  
PostPosted: Tue Jun 12, 2012 6:33 pm 
Offline
Expert User
User avatar

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

I created an image of a mac floppy using:
dd if=/dev/fd0 of=~/imagename.img (creating a file called imagename.img in my home folder)

I then added the imagename.img to the volumes list in SheepShaver and the disk showed up on the desktop. The file in the image (a .sit file) could be copied to the SheepShaver hard disk and I was able to double click the file, which started stuff-it. The file was unpacked correctly.
The same procedure should work for basilisk.

Best,
Cat_7


Last edited by Cat_7 on Tue Jun 12, 2012 6:34 pm, edited 1 time in total.
 


Top
 Profile  
Post a reply  
PostPosted: Tue Jun 12, 2012 8:13 pm 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 621
Location: Germany
Hm, Control-F1 always worked for me for mounting Mac HD floppies on my Mandriva32bit host running BII.
My Mandriva 64bit beast doesnt even have a floppy drive no more.
Your milage may vary, of course.


Top
 Profile  
Post a reply  
PostPosted: Tue Jun 12, 2012 9:49 pm 
Offline
Expert User
User avatar

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

Yes, you are absolutely right. Ctrl-F1 mounts the floppy!

Thanks,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Wed Jun 13, 2012 6:38 pm 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
HI Thanks again for the help to all who have replied.

The floppies are old Mac formatted MF2HD 1.40 mb, not 1.44mb, so maybe my laptop is not reading/mounting them because they are not 1.44?

I have tried Ctrl-F1, Ctrl-F4, and Ctrl/Shift F11 but none of these options work for me.

my system shows that I have the hfsutils packages

I am new to Ubuntu and obviously new to Basiliskll, so please excuse this question, but in creating the disk image, I am assuming that I would put the floppy in the computer, and then run the dd command through the terminal? The created file would be on the desktop, move it to the home folder and then to the Basiliskll volumes in the GUI, does this sound correct?

Thanks again!
Pete

By the way, I have also tried this as noted on http://sourceforge.net/projects/basilis ... pic/653456, but I may not have copied the text exactly into the right location, because it did not help.

"The code to detect if the floppy is inserted tries to read from the floppy device file which is opened when Basilisk starts and which fails once the floppy is changed.

The workaround I used was to change the code to close and reopen the floppy device file.

basilisk2-0.9.20020115 on Debian Linux Kernel 2.4.18 i386

In sys_unix.cpp I added these lines:

if (read(fh->fd, block, 512) == 512)

return true;

// try to close / open / retry"

close(fh->fd);

fh->fd = open(fh->name, fh->read_only ? O_RDONLY : O_RDWR );

if (fh->fd < 0) {

fh->read_only = true;

fh->fd = open(fh->name, O_RDONLY );

}

lseek(fh->fd, 0, SEEK_SET);

just before the line:

return read(fh->fd, block, 512) == 512;


Top
 Profile  
Post a reply  
PostPosted: Wed Jun 13, 2012 9:11 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 3145
Location: Sittard, The Netherlands
Quote:
I am new to Ubuntu and obviously new to Basiliskll, so please excuse this question, but in creating the disk image, I am assuming that I would put the floppy in the computer, and then run the dd command through the terminal? The created file would be on the desktop, move it to the home folder and then to the Basiliskll volumes in the GUI, does this sound correct?


Yes, the dd command I gave you assumes you put the floppy in the drive and then execute it. It results in an image file with the name you chose in your home folder (the "~" in the command means you refer to your home folder). You can then use the preferences editor to add the image file to the volumes list.

Please try the dd command first, see if it creates an image of the disk.

Best,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Thu Jun 14, 2012 12:44 am 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Hi Cat_7,

You are are awesome. Thanks so much for the help. the dd img worked great. Only thing was I had to use "sudo" before the command in the terminal.

Now, that I can see my floppy data, I have another problem which is none of the files will open because "the application that created the files could not be found". I understand this for the Claris works files, but I even get that message on simple jpeg files. Oh well I am happy that we solved the big issue of getting into the floppy data. Now I will have to think about how to get software to my new mac system. If you have any ideas about viewing jpegs or word processing files, please let me know. My current Basilisk ii system is 7.5.3 Mac.

Thanks so much for the floppy fix!
Pete


Top
 Profile  
Post a reply  
PostPosted: Thu Jun 14, 2012 5:31 am 
Offline
Expert User
User avatar

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

I'm not certain, but it could be that the dd command copies only the data part of the files on the floppy. Mac files consist of two parts, a data part and a resource part. The second part contains the info about which program created the file etc. If that info is missing, Mac OS doesn't know what to do with the file.
You can, however, open the file from within the application you know should open the file. So, for a claris file, start claris, choose File/Open and select the file you copied from the floppy image. That should also repair the resource part of the file.

I should also remark that you should not open files from the floppy disk image. Please always copy the file(s) you want to use from the floppy disk image to the hard disk on which your Mac OS system is installed

How to get software into Basilisk? Use Mac CD-Roms, use the Unix drive option or download from the internet? Check out the macintoshgarden site, it has a lot of old mac software available.

Best,
Cat_7


Top
 Profile  
Post a reply  
PostPosted: Thu Jun 14, 2012 1:19 pm 
Offline
Space Cadet

Joined: Wed Jun 06, 2012 7:11 pm
Posts: 7
Thanks again!

Great information.

Have a great day!


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


Who is online

Users browsing this forum: Bing [Bot] and 2 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