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)

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 21:39.

vBulletin® Version 3.8.8