maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Run Mac Software on Your NIT with Basilisk II (https://talk.maemo.org/showthread.php?t=16306)

OSEmuTech 2008-02-25 02:11

Re: Run Mac Software on Your NIT with Basilisk II
 
I created a website with over a hundred programs that have been tested by me to work on the Windows port of Basilisk II.

The Macintosh Emulation Station - Software

Wow, the very old redirect still works: http://run.to/mes

If any of the links are dead, please post about it here and I'm sure we can find a valid link.

BTW: I started a thread for software that can run on B2 for NIT: Macintosh Software that can run on a NIT

setasai 2008-02-25 03:37

Re: Run Mac Software on Your NIT with Basilisk II
 
My bad. I actually saw your site but after all the staring at the screen getting this thing to work I blanked out without looking to see what the site contained.

Question though, how do you transfer apps to the image file? Do you mount it somewhere? I noticed that on MacOSX when B2 runs it mounts it as unix but anything i copy over gets stripped of any kind of APP extension recognition and MacOS 7.5 thinks its just a document folder.

What do you guys do?

Sai

OSEmuTech 2008-02-25 04:12

Re: Run Mac Software on Your NIT with Basilisk II
 
Any 68k Mac application must not be extracted from an archive in Windows. Old Mac software have "resource forks" that are stripped from them when they are contained on a Windows file system (except under special circumstances like when using Services for Macintosh file sharing). The same goes for any non HFS/HFS+ file systems.

Luckily, the NIT port of B2 has the "Unix" external file system icon on the desktop that allows files to be transferred into Basilisk from the NIT file system (like a SD card).

But the file needs to be compressed via *.sit, *.hqx, *.bin, *.cpt or some other archiving type on a Mac HFS/HFS+ file system to safely reside on or be transfered to a FAT16, FAT32, or NTFS file system. The same may go for Linux file systems like Ext2, etc. So your Mac must have a non HFS/HFS+ file system?

Once the archived Mac program has been moved into Basilisk II via the "Unix" icon on the desktop (which allows access to the external file system) it can be safely decompressed with a tool like the free Stuffit Expander (version 5.5 is the last that works on 68k Macs).

ftp://ftp.ucalgary.ca/home/pub/micro...55_install.hqx

On Windows, a tool called HFVExplorer exists that can also transfer an archive file into the Basilisk II hard drive file (besides the "My Computer" icon external file system access which is just like "Unix" in other ports.)

http://www.fenestrated.net/~macman/s...r/Hdexp131.zip

Basilisk II must not be running when HFVExplorer is used. Use HFVExplorer to "open" the hard drive file and then use it's explorer like interface to move files into the hard drive file. HFVExplorer can also automatically decompress some archive files. This is lucky as Stuffit Expander itself must be automatically decompressed in order to use it to decompress files while running Basilisk II.
  1. When you mount (open) a HFS volume with the HFVexplorer program, the disk should show up on the left hand side above your a: drive.
  2. Navigate through the drives and directories on the left hand side with the right hand side displaying the contents of the Windows directory that you are in.
  3. You should be able to drag and drop files from the right hand side onto your HDF disk volume on the left.
  4. When you drop the file, HFVexplorer should ask you to select a copy mode. Use the "automatic, let the program decide" and click o.k.
  5. If you then click on the HDF volume you should see the file copied over. There is no indication that it is being copied over except the light on your hard drive indicator will be busy.

setasai 2008-02-25 04:36

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 147325)
Any 68k Mac application must not be extracted from an archive in Windows. Old Mac software have "resource forks" that are stripped from them when they are contained on a Windows file system (except under special circumstances like when using Services for Macintosh file sharing). The same goes for any non HFS/HFS+ file systems.

Luckily, the NIT port of B2 has the "Unix" external file system icon on the desktop that allows files to be transferred into Basilisk from the NIT file system (like a SD card).

But the file needs to be compressed via *.sit, *.hqx, *.bin, *.cpt or some other archiving type on a Mac HFS/HFS+ file system to safely reside on or be transfered to a FAT16, FAT32, or NTFS file system. The same may go for Linux file systems like Ext2, etc. So your Mac must have a non HFS/HFS+ file system?

Once the archived Mac program has been moved into Basilisk II via the "Unix" icon on the desktop (which allows access to the external file system) it can be safely decompressed with a tool like the free Stuffit Expander (version 5.5 is the last that works on 68k Macs).

ftp://ftp.ucalgary.ca/home/pub/micro...55_install.hqx

On Windows, a tool called HFVExplorer exists that can also transfer an archive file into the Basilisk II hard drive file (besides the "My Computer" icon external file system access which is just like "Unix" in other ports.)

http://www.fenestrated.net/~macman/s...r/Hdexp131.zip

Basilisk II must not be running when HFVExplorer is used. Use HFVExplorer to "open" the hard drive file and then use it's explorer like interface to move files into the hard drive file. HFVExplorer can also automatically decompress some archive files. This is lucky as Stuffit Expander itself must be automatically decompressed in order to use it to decompress files while running Basilisk II.
  1. When you mount (open) a HFS volume with the HFVexplorer program, the disk should show up on the left hand side above your a: drive.
  2. Navigate through the drives and directories on the left hand side with the right hand side displaying the contents of the Windows directory that you are in.
  3. You should be able to drag and drop files from the right hand side onto your HDF disk volume on the left.
  4. When you drop the file, HFVexplorer should ask you to select a copy mode. Use the "automatic, let the program decide" and click o.k.
  5. If you then click on the HDF volume you should see the file copied over. There is no indication that it is being copied over except the light on your hard drive indicator will be busy.

Now i get it. Thanks. I had decompressed it because I had not installed stuffit expander but ironically stuffit was zipped in its own bin/hqx format and thus cannot be unarchived within B2. So instead i mounted the image as a dmg on my mac and transfered the unarchived form of stuffit installer. That interestingly worked like a charm. I have not extensively played with the NIT form of B2 which is why i was asking to see if there is a particular method everybody else was using.

Thanks for clarifying. This is pretty sweet and wordperfect beats going through KDE or abiword, given KDE needs to be initiated first like B2, and abiword still in progress.

Another question. How do you setup fullscreen? I have it set to win/720/420 or whatever but the fullscreen button just maximizes it but doesnt change the resolution. Is there a separate setting?

Sai

OSEmuTech 2008-02-25 04:44

Re: Run Mac Software on Your NIT with Basilisk II
 
Good.

Just set the screen to win/800/480 in .basilisk_ii_prefs then maximize.

We are missing a GUI configuration editor for the NIT port to make changes like this easily before launching Basilisk II.

BTW: The screen size itself can be changed "on-the-fly" inside the Mac OS using the monitors control panel using the latest Basilisk II JIT ports for Linux and I think Windows and Mac OS X too, but we don't have that capability in the NIT port at the moment.

delaroca 2008-02-25 05:24

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 147236)

Yeah. The xkbd package probably needs upgrading for OS 2008 and the N810. Hopefully that can be done. I've been meaning to look at the xkbd format to see what additional keys can be used with it, like function keys and option. I imagine this has already been discussed and looked at by others on this forum.

Entering Ctrl-A via xkbd, makes a running BasiliskII crash hard!

As for xkbd, it does seem to introduce some side effects into my N800 / OS 2008 configuration. For example, tapping on URL links on the MicroB browser, in order to launch them, stop working.

I put my N800 to sleep bu hitting the Power key, then hitting the Center key in the D-Pad... this use of the Center key also stops working.

I removed xkbd, and the 3 libraries that I had installed as dependencies, and voila everything is back to normal. With these problems I am not inclined to keep xkbd installed on my system... it showed erratic behaviour at times also, ie., entering random characters.

For me this is a show stopper for using BasiliskII... I intended to use it as a platform to run a decent word processor but without a working keyboard -- virtual or hardware -- there's not much point to the exercise.

One solution could be to add support for the Hildon input-method in the BasiliskII for NIT source code.

For the N810, or for the N800 with an external BT keyboard the problem becomes to work out a suitable character map to implement use of the "option" and "command" keys expected by MacOS.

-- Denis

setasai 2008-02-25 06:34

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 147333)
Good.

Just set the screen to win/800/480 in .basilisk_ii_prefs then maximize.

We are missing a GUI configuration editor for the NIT port to make changes like this easily before launching Basilisk II.

BTW: The screen size itself can be changed "on-the-fly" inside the Mac OS using the monitors control panel using the latest Basilisk II JIT ports for Linux and I think Windows and Mac OS X too, but we don't have that capability in the NIT port at the moment.

sweet that worked like a charm.

Does anyone have a pref's file for me to checkout and compare with mine? I'm not really familiar with the intricacies of the preferences options even with most of the information on the homepage.

Thanks.
Sai

cycroft 2008-02-25 08:37

Re: Run Mac Software on Your NIT with Basilisk II
 
I extracted the WordPerfect archive. But what do I do with the "Install WordPerfect 3.5e" file? When I try to open it with "File -> Open" it just says: "Document not supported". Can anyone tell me how to install it?

setasai 2008-02-26 06:37

Re: Run Mac Software on Your NIT with Basilisk II
 
Did anybody ever figure out how to insert function characters using the hardware keyboard on the N810?

delaroca 2008-02-26 07:20

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by setasai (Post 147351)
sweet that worked like a charm.

Does anyone have a pref's file for me to checkout and compare with mine? I'm not really familiar with the intricacies of the preferences options even with most of the information on the homepage.

Thanks.
Sai

Look at msg #25 in this thread,

http://www.internettablettalk.com/fo...0&postcount=25

it works for me, I think I changed the ram setting...

--Denis

debernardis 2008-02-26 09:00

Re: Run Mac Software on Your NIT with Basilisk II
 
I was looking for utilities, on the mac side, to overcome the keyboard problem.
One could be visualkeyboard 1.2 (take it from http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/gui/visual-keyboard-12.hqx ) which gives a customizable onscreen keyboard. Beware that when I opened its configurator, basilisk crashed, trashing its virtual hd, which I had to recreate.
Maybe also ResEdit could be useful.

OSEmuTech 2008-02-26 09:22

Re: Run Mac Software on Your NIT with Basilisk II
 
Key Caps in the Apple Menu of all classic Mac operating systems might be useful.


There's also PopChar Pro, an old shareware extention that can be used to pick out keyboard characters using the mouse.

delaroca 2008-02-27 09:05

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by debernardis (Post 147881)
I was looking for utilities, on the mac side, to overcome the keyboard problem. One could be visualkeyboard 1.2.

This works quite nice, actually as it gives you access to a rather full set of symbols and international characters... takes some time to get used to the keyboard layout but it works. The clicking on the upper-left corner to make the kbd appear / disappear takes some doing but again it works.

The configuration utility is another story, it made BasiliskII crash but did not damage my Mac HD -- as you reported. Here's what apparently happened. I am running with MacOS 7.5.5.

Code:

do_handle_screen_fault: unhandled address 0x90447ffA
Segmentation fault

If need be, I suppose, a visualkeyboard configuration could be generated on a real old mac and brought over, ie., bring over the visualkeyboard.prefs file.

A new xkbd layout has been released,

http://www.internettablettalk.com/fo...light=basilisk

and possibly OSEmuTech has reworked that layout into something more suitable for BasiliskII. For the time being, the above visualkeyboard is a lot more Mac-friendly. With xkbd, I am getting some error messages from BasiliskII at startup,

Code:

Basilisk II V0.9 by Christian Bauer et al.
WARNING: Unknown preferences keyword 'udptunnel'
WARNING: Unknown preferences keyword 'udpport'
WARNING: Unknown preferences keyword 'keyboardtype'
WARNING: Unknown preferences keyword 'dsp'
WARNING: Unknown preferences keyword 'mixer'
Reading ROM file...
WARNING: Cannot open /dev/fd0H1440 (No such file or directory)
WARNING: Cannot open /dev/fd1H1440 (No such file or directory)
Using ESD audio output
gdk_window_foreign_new
Sorry - server Keyboard map doesn't contain either 2 or 4 KeySyms per
Keycode - unsupported!
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
~ $

For external BT keyboards, I think a suitable keyboard map needs creating using the xmodmap and xev utilities... BasiliskII seems to have keyboard maps and controls as well - maybe OSEmuTech can explain how these options work.

-- Denis

deerndlph 2008-02-27 19:56

Re: Run Mac Software on Your NIT with Basilisk II
 
1 Attachment(s)
Hey I am very new to the NIT and was very pleased to see that there was work being done to emulate mac. I have been using this forum to learn more and want to say THANKS. I have been able to install basilisk on my N800 OS2008 but when I go to launch a program in the emulated OS it crashes.
I have attached a pic of the error I get. I appreciate any help. I have tried to fix it to my limited ability. Thanks gain for the post I'm not as bad as I started out.
dee

debernardis 2008-02-27 20:21

Re: Run Mac Software on Your NIT with Basilisk II
 
Only one side note: eventually I got my Office 4.2.1 disk from an ebay seller and installed it on the emulated Macintosh on the NIT. It's great - it's not Speedy Gonzalez, you know, but it's more than enough to work! As OsEmuTech reported first, it makes you feel quite better to know you can mess with word excel powerpoint documents while on the go with your tablet. I'm confident the keyboard issue will be resolved, and for now a combination of hw keyboard and virtual keyboard can be enough.

But... this makes me think - if running a M$ monster program on an emulated processor and OS proves feasible on our tablets, why o why can't we have Openoffice.org? I don't believe the NIT lacks the needed horsepower - but I do firmly believe that compiling that sort of thing is a pain in the a.s.s.!

OSEmuTech 2008-02-27 22:07

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by deerndlph (Post 148692)
Hey I am very new to the NIT and was very pleased to see that there was work being done to emulate mac. I have been using this forum to learn more and want to say THANKS. I have been able to install basilisk on my N800 OS2008 but when I go to launch a program in the emulated OS it crashes.
I have attached a pic of the error I get. I appreciate any help. I have tried to fix it to my limited ability. Thanks gain for the post I'm not as bad as I started out.
dee

Hum. Which Mac OS are you running? What Mac did the ROM file come from and do you know the ROM checksum? Are you launching BasiliskII as root or as an ordinary user? You might need to run Basilisk II with extensions off to see if any extensions are causing problems. I recommend two other forums for assistance:

http://www.emaculation.com/forum (I'm Mac Emu)
http://forums.delphiforums.com/MacEmulation (I'm OS Emu)

deerndlph 2008-02-27 23:05

Re: Run Mac Software on Your NIT with Basilisk II
 
Thanks for your reply and the referral sites.
I'm running OS 7.5.5
I'm using the Quadra 650.rom (32bit clean MacII ROM 512/1MB)
The checksum is F1ACAD13

My prefs are setup like a post from an earlier post on the forum besides screen res. is 640 480
dee

deerndlph 2008-02-27 23:08

Re: Run Mac Software on Your NIT with Basilisk II
 
sorry
and I am launching from user and have launched out of nano after gainroot.
dee

OSEmuTech 2008-02-28 01:15

Re: Run Mac Software on Your NIT with Basilisk II
 
I was able to reproduce your do_handle_screen_fault error.

This error on Basilisk II has been discussed before a couple of years ago, using older source code as the Maemo port uses. The developer (Gwenole) fixed it in later source code, but I don't know what he did.

I just compiled a port for OS 2008 using a Basilisk II (JIT) source code tarball where the bug was fixed and it doesn't have the problem. But it's slower, the screen size is limited to standard resolutions, and it can't switch to full screen.

I'll be messing around with t3h's hacked code and the dozens of source code releases for Basilisk II and Basilisk II JIT I have on hand in Scratchbox. I just uploaded them if anyone knows what they're doing.

deerndlph 2008-02-28 04:20

Re: Run Mac Software on Your NIT with Basilisk II
 
Thanks
I will keep my eyes open for a fix
I love having the possibility of having the old Mac OS on my N800
I have a couple of my disc images from the 90's that I can blow the dust off of.:D

delaroca 2008-02-28 05:41

Re: Run Mac Software on Your NIT with Basilisk II
 
By the way, how do we do a desktop rebuild?

--Denis

delaroca 2008-02-28 21:57

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 148814)
I was able to reproduce your do_handle_screen_fault error.

This error on Basilisk II has been discussed before a couple of years ago, using older source code as the Maemo port uses. The developer (Gwenole) fixed it in later source code, but I don't know what he did.

Another problem, this time tryingto run Nisus Writer -- Compact Edition,

http://www.tucows.com/preview/205066

It runs most of the time, but sooner rather than later when trying to do a save, or even trying to restart Mac OS, an alert comes up with a "Sorry a System errorr..", 'Nisus Compact", "unimplemented trap"... it's a bit unpredictbale when it happens, but it happens... I am running with MacOS 7.5.5.

-- Denis

OSEmuTech 2008-02-28 22:07

Re: Run Mac Software on Your NIT with Basilisk II
 
One free program to rebuild your desktop is Tech Tool Lite: http://hyperarchive.lcs.mit.edu/Hype...l-lite-304.hqx

As far as the crashes, you probably need to use a MacWinLin version of Basilisk II to troubleshoot your extensions. I would remove all extensions and control panels out of the system folder that deal with networking (A/ROSE, OpenTransport, AppleTalk, File Sharing, etc.)

It's also a good idea after having a crash to boot up off a second hard drive file and use a disk repair tool to fix any errors on the first hard drive file. Otherwise you will continue to have crashes and errors until you repair the file system.

unique311 2008-02-28 23:49

Re: Run Mac Software on Your NIT with Basilisk II
 
I build basiliskII a while back, and had the frontend working.
but gave up on it, because of how slow it was.
If i can get the modified src being used for for the working version
of basiliskII on the NIT right now. I can compare it to the src to the zuarus version.


great work on fullscreen and speed...

OSEmuTech 2008-02-29 01:31

Re: Run Mac Software on Your NIT with Basilisk II
 
Hi unique311! I used your three builds before compiling my own. Hopefully you had time to read over some of the posts in this thread.

I used the older source of Basilisk II instead of Basilisk II JIT as Basilisk II runs faster than Basilisk II JIT with the JIT disabled as the JIT engine is for x86 only and "B2JIT" was optimized for using JIT.

(Actually, the last "unstable" Basilisk II CVS source snapshot can be downloaded here.)

t3h then make some changes to the code to allow full screen, hildonized it, and fixed the "sticky-mouse" problem (see binary and source tarballs below). I used DiffMerge to compare the old source with t3h's source last night to try getting a feel for what he had to add to make these changes.

Unfortunately, the older Basilisk II uses GTK+ 1.2.x for the GUI while the later Basilisk II JIT and Maemo uses GTK+ 2.x.

Here is t3h's last release:

Binary (+ .desktop file): http://gm.stackunderflow.com/maemo/b...ary_0.3.tar.gz

Sources (now slightly smaller after removing a bit of code for other platforms)
http://gm.stackunderflow.com/maemo/b...emo_0.3.tar.gz

delaroca 2008-02-29 02:23

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 149201)
As far as the crashes, you probably need to use a MacWinLin version of Basilisk II to troubleshoot your extensions. I would remove all extensions and control panels out of the system folder that deal with networking (A/ROSE, OpenTransport, AppleTalk, File Sharing, etc.)

Yes, I am doing all my trials on a MacOS X version of Basilisk before I move a stable HD image to the NIT.

I am beginning to think that the crashes I have been observing with Nisus Compact have to do with the VirtualKeyboard extension... and the situation with this extension gets even more complicated because of the jGNEfilter "Missing Clicks" problem which requires running yet another extension to fix that...

I also tried the PopChar utility (v1.6), but when activated -- when its window pops up -- when clicking on "Open Window" everything freezes and I have to kill BasiliskII manually.

So back to square one with the Keyboard problem... so perhaps xkbd is the way to go, provided its map could be tinkered to support "Option" and "Command" keys.

-- Denis

Update: using the xev utility was able to determine the keycode for the keyboard's "Win/Cmd" key: it is 0x85. Then using the xmodmap utility was able to remap it to the Mac's "option" key.

Code:

xmodmap -e "keycode 0x85 = Meta_L"
Keycaps can show that this is working... just makes ure to pick up a font that can display all the characters / symbols in the Keycaps display.

For a nice and detailed example of making / modifying keyboard mappings (and using the above utilities) see,

http://cs.gmu.edu/~sean/stuff/n800/keyboard/

OSEmuTech 2008-02-29 02:31

Re: Run Mac Software on Your NIT with Basilisk II
 
As you may know, the xkbd and related packages are meant for OS 2006\2007 and have problems on OS 2008. Hopefully these can be recompiled for OS 2008. I've spent some time on this, but am a perpetual newbie developer and have had no success yet.

Another thing to try is delete the .basilisk_ii_xpram in your N800's /home/user directory.

unique311 2008-02-29 03:05

Re: Run Mac Software on Your NIT with Basilisk II
 
I located a version of basiliskII that makes use of gtk+ 2.0.

http://www.koders.com/noncode/fid387...07088557F.aspx

looking at the changes he made now.




Quote:

Originally Posted by OSEmuTech (Post 149258)
Hi unique311! I used your three builds before compiling my own. Hopefully you had time to read over some of the posts in this thread.

I used the older source of Basilisk II instead of Basilisk II JIT as Basilisk II runs faster than Basilisk II JIT with the JIT disabled as the JIT engine is for x86 only and "B2JIT" was optimized for using JIT.

(Actually, the last "unstable" Basilisk II CVS source snapshot can be downloaded here.)

t3h then make some changes to the code to allow full screen, hildonized it, and fixed the "sticky-mouse" problem (see binary and source tarballs below). I used DiffMerge to compare the old source with t3h's source last night to try getting a feel for what he had to add to make these changes.

Unfortunately, the older Basilisk II uses GTK+ 1.2.x for the GUI while the later Basilisk II JIT and Maemo uses GTK+ 2.x.

Here is t3h's last release:

Binary (+ .desktop file): http://gm.stackunderflow.com/maemo/b...ary_0.3.tar.gz

Sources (now slightly smaller after removing a bit of code for other platforms)
http://gm.stackunderflow.com/maemo/b...emo_0.3.tar.gz


OSEmuTech 2008-02-29 03:23

Re: Run Mac Software on Your NIT with Basilisk II
 
That would be the German developer Christian Bauer. He is the original Basilisk II creator. Meanwhile the french developer Gwenole had been working on integrating the JIT engine into Basilisk II (and SheepShaver). Christian allowed Gwenole to maintain the Basilisk II CVS repository around 2001-2002 and Gwenole started commiting the JIT enabled code.

That Basilisk II configure.(ac) file is a later version than the one in the CVS snapshot I linked to above. I'll have to go through all my old CDRs to see if I have more Basilisk II source.

Good luck and thank you!

delaroca 2008-02-29 04:35

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 149282)
As you may know, the xkbd and related packages are meant for OS 2006\2007 and have problems on OS 2008.

By using as "xkbd -keys allkeys.vkbd | BasiliskII", so far I have not seen any annoying side effects of having vkbd on OS2008. The "Alt" is interpreted fine by BasiliskII... so missing is a key and mapping for the MAC "Option" key... the last two rows of Fn keys perhaps could be more useful being redefined with PgUp, PgDn, Home, End keys, etc.

On an external BY Keyboard, the NIT configured to recognize it as a standard PC-105 kbrd, the "Alt" key maps perfectly into in the Mac's "Command" key... the "Windows" key (to the left of "Alt") is supposed to map into the Mac's "Option" key but it doesn't... the keypad keys such as PgUp, PgDn, Home, End, Cursor keys all work fine.

So we are close. Since you have been several times around the basiliskII source, do you have any idea what codes does BasiliskII expect to recognize a Mac "Option" key?

My BasiliskII configuration, which I copied from elsewhere, uses a keyboardtype 15. From the source, could you list what the other keyboard types are?

-- Denis

debernardis 2008-02-29 06:56

Re: Run Mac Software on Your NIT with Basilisk II
 
I am using t3h's last build (version 0.3) and it seems that the keyboardtype parameter (as well as others) is not recognized -- in fact when started from xterm it outputs:

~ $ BasiliskII
Basilisk II V0.9 by Christian Bauer et al.
WARNING: Unknown preferences keyword 'udptunnel'
WARNING: Unknown preferences keyword 'udpport'
WARNING: Unknown preferences keyword 'keyboardtype'
WARNING: Unknown preferences keyword 'dsp'
WARNING: Unknown preferences keyword 'mixer'
Reading ROM file...
WARNING: Cannot open /dev/fd0H1440 (No such file or directory)
WARNING: Cannot open /dev/fd1H1440 (No such file or directory)
Using ESD audio output
gdk_window_foreign_new
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)

Also doing BasiliskII --help, you don't get any reference to these parameters.

OSEmuTech 2008-03-01 00:26

Re: Run Mac Software on Your NIT with Basilisk II
 
99.9991% of my experience with Basilisk II is with the Windows port. The original Basilisk II configuration editor has rather complete customization options.


Usually the Windows keys and right-hand-side Alt key serves as the Option key in Basilisk II.

I read that BasiliskII treats the X "Meta" keysym as the "option" key, so I'll look into implementing it in my allkeys.xkbd file on Sunday-Tuesday unless someone else does it first. ;)

delaroca 2008-03-01 07:11

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by OSEmuTech (Post 149675)
I read that BasiliskII treats the X "Meta" keysym as the "option" key, so I'll look into implementing it in my allkeys.xkbd file on Sunday-Tuesday unless someone else does it first. ;)

Yes, keysyms "Meta_L" and "Meta_R" are recognized as the "option" key. While keysyms "Alt_L" and "Alt_R" are recofnized as the "command" key.

I wonder if xkbd can actually pass modifier keys to BasiliskII? If you launch Keycaps, pressing "Shift" on xkbd does not register onthe Keycaps display.

-- Denis

delaroca 2008-03-01 09:55

Re: Run Mac Software on Your NIT with Basilisk II
 
Quote:

Originally Posted by debernardis (Post 147881)
I was looking for utilities, on the mac side, to overcome the keyboard problem.
One could be visualkeyboard 1.2 (take it from http://hyperarchive.lcs.mit.edu/Hype...eyboard-12.hqx ) which gives a customizable onscreen keyboard. Beware that when I opened its configurator, basilisk crashed, trashing its virtual hd, which I had to recreate.
Maybe also ResEdit could be useful.

To overcome a MacOS system bug, the above utility depends on the "TSM Fix" extension. The version of this extension included in the above package is a "debug" version that I think is tickling "unimplemented trap" errors in BasiliskII. A non-debug version of TSM Fix 1.03 can be found here instead,

http://www.ambrosiasw.com/~fprefect/.../software.html

-- Denis

debernardis 2008-03-01 10:36

Re: Run Mac Software on Your NIT with Basilisk II
 
@delaroca:
maybe not... reading the docs, it seems to me that the TSM fix has to be explicitly enabled and is not involved by default.
However, your suggestion is very useful because the TSM fix is needed for using virtual keyboard with micro$oft office.

Meanwhile, I could change the preferences of virtual_keyboard by opening my virtual mac hd with minivmac instead that basilisk - the config utility doesn't crash with it. It's painfully slow on the tablet, though, and the vga-only resolution of minivmac doesn't help at all, but it can be done if you're patient enough; and doing it on a desktop machine running at some gighertz could make it nicer.
Later, I saw that also the basilisk ii jit which I'm running on my ubuntu box doesn't crash with the virtual keyboard configurator

OSEmuTech 2008-03-03 07:35

Re: Run Mac Software on Your NIT with Basilisk II
 
Could some kind developer compile a version of Basilisk II for OS 2007 please?

I downgraded to Bora to be able to use xkbd, but the last Basilisk II 0.3 by t3h won't run on OS 2008. :(

PS: xkbd works great with DOSBox now that I'm running Bora, so I imagine it will run great with Basilisk II too.

spirytsick 2008-03-03 19:12

Re: Run Mac Software on Your NIT with Basilisk II
 
xkbd works nicely for me on os2008. I have not tried it with basilisk, but it works ok with uae, ja2, gemrb and other non-hildonized apps.

throwawayCA 2008-03-12 21:07

Re: Run Mac Software on Your NIT with Basilisk II
 
Has anyone had any success getting Basilisk to run older ROM/OSs? I'm trying to emulate a Mac Classic or other pre-II series, with OS 6.0.8 (which I was able to download from Apple), to run older games from my childhood (Shadowgate, Grid Wars, Dark Castle--isn't that the real reason 99% of us want to emulate old Mac OS? ). Basilisk works on my n800 with an LCIII ROM and a hard disk with 7.5.3 installed, FYR.

Basilisk's NT port hasn't supported the Classic series since build 94, and the only download I've found for that build is a corrupted .zip file! I own a Classic and a Plus, both un-ROM-rippable 300 miles away in a parent's garage, so I'm limited to what I can find downloading. so far all i've found is a IIcx ROM that passes checksum (according to the NT port, which will identify it but won't run it). Setting up a different prefs file manually for modelID and CPU, I keep getting the Basilisk error "can't read ROM file." Is this something wrong with my specific ROM file, or can Basilisk 0.9 not run classic 256K ROMs? I don't have a Linux or OS X desktop to check this against...

thx,
__throw

OSEmuTech 2008-03-12 22:50

Re: Run Mac Software on Your NIT with Basilisk II
 
"Build 94" is actually a Windows port name of Basilisk II. The Linux binaries are given by dates.

I just compiled an older Basilisk II source tarball (BasiliskII-0.8-1.src.rpm) using Scratchbox with Maemo 3.2. I set up the prefs and transfered a hard drive file with System 6.0.8 on it, a Mac Classic 256 KB ROM (checksum - A49F9914), and tried launching it all on my N800 (running OS 2007). But I get some GLIBC error.

These are the prefs I'm trying to use on my NIT:

disk /media/mmc2/Emu/Mac/vMacBoot.hfv
extfs /
screen win/640/480/8
seriala <none>
serialb <none>
rom /media/mmc2/Emu/Mac/A49F9914.rom
bootdrive 0
bootdriver 0
ramsize 4194304
frameskip 0
modelid 5
cpu 2
fpu false
nocdrom true
nosound false
noclipconversion false
nogui false
keycodes false
mousewheelmode 1
mousewheellines 3

The (non-corrupt) Basilisk II Build 94 for Windows is here and these are my prefs to run Classic via Basilisk II B94 on Windows:

disk F:\Emu\Mac\System 6.0.3.hfv
cdrom H:\
screen win/640/480/8
seriala FILE
serialb FILE
rom F:\Emu\Mac\Basilisk II 94\A49F9914.rom
bootdrive 0
bootdriver 0
ramsize 4194304
frameskip 6
modelid 5
fpu false
nocdrom true
nosound true
nogui false
nofloppyboot true
noscsi true
ntdx5hack false
rightmouse 1
keyboardfile BasiliskII_keyboard
pollmedia false
priority_ether_run 0
priority_ether_idle 0
priority_serial_in_run 0
priority_serial_in_idle 0
priority_serial_out_run 0
priority_serial_out_idle 0
priority_cpu_run 0
priority_cpu_idle -1
priority_60hz_run 1
priority_60hz_idle 1
priority_1hz_run 0
priority_1hz_idle 0
priority_pram_run 0
priority_pram_idle -1
priority_gui_run 1
priority_gui_idle 0
priority_gdi_run 0
priority_gdi_idle -1
priority_dx_run 0
priority_dx_idle -1
priority_fb_run 0
priority_fb_idle -1
priority_sound_run 0
priority_sound_idle 0
noaudio true
debugscsi 0
debugfilesys 0
debugserial 0
framesleepticks 12
showfps false
stickymenu false
etherpermanentaddress true
ethermulticastmode 0
disable98optimizations false
realmodecd false
soundbuffers 3
soundbuffersize8000 1024
soundbuffersize11025 2048
soundbuffersize22050 2048
soundbuffersize44100 4096
cpu 68020
nosoundwheninactive true
mousewheelmode 1
mousewheellines 3
mousewheelreversex false
mousewheelreversey false
mousewheelclickmode 1
mousewheelcust00 +37+3B-3B-37
mousewheelcust01 +37+3C-3C-37
mousewheelcust10
mousewheelcust11
usealtescape true
usealttab true
usecontrolescape true
disableaccuratetimer false
guiautorestart 0

oldmancoyote1 2008-03-15 02:01

Re: Run Mac Software on Your NIT with Basilisk II
 
OSEmuTech:

How about giving me a break. I don't have access to a utility for configuring BasiliskII. What do you recommend as a .basilisk_ii_prefs file for the latest version of B2? Gathering this info bit by bit from many different locations has been painful.

Many thanks in advance.


All times are GMT. The time now is 19:29.

vBulletin® Version 3.8.8