PDA

View Full Version : Run Mac Software on Your NIT with Basilisk II


OSEmuTech
2008-02-08, 01:13
If anyone is interested, a new build of the open source Macintosh 680x0 emulator called Basilisk II is available (http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files).

Update: See this post by t3h (http://www.internettablettalk.com/forums/showpost.php?p=141307&postcount=63) for updated Basilisk II port which includes full screen and a mouse fix!

Update: Also see the Basilisk II on your Nokia Internet Tablet (http://home.tampabay.rr.com/osemu/n800/b2/) website for a (work-in-progress) tutorial on setting up and running Basilisk II.

You can run up to Mac OS 8.1 on it and almost any software title (including games) available for the platform. It has sound (even text to speech works) and the screen dimensions can be made any size.

It's not hildonized as I just did a simple build using Scratchbox. This build is at least 2 times faster than an earlier build mentioned elsewhere on this forum.

You do need a 512K or 1MB ROM image file from a 680x0 Mac, a Mac operating system (Apple provides Mac OS 7.5.x for free*) and need to edit the .basilisk_ii_prefs file to match your paths of ROM and hard drive files. xkbd is also needed if you don't have a N810 or bluetooth keyboard.

The Mac OS is installed on a hard drive file which can be created using one of the other (Win/Lin/Mac) ports of Basilisk II. I created a web page long ago that might be of assistance: http://mes.emuunlim.com/projects/basilisk2/basilisk2help/b2setup.htm

There are a number of sites where you can get assistance setting up Basilisk II. I recommend getting familiar with the Windows, Linux, or Mac OS ports of Basilisk II before attempting to set things up on your Internet Tablet.

Do not ask me for ROM images, Mac operating systems, or Mac software! I will ignore you. :rolleyes:

I'm running Mac OS 7.6.1 here using a ROM file from my Quadra 610. These are the programs I currently have installed:

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-zgsrKC5PB7kdk6Ieei7IDmVTWM0Q3221zIYIZxFFLS08CMg9l7 ffXDw90deu4cfPo8njtOEIajw/N800B2More.png

Microsoft Word

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-ytHgXkvGhOOZpwYWcU4dGsMpckHwpCx8DR_bEm0HAmdqSNmGdK cLvQHwNycSiARLqN5he1qDOrQ/N800B2Word.png

Excel

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8zFJhcID0q6Mp8ouckGZqGPmyQgUR8CIQlJh3 ep9Wo7fkOVI2gUbryAoaK4NtDnmKePrMJIqEy6g/N800B2Excel.png

A "few" extensions at startup:

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D93G52mB24ccuiqsHAGgqaWC98jHdgzZMb6Efv Ki-9pvZ6r7eAU6QGZn76_pABfBlf2wZQso04fEw/N800B2Extensions.png

Mathematica 3.0 launching on Mac OS 8.1 with Addison's custom xkbd layout.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D9NOMxvg0H40quqAZkFdtKJ9cJoJTFYoB6tZvI cM17gSWY59yDB-yBiLvirjzcUmrn0cPJEAqfLEA/N800B2Mathematica.png

*System 7.5.3 install files:

Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_01of19.smi.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_01of19.smi.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_02of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_02of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_03of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_03of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_04of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_04of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_05of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_05of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_06of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_06of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_07of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_07of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_08of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_08of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_09of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_09of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_10of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_10of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_11of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_11of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_12of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_12of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_13of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_13of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_14of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_14of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_15of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_15of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_16of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_16of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_17of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_17of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_18of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_18of19.part.bin)
Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_19of19.part.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/Older_System/System_7.5_Version_7.5.3/System_7.5.3_19of19.part.bin)

System 7.5.5 update:

Macintosh/System/System_7.5.5_Update/Sys_7.5.5_Update-NetInstall.sea.bin (http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/System/System_7.5.5_Update/Sys_7.5.5_Update-NetInstall.sea.bin)

sondjata
2008-02-08, 01:20
Now you see, this is interesting. running the classic mac environment on an IT is an interesting proposition. How much space did this take up on your card? By chance does full screen work?

OSEmuTech
2008-02-08, 01:39
All you need is enough space for the operating system and any applications you want installed. Typically this will be anywhere between 20 MB to 50MB depending on which Mac OS and which components of the OS you wish installed.

You could boot up from a 1.4 MB floppy image up to a 2000 MB hard drive file image. And ... you can mount multiple hard drive files so 64 GB (~32 2GB hard drive files) of Mac stuff on two 32 SDHC cards is possible (on a N800, if you're crazy). :p

The full screen doesn't work. I'm not a developer, just a script kiddie. Instead of using the latest CVS source of "Basilisk II JIT", I used an older source tarball (http://basilisk.cebix.net/downloads/BasiliskII_src_31052001.tar.gz) of "Basilisk II" before the JIT engine was added. the Maemo platform didn't allow enabling JIT for the three Mac emulators (Basilisk II JIT, SheepShaver, PearPC) that I attempted building using the latest CVS source for each of them. Basilisk II runs faster than Basilisk II JIT with the JIT disabled, which is why earlier Maemo builds by others here were pretty slow.

I would LOVE to have a real developer take over this and add full screen and\or hildonization.

sjgadsby
2008-02-08, 01:59
If anyone is interested, a new build of the open source Macintosh 680x0 emulator called Basilisk II is available.

Ah, I'm so glad I saved that OS 8.1 disk from the trash all those years ago. This will be fun. Thank you.

sondjata
2008-02-08, 02:00
Thanks man. If I could run this full screen I'd download it and use it instead of the built in OS stuff ( except maemomapper of course).

debernardis
2008-02-08, 06:25
Seems fun, I'd like to try. I have never used a mac!
And, a-ehm, are there on the internet any dirty and immoral places where pushers pass you a copy of a mac rom without you owning the real thing? (My questions is only to know what I have *not* to visit with my browser in order to go straight to heavens after my departure). Maybe torrents?

mooler
2008-02-08, 06:39
do not go to thepiratebay

krisse
2008-02-08, 07:11
Ironically, this is yet another thing you can't do on the iPhone or iPod Touch.

dont
2008-02-08, 13:39
*cough, cough* (http://rolli.ch/MacPlus/)

debernardis
2008-02-08, 15:15
*cough, cough* (http://rolli.ch/MacPlus/)

That's not good, it's a 256 k image, while a 512 to 1 meg rom image is needed. I am actively searching but the internet is becoming too much a morigerate place in these days :p

EDIT: I knew that there had to be one. Google for quad650.zip :cool:

EDIT 2: GOSH! It's quick! I like it! Now I understand those mac fanboys... :eek:

debernardis
2008-02-08, 16:23
OSEmuTech, which version of microsoft office runs well on this emulator?

sjgadsby
2008-02-08, 16:41
OSEmuTech, which version of microsoft office runs well on this emulator?

You'd probably want to look for Word 5.1. While Word 6.0 will also run, it's probably one of the most hated Mac apps ever. If I recall correctly, Microsoft ended up giving purchasers free downgrades to 5.1.

debernardis
2008-02-08, 16:51
One other question (osemutech will know):
the pointer arrow on the emulator is... "sticky". When I get some desktop item, the pointer won't leave it when raising my pen from the tablet screen, as if a mac mouse key were still pressed. It's very disturbing.
How do you solve this?

dont
2008-02-08, 17:47
That's not good, it's a 256 k image, while a 512 to 1 meg rom image is needed.

Sorry about that. It does work with mini vMac, another Mac emulator for older Macs I guess.

I don't think mini vMac is available for the Tablets, although various folks seem to have got it going privately.

OSEmuTech
2008-02-08, 21:51
One other question (osemutech will know):
the pointer arrow on the emulator is... "sticky". When I get some desktop item, the pointer won't leave it when raising my pen from the tablet screen, as if a mac mouse key were still pressed. It's very disturbing.
How do you solve this?

Yeah, that is an irritating effect that both Basilisk II and DOSBox (running Windows) has. I solve it under Basilisk II by clicking on a blank spot in the menu bar once or twice which releases the mouse. Under DOSBox, I choose an Alt-key and choose a menu item (like Alt-F for File), though there was a F-key (CTRL-F10?) that's supposed to do it too (I just got my iGo keyboard and haven't tried running Windows on my NIT lately.)

It's something else a real developer might be able to fix.

OSEmuTech
2008-02-08, 22:03
OSEmuTech, which version of microsoft office runs well on this emulator?

I bought Office 4.21 for Mac (Word 6.01, Excel 5, PowerPoint 4 I think) on eBay (http://search.ebay.com/search/search.dll?sofocus=bs&sbrftog=1&dfsp=1&catref=C6&from=R10&_trksid=m37&satitle=office+4.2+-max+-post&sacat=-1%26catref%3DC6&sargn=-1%26saslc%3D2&sadis=200&fpos=33637&sabfmts=1&ftrt=1&ftrv=1&saprclo=&saprchi=&fsop=1%26fsoo%3D1&coaction=compare&copagenum=1&coentrypage=search) a number of years ago. It works great IMO.

I am familiar with many of the last versions of 68k-compatible software if anyone has any questions.

The next versions of Office for Mac (Office 98, 2001) can run on some ports of the SheepShaver (http://gwenole.beauchesne.info/projects/sheepshaver/) Mac PPC emulator (runs up to Mac OS 9.04). I kept getting a error during the make phase which I haven't been able to fix.

I did get the G3\G4 Mac OS X emulator called PearPC (http://pearpc.sourceforge.net/) built and it runs on Maemo, but I gave up after 20 minutes or so waiting for it to boot Mac OS X Leopard. :D The emulator can be pretty slow on Windows\Linux system as it is.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8qJnvv2KLMFwbMWv7rR7VyGJB1hBlFZdyglYT pDF7dd4lvtYFNzXjUP03TN1qwwEkcFctZiEajsQ/ppcn800.png

job4031
2008-02-09, 13:38
Very cool, one question. How do I run the Scratchbox build of Basilisk? The untarred file has permissions of read and write but not execute. I tried sudo chmod but that won't change it to an executeable. I tried installing it via the Application Manager but doesn't appear to be that type of file. I have my 7.5.5 disk image, ROM image file, and Basilisk II preference file already to go. I just can't figure out how to run Basilisk :(

Appreciate any and all help. Itching to Install Wordperfect 3.5e and see how that works. For anybody who would like to try this free and very functional wordprocessor go here:
http://www.columbia.edu/~em36/wpdos/macintosh.html

debernardis
2008-02-09, 13:52
Why sudo? Just take the BasiliskII file from the tgz archive, put it i.e. in /home/user and do
chmod 755 BasiliskII
then run with
./BasiliskII

and here you go

debernardis
2008-02-09, 20:40
I have found only one place on the 'net where I could possibly *buy* an old copy of office 4.2.1 for mac.
Unfortunately, the email address is encrypted by a silly javascript which refuses to work in all the browsers I tried (microb, firefox, konqueror). Maybe it works in internet explorer and somebody can look at the following page and let me know the mail address?

http://www.dans20thcenturyabandonware.com/contact.html

Ah, and I admit I searched also in p2p and ehr... sites, but with no joy :(

OSEmuTech
2008-02-09, 21:32
Dans20thcenturyabandonware never had the programs available for download. But it was an awesome site to checkout info and screenshots of older software.

BTW: I provided a link to many auctions for Office 4.2x for Mac in post #16: eBay (http://search.ebay.com/search/search.dll?sofocus=bs&sbrftog=1&dfsp=1&catref=C6&from=R10&_trksid=m37&satitle=office+4.2+-max+-post&sacat=-1%26catref%3DC6&sargn=-1%26saslc%3D2&sadis=200&fpos=33637&sabfmts=1&ftrt=1&ftrv=1&saprclo=&saprchi=&fsop=1%26fsoo%3D1&coaction=compare&copagenum=1&coentrypage=search)

t3h
2008-02-10, 02:49
I would LOVE to have a real developer take over this and add full screen and\or hildonization.

I shall see what I can do.

OSEmuTech
2008-02-10, 03:07
Thanks you. Good luck!

I have a large collection of source code tarballs that cover a number of years of Basilisk II and Basilisk II JIT releases. I tried compiling around 10 of them last night, but only the one linked to in my second post compiled all the way and ran correctly on my N800. The others usually had the dreaded sigsegv error during the make phase, or when run on my N800.

One of the 2005 source tarballs would compile and even had the GUI frontend for basilisk_ii_prefs editing using GTK+ 2, but the executable gave a sigsegv error when the emulation started.

Most source does not recognize GTK+ 2 when configuring, so I tried compiling (&make install) GTK+ 1.2 and GLIB (ftp://ftp.gtk.org/pub/gtk/v1.2/) under Scratchbox to give the BasiliskII executable the GUI frontend, but GLIB would not compile.

t3h
2008-02-10, 04:43
The segfault problem when it's running is normal, as it actually puts the Mac OS in the actual address it allocates. If the Mac OS tries to access hardware directly, most parts are patched (BasiliskII doesn't emulate the hardware, it patches the Mac OS to make it think the hardware is there, and grabs the values from the driver).

And I spent an entire day hacking the other one up to make it go (it involved grabbing bits from the GP2x version).

This one seems to be working OK. I got somewhere into hildonizing the last one.

There was a discussion on the maemo mailing lists about how to get the icon to show up for some X apps, and it involved creating a .desktop file specifying the wm class.

/usr/share/applications/hildon/basiliskii.desktop
[Desktop Entry]
Name=BasiliskII
StartupWMClass=BasiliskII

Works alright. It now has an icon in the task manager and can be minimized, put into the background etc without losing it.

Also, the biggest screen size you can have in non fullscreen is 720x420 pixels (win/720/420).

As for the non-behaving configuration, I'll write my own. The stock one isn't terribly useful anyway.

bunanson
2008-02-10, 05:48
Would some of you kind enough to write down some step by step guide, pleeese?

I dl the BasiliskII09.tgz -> BailiskII, and .basilisk_ii_prefs and I also got the Quad650.zip. Any help?


Thanks,


bun

debernardis
2008-02-10, 10:28
Bun, get this tutorial: http://www.geocities.com/game_master107/howtoemulateamac.html

My setup is the following:
I have quad650.ram, Starterdisk.hfv and a hd image I called mac-hd, all in /media/mmc1/Emu

I made the hd image with the ubuntu gutsy port of BasiliskII, but the tutorial uses a win software called hfv explorer.

In /home/user I have the BasiliskII executable and the .basilisk_ii_prefs file.
Mine contains:

disk /media/mmc1/Emu/Starterdisk.hfv
disk /media/mmc1/Emu/mac-hd
extfs /
screen win/720/420
seriala <none>
serialb <none>
udptunnel false
udpport 6066
rom /media/mmc1/Emu/QUAD650.ROM
bootdrive 0
bootdriver 0
ramsize 209387520
frameskip 0
modelid 14
cpu 4
fpu true
nocdrom true
nosound false
noclipconversion false
nogui false
keyboardtype 5
keycodes false
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer


It's a slight modification of the one from osemutech.

Should work this way. We should experiment, maybe, with keyboard types because "blue" chars on the n810 don't work.

iontruo2
2008-02-10, 12:43
This is awesome guys!
I couldn't call myself a 'mac fanboy', but back in the day 7.5 and 8 OS's were pleasantly fast and rarely did I ever see a bomb(crash). A lot of the office abilities were already well done and I lived next to COREL. ;)
I'm just an informed user newb, but I had to put in my kudos to you guys for this endeavour. :D

Keep in mind as well, there was also a great tool for interface customizing called "Kaleidoscope" than ran clean in the OS. It allowed for a large array of modifications to the windows etc.

http://kaleidoscope.net/schemes/schemespotlight.shtml
Boilerplate had been my favorite of all time.

Anyone need an original OS? I may even have ol 7.5->8.5 in home storage somewhere.

iontruo2
2008-02-10, 12:57
Seems fun, I'd like to try. I have never used a mac!
And, a-ehm, are there on the internet any dirty and immoral places where pushers pass you a copy of a mac rom without you owning the real thing? (My questions is only to know what I have *not* to visit with my browser in order to go straight to heavens after my departure). Maybe torrents?

Wouldn't quite know how to do that but I could find out.
And hey Apple totally completely utterly abandoned that OS to the dust heap of history while it still had loads of usability. I feel no hesitation to share any of the ol Mac stuff. :cool:

I would bow in homage to the geek masters here if they can make this more accessible. :D

debernardis
2008-02-10, 17:32
Now well, some advice from veteran mac users would be greatly appreciated.
Maybe I've been impulsive, but I am likely to buy a vintage office 4.5.1 (if no-one overrides my ebay bid). Are there any other useful thing which may complement the NIT software? What did Corel do? I am an absolute noob to macs.

qwerty12
2008-02-10, 17:48
This is awesome guys!
Anyone need an original OS? I may even have ol 7.5->8.5 in home storage somewhere.

I would love you :P, if you could get os 8.0/8.1 please? (I've looked to no avail)

Thanks.

OSEmuTech
2008-02-10, 18:22
Now well, some advice from veteran mac users would be greatly appreciated.
Maybe I've been impulsive, but I am likely to buy a vintage office 4.5.1 (if no-one overrides my ebay bid). Are there any other useful thing which may complement the NIT software? What did Corel do? I am an absolute noob to macs.

Corel released WordPerfect 3.5e for free to Mac users a number of years ago. After about a year they decided to take it off their website for some reason. But some 3rd party sites still host the download. It's a rather nice word processor (I bought the CDs long ago - DOH!) job4031 has a link to a download site in post #17.

My neglected Macintosh Emulation Station website has a lot of 68k Mac freeware, shareware, and demos that works on Basilisk II, including games. It also has tips for using Basilisk II on Windows. I've been running a forum about Mac and PC emulators and virtual machines since 1999 as well.

http://mes.emuunlim.org:88/
http://mes.emuunlim.org:88/software/index.htm
http://forums.delphiforums.com/MacEmulation

BTW: I somehow corrupted my 8 GB SDHC card yesterday and have spent 8 hours (!) trying to format it. There goes my day off. :(

bunanson
2008-02-10, 18:38
...
BTW: I somehow corrupted my 8 GB SDHC card yesterday and have spent 8 hours (!) trying to format it. There goes my day off. :(


If all fails, try this, http://panasonic.jp/support/global/cs/sd/download/sd_formatter.html

It worked for me.


bun

OSEmuTech
2008-02-10, 18:54
All else failed. That program worked! OMG! Thank you so much!!!!

job4031
2008-02-10, 20:49
debernardis, thanks for the tip. For some reason it didn't want to run from my sd card. I used sudo because I thought it might be a permissions problem. And I highly recommend wordperfect, it is free and Word paled in comparison at the time. WP will even let you save in Word 6.0 format. WP 3.5e is still used today and has an active support at wordperfectmac yahoo group.

OSEmuTech great work! Is it possible to shift the Basilisk screen up to get rid of the white boarder at the top? Also how do I go about getting xkbd? Wasn't able to find install instructions in this forum or in google.

Keep up the outstanding code.

OSEmuTech
2008-02-10, 21:09
I noticed the white border at the top of the emulation too. I wish I had time and the development experience for tweaking the code. It's always been a rather complicated program as it's like a Mac built via code to run on other operating systems. Hopefully t3h can knock that out as well when he tries getting the sticky mouse fixed and full screen working (that would be awesome). I'm going to check whether full screen currently works once I get my SDHC card setup again.

The build I created uses native Xwindows and esd calls instead of SDL for display and sound. SDL is known to slow things down, which is another reason why this build is faster.

xkbd can be grabbed from Arnim's page: http://pupnik.de/xkbd.html

It's also possible to run DOS (fast) and Windows (slow) via Arnim's DOSBox port for Maemo: http://pupnik.de/dosbox.html

Check out the thread about DOSbox for more tips and alternative keyboard layouts for xkbd: http://www.internettablettalk.com/forums/showthread.php?t=5686

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-8yQiFkKNjWgFzHMJusMzOj7jN3VnSx-3voHHAJqJTDRftTI0Jn0REvKcANOjJ0NedyTzDbDwTsQ/n800dbwin9503.png

bluesubaru
2008-02-10, 23:01
Looks like xkbd is not supported on OS2008. Is that correct?

OSEmuTech
2008-02-10, 23:10
That is incorrect. ;)

Go into Red Pill Mode (http://hildon-app-mgr.garage.maemo.org/redpill.html) to install the relevant packages under OS 2008.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D9NOMxvg0H40quqAZkFdtKJ9cJoJTFYoB6tZvI cM17gSWY59yDB-yBiLvirjzcUmrn0cPJEAqfLEA/N800B2Mathematica.png

OSEmuTech
2008-02-10, 23:29
PS: Make sure you install these debs first or you will get dependency errors.

http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb

http://repository.maemo.org/pool/maemo3.0/free/binary/libxpm4_3.5.4.2-3_armel.deb

iontruo2
2008-02-11, 02:38
Now well, some advice from veteran mac users would be greatly appreciated.
Maybe I've been impulsive, but I am likely to buy a vintage office 4.5.1 (if no-one overrides my ebay bid). Are there any other useful thing which may complement the NIT software? What did Corel do? I am an absolute noob to macs.

I guess it has been answered, but yes Corel produced Wordperfect which for many in business was considered better than 'Word'. There was also a full office suite and I have a message out to a friend who is still working for them and may have older software. Corel also produced DRAW and other drawing and image/photo programs, but they might not be suitable for the tablet. At one time they were really trying to chase Adobe and aligned a lot of their products in harmony with Adobe standards.

iontruo2
2008-02-11, 02:41
I would love you :P, if you could get os 8.0/8.1 please? (I've looked to no avail)

Thanks.


O.k. friend, have to hunt for it in my old storage. I have a newborn baby so time is a little limited. ;) I may have a second original copy of OS8.

If not, is it possible to burn a duplicate of an OS cd? Never tried that before.

t3h
2008-02-11, 03:13
If anyone wants to know how Basilisk II actually works, this is an interesting read: http://basilisk.cebix.net/TECH

OSEmuTech
2008-02-11, 03:29
If anyone wants to know how Basilisk II actually works, this is an interesting read: http://basilisk.cebix.net/TECH


I created a chm help file a few years ago that includes Christian Bauer's Basilisk II Technical Manual. It might be of interest to those who have never used Basilisk II (B2 for short) as the chm includes:

Basilisk II Introduction
What Is Basilisk II JIT?
Compiling the Linux Source Code for Basilisk II
How To Setup Basilisk II on Windows NT/2000
Basilisk II Troubleshooting FAQ
Basilisk II Windows port NAT-Router FAQ
Basilisk II Technical Manual
Basilisk II In Action (Large Screenshot)
Macintosh Emulation Links

Download: http://mes.emuunlim.com/projects/

I was just reading the text files (README, etc.) included in the 0.9 source tarball to refresh my memory of the old preference settings. You have tried configuring with --enable-xf86-dga already correct? The sheepnet driver for allowing Ethernet on Basilisk II used to be a bit tricky setting up. I'm going to see what I can do on Tuesday. It would be weird to use Internet Explorer, Outlook Express, AppleTalk, etc. on my N800.

BTW, that .desktop file you posted about in post #23 works great! Thanks t3h. ;)

debernardis
2008-02-11, 04:36
Sigh! - I couldn't get that word 4.2.1 cd, somebody offered more. Well, I'll find another, won't I?
EDIT: I'm waiting for that cd, from California. Counting the days... :D

oldmancoyote1
2008-02-11, 05:00
Debernardis:

Here are two recommendations for Mac s/w.

AppleWorks: Word processing, Drafting, Painting, and Spreadsheet programs intimately integrated. Simple and reliable at the expense of a vast array of features.

HyperCard: A powerful ADE. Easy to use. A humongus number of freeware applications.

I haven't tried Basilisk yet, so I don't know if they work. HyperCard may have some issues. The authors sometimes played fast and loose with memory management.

Let me know if you learn anything.

Good luck!

t3h
2008-02-11, 05:46
I was just reading the text files (README, etc.) included in the 0.9 source tarball to refresh my memory of the old preference settings. You have tried configuring with --enable-xf86-dga already correct? The sheepnet driver for allowing Ethernet on Basilisk II used to be a bit tricky setting up. I'm going to see what I can do on Tuesday. It would be weird to use Internet Explorer, Outlook Express, AppleTalk, etc. on my N800.

BTW, that .desktop file you posted about in post #23 works great! Thanks t3h. ;)

You get a Mac going, and instantly want to fire up IE and Outlook :confused:... Netscape Communicator is where it's (or was) at :D

Anyway, ITOS seems to be missing a few include files for DGA, unfortunately, in that regard, I shall see what I can do again.

checking for XF86DGAQueryExtension in -lXxf86dga... no
configure: warning: Could not find XFree86 DGA extension, ignoring --enable-xf86-dga.

qwerty12
2008-02-11, 07:35
O.k. friend, have to hunt for it in my old storage. I have a newborn baby so time is a little limited. ;) I may have a second original copy of OS8.

If not, is it possible to burn a duplicate of an OS cd? Never tried that before.

Congratulations :). I don't mind waiting and if you can't find it, thanks anyway :).

Could be, I don't think they had much copy protection :\

t3h
2008-02-11, 08:05
Could be, I don't think they had much copy protection :\

Read: none (and they still don't, as restricting to Apple hardware isn't strictly copy-protection).



Anyway, in other news, I have fullscreen. More to follow, once I've cleaned up the code and bound it to F6.

Edit: done that, will upload screenshots when I get home.

t3h
2008-02-11, 10:50
Alright.

http://gm.stackunderflow.com/maemo/basiliskii/screenshot.png

Here's a screenshot of it running in fullscreen mode, which can be activated with the fullscreen key.

The correct resolution for windowed mode is 720x420 pixels. For fullscreen it is (quite obviously) 800x480.

Here is a binary package of the executable, the .desktop file, and a shell script to install it (you will need to run it as root): http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary.tar.gz

Here is the source code (compiled including object files, and binary): http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_maemo_0.1.tar.gz. The changes are all in video_x.cpp and main_unix.cpp. The makefile has been edited, so save those masses of extra include paths somewhere if you need to run ./configure again.

Enjoy!

Next step: make alert boxes as well as console messages for errors, so it can be started from the GUI, and not just silently fail if something is wrong.

Next step after that: GUI config editor - either get the inbuilt one working, or get another going.

As for DGA, apparently the X server supports it, but the library for it, and the include files for it are all missing. Looks like we'll just have to do with SHM for the time being.

http://gm.stackunderflow.com/maemo/basiliskii/n800.jpg

Edit: Oh yeah, and the sticky mouse problem...

multi
2008-02-11, 11:38
This looks interesting , Thanks!
I will definitely try it.

t3h
2008-02-11, 12:02
I think I've figured out the sticky mouse problem - it's simple. The tablet generates a seperate mouse moved message to the mouse down (stylus pressed) message, and the mouse down gets there before the mouse moved.

Fixing it... is less so.

Edit: Indeed, as that's not the issue.

It seems that the mouse moved isn't processed until after the mouse is down... though the events are being fired off in the right order.

Edit: Solved it :D

It actually was similar to what I initially thought. What happens is that when an event comes in (i.e. the stylus is moved), the mouse state is saved in a few variables - the location is updated and the button state is updated. 60 times a second, an interrupt fires, and this data is read from these variables and their current state is passed into the Mac, by patching where it reads from the hardware ADB controller. In a normal mouse, there is highly unlikely to be a mouse moved and mouse clicked event separated by less than 1/60th of a second with the mouse having moved a long way. But on a touchscreen, the two events fire at exactly the same time, given that there is no way to move the mouse without the pen being down.

So what happens is both the mouse position and button state are updated in one go - so it clicks and drags from the old location every time you put the pen in a new location.

What I made it do was to get the position of the pen down event, set it in the variables, and then clear a flag that is set by the next ADB interrupt (update). It then waits in a loop waiting for this flag to be set, meaning that the interrupt has fired, and then it registers the mouse button down, ensuring that both events happen seperately and sequentially in the right order. Hence no "sticky mouse" :D

The downside is that it delays things by 1/60th of a second, but it's now usable. And very much so.

New binary/sources to be posted soon (screenshot not required).

Binary: http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_0.2.tar.gz

Sources: http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_maemo_0.2.tar.gz

OSEmuTech
2008-02-11, 15:44
Damn. I wish I could have called in sick at work today. :D

Thanks t3h! I'm looking forward to getting home tonight even more now.

spirytsick
2008-02-11, 17:11
t3h,

Thank you very much. Any chance you can look at jit compiler in your free time ? When I try to enable it it complains about non-direct memory access. I do not know the exact memory subsystem in the tablet, perhaps it is not compatibile but if it's not then we might see some improvements in speed (which is not bad at the moment at all)

tobiasj
2008-02-11, 20:34
Well, I have it running (mostly) I don't seem to be able to get it to read the prefs file I have to use switches in xterm to get it working.

(MAC folder on my MMC1 has roms and disk image, /home/user has BasiliskII and .basilisk_II_prefs files and basiliskii.desktop is in /usr/share/applications/hildon/)

But, I put the command and switches in a shell script and then linked it to a simple mac command so that it runs.

My next question is - Can I get it to start in full screen mode? (at 800x480) currently I have --screen set to win/800/480 and then hit the fullscreen button when it launches, which works but it would be nice to have it start that way.

My last question (for the time being anyway) is how would I go about creating an icon in the extras menu (for example) to be able to run this without going through all the hassle of running xterm and then the command?

Thanks in advance..

-John

spirytsick
2008-02-11, 22:36
Well, I have it running (mostly) I don't seem to be able to get it to read the prefs file I have to use switches in xterm to get it working.

(MAC folder on my MMC1 has roms and disk image, /home/user has BasiliskII and .basilisk_II_prefs files and basiliskii.desktop is in /usr/share/applications/hildon/)

But, I put the command and switches in a shell script and then linked it to a simple mac command so that it runs.

My next question is - Can I get it to start in full screen mode? (at 800x480) currently I have --screen set to win/800/480 and then hit the fullscreen button when it launches, which works but it would be nice to have it start that way.

My last question (for the time being anyway) is how would I go about creating an icon in the extras menu (for example) to be able to run this without going through all the hassle of running xterm and then the command?

Thanks in advance..

-John

You will need to copy the prefs file to /home/user , it wont work if it is in the same directory as executable.

jcharpak
2008-02-11, 23:12
It's also possible to run DOS (fast) and Windows (slow) via Arnim's DOSBox port for Maemo: http://pupnik.de/dosbox.html

Does this mean I can run egatrek on my 770? :eek:

spirytsick
2008-02-11, 23:21
The newest version seem to be a little unstable for me. It crashes instantly every time I try to start netscape or word perfect. seems like there is some memory adressing issue.

OSEmuTech
2008-02-12, 00:01
Emulation cross-contamination. :D


Yes, EGATrek works on DOSBox.http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D92IX95dRmRo6Td4KijBCEV5ljYYuWEi6N2Jcr sZ8H2-eYExBoRD0-9xlfaSFeSL_GRmjjdYf4MJQ/EGATrek.jpg


I LOVE this new Basilisk II build! Full screen and mouse working great. Here's a very short video of Basilisk II full screen (http://fkwjcw.bay.livefilestore.com/y1pDRWNpCE5t2GiuNvOzIRua11bTBBHtrKywvurKcOJRIqygVx LkDJVb2vB7xfbKcOBa6SSbC1L6KMml-PvsQc7ulo69WTT-AZJ/B2N800.wmv?download) (Basilisk can be pronounced with a short "a" IMO.)

t3h
2008-02-12, 00:07
t3h,

Thank you very much. Any chance you can look at jit compiler in your free time ? When I try to enable it it complains about non-direct memory access. I do not know the exact memory subsystem in the tablet, perhaps it is not compatibile but if it's not then we might see some improvements in speed (which is not bad at the moment at all)


The JIT is written for x86 only. Unless someone rewrites the JIT for ARM, that won't be possible.

t3h
2008-02-12, 00:19
My next question is - Can I get it to start in full screen mode? (at 800x480) currently I have --screen set to win/800/480 and then hit the fullscreen button when it launches, which works but it would be nice to have it start that way.

My last question (for the time being anyway) is how would I go about creating an icon in the extras menu (for example) to be able to run this without going through all the hassle of running xterm and then the command?


I'll add a prefs key and a commandline for fullscreen mode. I originally had it going in fullscreen all the time.

As for a GUI icon, take a look at other .desktop files that launch things, and add the appropriate lines.

t3h
2008-02-12, 00:21
The newest version seem to be a little unstable for me. It crashes instantly every time I try to start netscape or word perfect. seems like there is some memory adressing issue.

I will have a look.

smileyninja
2008-02-12, 01:05
I've been following this thread with very intense interest for the past week, I got BasiliskII running this afternoon (and cackled like a mad scientist). Now looking for some free software to download.

WordPerfect 3.5 http://main.system7today.com/softwareindex/productivity.html

a Graphing Calculator http://www.pacifict.com/Secrets.html

There was also a link to some games on the system7today site, but most require a powerpc and a hardy video card.

Chipmunk Basic http://www.nicholson.com/rhn/basic/

smileyninja
2008-02-12, 01:28
Some more free apps:

The DiskTools Collection (look at the bottom of the page) http://www.rainmakerinc.com/downloads/macos9downloads.html

A couple of software download sites:
http://www.pure-mac.com/

http://download.nafura.it/home/mac/index.asp

http://hyperarchive.lcs.mit.edu/HyperArchive.html

tobiasj
2008-02-12, 01:42
I'll add a prefs key and a commandline for fullscreen mode. I originally had it going in fullscreen all the time.

As for a GUI icon, take a look at other .desktop files that launch things, and add the appropriate lines.

Thanks! That will be great..

I thought of that already, and looked at a couple, but nothing really jumped out at me, I was hoping someone knew what it would take. I will look again at a couple more .desktop files.

Thanks again!

-John

t3h
2008-02-12, 02:14
There's now a prefs option for "fullscreen" - you can start it up with either ./BasiliskII --fullscreen true or add "fullscreen true" to your /home/user/.basilisk_ii_prefs file.

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

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

taguapire
2008-02-12, 05:01
Hi,

I don't know what is happening but I'm getting the following message:
Basilisk II V0.9 by Christian Bauer et al.
ERROR: Cannot open ROM file.

How I can fix it?

Regards,

Taguapire.

BTW: I'm using the same rom file with BasiliskII on my Mac.

t3h
2008-02-12, 05:38
Ensure that you have your prefs file pointing to the right place, otherwise start it up with --rom /path/to/rom.

If you want to make a new disk, and don't know how:
dd if=/dev/zero of=b2_2.img bs=40M count=1 will create an empty file of that size.

debernardis
2008-02-12, 11:21
In the TODO list there should be also a way to use the n810 hardware keyboard. Presently, with 'keycodes false' in the prefs file, the blue chars (i.e. those you get with the Fn key) are not recognized.
I tried to set 'keycodes true' but nothing seems to change, either in the keyboard layout or in the effect of the fn key. Maybe because I had no keycode translation file at hand?

t3h
2008-02-12, 11:43
In the TODO list there should be also a way to use the n810 hardware keyboard. Presently, with 'keycodes false' in the prefs file, the blue chars (i.e. those you get with the Fn key) are not recognized.
I tried to set 'keycodes true' but nothing seems to change, either in the keyboard layout or in the effect of the fn key. Maybe because I had no keycode translation file at hand?

I don't have a N810, so I can't help there...

Supply a keycodes file and point to it with keycodes <keycodefile>, and see what happens.

tobiasj
2008-02-12, 13:20
Hi,

I don't know what is happening but I'm getting the following message:
Basilisk II V0.9 by Christian Bauer et al.
ERROR: Cannot open ROM file.

How I can fix it?

Regards,

Taguapire.

BTW: I'm using the same rom file with BasiliskII on my Mac.

I had the same problem with mine until I figured out that I couldn't put both the executable and the prefs in the same folder. I put the prefs in /home/user and the exec in /usr/sbin and launch it using a custom .desktop file that creates an icon in extras in the start menu.. (attached, remove.txt from the end of the filename and put in /usr/share/applications/hildon)



-John

t3h
2008-02-12, 13:42
For the next version, I'll look at some GTK error boxes (instead of console errors), and after that's done, I'll make a .deb package with .desktop and binary.

At the moment, if you launch it from a .desktop file and something goes wrong - you'll never know what. Which is slightly annoying when you've just installed it and don't know what's wrong.

tobiasj
2008-02-12, 13:52
For the next version, I'll look at some GTK error boxes (instead of console errors), and after that's done, I'll make a .deb package with .desktop and binary.

At the moment, if you launch it from a .desktop file and something goes wrong - you'll never know what. Which is slightly annoying when you've just installed it and don't know what's wrong.

Thats very true, though it certainly wouldn't be the first time lol...

I agree until you have it working the way you want it, launch it from xterm so you can see what is going on. Plus as you tweak the settings it is easier to use the switches than to keep editing the prefs file, and if you launch it from xterm you dont have to wait for it to boot to shut it down, you can just CTRL-C it and poof!

Great app, great port, thanks for all the effort, it makes the NIT just that much more indispensable to me..

-John

micampe
2008-02-12, 14:09
What I made it do was to get the position of the pen down event, set it in the variables, and then clear a flag that is set by the next ADB interrupt (update). It then waits in a loop waiting for this flag to be set, meaning that the interrupt has fired, and then it registers the mouse button down, ensuring that both events happen seperately and sequentially in the right order. Hence no "sticky mouse" :D

I noticed that your version is much more CPU intesive that the original. And I imagine that loop where you wait for the flag could be the culprit.

tobiasj
2008-02-12, 20:03
OK so now that I have it working, and well I might add (thank you all) and I have my Office98 For Mac CD sitting here (which I believe does work on system 7.5.5, it has been a while since I used it, but I am reasonably sure it does...)

How do I get this CD into an image I can use on the emulator? Do I just put the files on the SD card? do I make a MAC Disk Image from it?

signed,
At A Loss

-John

OSEmuTech
2008-02-12, 20:33
Hate to say it ... Microsoft Office 98 requires a PowerMac. :(

I have Office 98 too ... it can run on the SheepShaver (http://gwenole.beauchesne.info/projects/sheepshaver/) Power Mac emulator (runs up to Mac OS 9.0.4 and PPC software). Unfortunately, SheepShaver uses the JIT engine Basilisk II JIT uses, so it might not be portable to Maemo (I've tried a straight build). But it is just as fast as Basilisk II JIT on Windows\Linux\Mac OS X.

BTW: You can use the Win\Lin\Mac port of Basilisk II\SheepShaver to mount the CD-ROM drive. You could even copy Mac files to another hard drive file (Office 98 doesn't need the original CD to install). I use Toast for Mac to create ISO images of Mac CDs, but you can do a raw burn of a hard drive file to create a (unbootable) Mac CD. Here's a tutorial I created long ago: http://mes.emuunlim.com/tips/creating_a_mac_cdr_using_a_hdf.htm

t3h
2008-02-12, 21:25
I noticed that your version is much more CPU intesive that the original. And I imagine that loop where you wait for the flag could be the culprit.

Hmmm, is it?

I might turn up the usleep delay in the loop. Come to think of it, the printf I stuck in there to report how much it was delaying was probably delaying itself. I'll count how many cycles that loop actually goes through (I know usleep(5) isn't right...).

Is the CPU usage higher when you're not touching anything?

Edit: the system seems to sleep a little longer than 5 microseconds. That loop is not executing more than once or twice, and even then only immediately after when you put the mouse down to the next tick. Are you sure it's this?

spirytsick
2008-02-12, 22:01
This is what happens when I try to start netscape navigator 3.0

Nokia-N800-50-2:/media/mmc2/documents/installers/basiliskii_binary$ 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)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(24)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(17)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(18)
WARNING: Unknown VideoDriverStatus(8)
WARNING: Unknown VideoDriverStatus(17)
WARNING: Unknown VideoDriverStatus(8)
WARNING: Unknown VideoDriverStatus(8)
WARNING: Unknown VideoDriverStatus(24)
do_handle_screen_fault: unhandled address 0x40249001
Segmentation fault

Strange though, it's only netscape which is causing this.

OSEmuTech
2008-02-12, 22:14
do_handle_screen_fault: unhandled address 0x40249001


That brings back memories. I and others were getting that error back in late 2001. The Basilisk II JIT developer investigates the problem on my forum in this thread: BII Linux Prob: do_handle_screen_fault (http://forums.delphiforums.com/MacEmulation/messages?msg=2649.1)

t3h
2008-02-12, 22:45
This is what happens when I try to start netscape navigator 3.0


do_handle_screen_fault: unhandled address 0x40249001
Segmentation fault

Strange though, it's only netscape which is causing this.

Netscape was widely known to do unsupported things. It looks like it was poking at something there...

I'll have a look round and see what I can get to happen.

smileyninja
2008-02-13, 01:10
There's now a prefs option for "fullscreen" - you can start it up with either ./BasiliskII --fullscreen true or add "fullscreen true" to your /home/user/.basilisk_ii_prefs file.

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

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

Using the above packages, I now get the following error: error while loading shared libraries: libhildon-1.so.0: cannot open shared object file: No such files or directory

I have the following setup:
BasiliskII in /usr/sbin/
BasiliskII_prefs in /home/user/
basiliskii.desktop in /usr/share/applications/hildon

Running on N800 with OS2007- Is OS2008 necessary for the newer versions?

tobiasj
2008-02-13, 02:46
Hate to say it ... Microsoft Office 98 requires a PowerMac. :(

I have Office 98 too ... it can run on the SheepShaver (http://gwenole.beauchesne.info/projects/sheepshaver/) Power Mac emulator (runs up to Mac OS 9.0.4 and PPC software). Unfortunately, SheepShaver uses the JIT engine Basilisk II JIT uses, so it might not be portable to Maemo (I've tried a straight build). But it is just as fast as Basilisk II JIT on Windows\Linux\Mac OS X.

BTW: You can use the Win\Lin\Mac port of Basilisk II\SheepShaver to mount the CD-ROM drive. You could even copy Mac files to another hard drive file (Office 98 doesn't need the original CD to install). I use Toast for Mac to create ISO images of Mac CDs, but you can do a raw burn of a hard drive file to create a (unbootable) Mac CD. Here's a tutorial I created long ago: http://mes.emuunlim.com/tips/creating_a_mac_cdr_using_a_hdf.htm

OK then back to the archives under the stairs... bother.

-John

t3h
2008-02-13, 03:30
Using the above packages, I now get the following error: error while loading shared libraries: libhildon-1.so.0: cannot open shared object file: No such files or directory

I have the following setup:
BasiliskII in /usr/sbin/
BasiliskII_prefs in /home/user/
basiliskii.desktop in /usr/share/applications/hildon

Running on N800 with OS2007- Is OS2008 necessary for the newer versions?

Seeing as I compiled it against OS2008's libhildon, probably so. Though you can probably download the sources and compile from OS2007 - I don't think I did anything OS-specific.

Personally, I'd recommend upgrading to OS2008 :)

And another bit of useful info:
Emulating a 68030 seems to be the fastest, from benchmarks.

TechTool Pro 2.03r1:

'040
? kWhetstones (won't run)
1725.84 dhrystones
? cycles (won't run)
228.0 cycles
? sieves (won't run)
1965.64 milliseconds for sort

'030
41.88 KWhetstones/sec
3527.66 dhrystones/sec
432.38 cycles
20.95 sieves
1002ms for sort

'030 with FPU
? kWhetstones (won't run)
1693.95 dhrystones/sec
232.0 cycles
? sieves
1983.61 ms

'020
41.84 kWhetstones/sec
3706.80 dhrystones/sec
429.48 cycles
20.55 sieves
947.53 ms for sort

'000
41.97 kWhetstones/sec
3656.90 Dhrystones/sec
445.61 cycles/sec
21.11 executions/sec
950.88 ms for sort

Conclusions: Use '030 (cpu 3) and turn off the fpu (fpu false). '040 can't have the FPU turned off (I must hack it up to emulate a LC040 at some point). '020 is slightly faster, but won't run as much. Mac OS 8 can be made to work on an 030 machine with a bit or resediting, and the end result will be faster. Not much requires a FPU.

OSEmuTech
2008-02-14, 00:53
Here are some informal non-real world bench tests using your Build #3. The Complex and Floating Point scores are higher with the FPU.

I'll attempt to run a number of real world bench tests (http://mes.emuunlim.com/benchtests/newtests/) this coming weekend.

68030 no FPU
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_NgWLYjkg4acOyxMO5Q8CKZtEoIS3uZC8Qr1m wBDqqaOrTHliwE5eEr4fW16EsxJ8mplrzC1OM7Q/Build3-68030-nofpu.png

68030 with FPU
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8CrupFfDT7sPgZNjEW0zu-LHZ1DY3NF2ajZYQU8wywcTh496v32DiBiLMODQ70otrL2pPeGo sVCQ/Build3-68030-fpu.png

68040 (with FPU)
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_3FkMvN33bXmSC-fMFLmlPc4xYZ_eDxz8U_Osmu1jvIt3jr3e3GQ-J5tZ8gNl3si8rHbFExUCpWA/Build3-68040.png

smileyninja
2008-02-14, 01:12
Seeing as I compiled it against OS2008's libhildon, probably so. Though you can probably download the sources and compile from OS2007 - I don't think I did anything OS-specific.

Well, I got as far as installing C/C++ http://www.internettablettalk.com/forums/showthread.php?t=6737 before I've given up. I have your source code but I don't have a clue about what to do next to compile for the OS2007. I'll research a bit more and try to find out what my next step should be- unless another version gets released. Right now, re-installing OS2008 is not an option I'd not want to do- it'll break the Gene Cash programs I have.

GeraldKo
2008-02-14, 01:32
You all might be interested in an old 68k Mac program posted on Rapidshare. It's called QuickDex, and it's a miniscule-footprint free-form database. Very handy! You can download it at:

http://rapidshare.com/files/88354656/qd.html


Here's a screenshot:

http://i248.photobucket.com/albums/gg175/geraldko22/QuickDexpicpng.png


If you download it and run it in Basilisk II or vMac,
notice the upside-down question mark to the right of
the standard menus: that's the menu for QuickDex.

Also, I started a thread about porting QuickDex itself to Maemo --

http://www.internettablettalk.com/forums/showthread.php?t=15987

but that's a whole other matter.

oldmancoyote1
2008-02-14, 04:21
t3h:

When you say ..."Mac OS 8 can be made to work on an 030 machine...", I assume you mean 8.0 and 8.1? What changes should I do with resedit?

Thanks

t3h
2008-02-14, 04:55
t3h:

When you say ..."Mac OS 8 can be made to work on an 030 machine...", I assume you mean 8.0 and 8.1? What changes should I do with resedit?

Thanks

Turns out that for Basilisk II, all you need to do is change the machine ID to 14 in the settings. As on a real Mac, you can't change the ID :)

t3h
2008-02-14, 04:57
Here are some informal non-real world bench tests using your Build #3. The Complex and Floating Point scores are higher with the FPU.

I'll attempt to run a number of real world bench tests (http://mes.emuunlim.com/benchtests/newtests/) this coming weekend.

68030 no FPU
68030 with FPU
68040 (with FPU)



Interesting. My results proved quite different, yours show no change (but is the "with FPU" actually using it? It says that there is no FPU.)

JackCDay
2008-02-16, 12:37
Sorry for being so noobish!
Can anyone make a step by step instructions how to install it on the N800:confused:
I love macs, and i would love to have a classic enviroment on my n800.
Thanks Guys,
J

OSEmuTech
2008-02-16, 16:15
I have tomorrow off so when I get home from work tonight I'll start throwing something together based on the current build 3 of t3h's port. Unless there are plans to release a deb package with a GUI pref editor very soon. :D

OSEmuTech
2008-02-17, 03:39
Here's the first web page to get started (and cover my butt ;)):

Basilisk II on NIT - The Macintosh ROM Image (http://home.tampabay.rr.com/osemu/n800/b2/rom.htm)

vmabus
2008-02-17, 05:30
What fun! I've managed to get Photoshop 3, Illustrator 5, Clarisworks 4 and some old games to run. However, I can't empty the trash - I just get a "folder cannot be found" message. Anyone else get this (and how did you fix it?)? Does there seem any chance of networking with the emulator? I have iCab ready to go...
Many thanks for the good work!
V Mabus

iontruo2
2008-02-17, 12:40
Here's the first web page to get started (and cover my butt ;)):

Basilisk II on NIT - The Macintosh ROM Image (http://home.tampabay.rr.com/osemu/n800/b2/rom.htm)

More noob questions. :) Do I understand you correctly that it must be a 68030-68040 Mac unit 'only? I have a 9500/132 which had the 604(Motorla) chipset...which came right after the 68040's and prior to the G3-G4 series. Might the 604 unit still work for getting the ROM image?


correction edit: 604 was an IBM chipset.


Update: Pardon me. Thanks to debernardis and his suggestion earlier, I simply sourced the Quadra650 zip. Problem bipassed.

t3h
2008-02-18, 13:54
I have tomorrow off so when I get home from work tonight I'll start throwing something together based on the current build 3 of t3h's port. Unless there are plans to release a deb package with a GUI pref editor very soon. :D


No, the prefs editor is not what I'm working on at the moment.

OSEmuTech
2008-02-18, 14:17
I'm looking forward to whatever it is you are working on now. ;)

Saturday night I created that webpage for Basilisk II about ROMs. Sunday morning I found out my N800 wouldn't bootup after a apt-get upgrade so spent the day after reflashing reinstalling software.

But I have 5 versions of Basilisk II for NIT setup on my N800: the SDL, GTK, and GS versions created by unique311, my original quick build, and your build #3. The GUI prefs editor that works in 2 of unique311's builds are rather nice, but I doubt I could hack the code enough to create a stand-alone prefs editor.

I breifly tried compiling the Sheepnet driver in Scratchbox so B2 could use the NIT's network connection. I hope to revisit that effort today.

I started a new thread on this forum devoted to listing what Mac software runs good on Basilisk II for NIT:

Macintosh Software that can run on a NIT (http://www.internettablettalk.com/forums/showthread.php?t=16791)

oldmancoyote1
2008-02-18, 22:55
TO: t3h and OSEmuTech

So which rom do you recommend?

The 030 or the 040? I can't seem to find an 030 rom.

Thx

OSEmuTech
2008-02-18, 23:20
Macs with a 68040 processor are better. The 68030 processor based Macs are older and slower.

68040 Mac ROM dump files are usually 1 MB. 68030 Mac ROM dump files are usually 512 KB.

Examples of 68040 Macs that dump a 1 MB ROM file that work with Basilisk II:

Mac Color Classic
Mac LC III
Performa 460
Powerbook 180
Mac LC 475
Performa 475
Quadra 605
Mac LC 580
Performa 580
Mac LC 630
Performa 630
Centris 610
Quadra 610
Centris 650
Quadra 650
Quadra 700
Quadra 900
Quadra 950

JackCDay
2008-02-19, 10:09
OSEmuTech
Thanks, ive just completed your first page, i got the ROM on my N800 NIT, so tell us when the next page comes out!
J

OSEmuTech
2008-02-19, 16:22
I had to reflash my NIT on Sunday, yesterday I used up a vacation day, was brain dead, and played around with andLinux (http://www.andlinux.org/) on Windows. Today I'll work on the tutorial.

PS: I'm debating on how to walk people on installing Mac OS 7.5.3 on Basilisk II - via Windows, Linux, Mac, or (much harder) directly on the NIT.

Here's the future site's url - http://home.tampabay.rr.com/osemu/n800/b2/

And now for something completely different - andLinux on Windows running the Linux build of Basilisk II:

http://49d70a.bay.livefilestore.com/y1p27A0pF0A3D_C_KrtxsYZ4Aw98UFxlAIWLceIxBCpRvjsPui Cu8cTjVdKMM6V7v98gAbKnfV6IjhS6F5zcN1YYA/andLinux.jpg (http://49d70a.bay.livefilestore.com/y1p27A0pF0A3D_C_KrtxsYZ4Aw98UFxlAIWT741YrzCUSsoqQr KKWyWRbyErXrEAlPaiRjjHa2xcWhYfYRlRPpKxQ/andLinux.jpg)

http://6hdbqg.bay.livefilestore.com/y1p27A0pF0A3D9H5KnilGSa7Ma9pdVnbv2rXYDTGCT5DP55EvM aXvpcpsZbG-E9R7MciBHnq9otRIml4TlXSYp9Rg/andBasiliskIIGUI.jpg

http://6hdbqg.bay.livefilestore.com/y1p27A0pF0A3D9lildtmRjIGOpIsiRAqulKCUgpVJwCM9PMDtf EoA0ZZH27DGFcUzbSHSMCS4En2LeYLIRGEiOmDQ/andBasiliskII.jpg

NNNNN
2008-02-20, 19:32
Hi guys,

I was wondering if any of you knows a step by step tutorial for the whole mac thing. I downloaded the Mac OS 7 files but I don't know what to do.

NNNNN

OSEmuTech
2008-02-20, 21:54
Hi. It's really easier to install the Mac OS on a hard drive file (HDF) using a full operating system like Windows.

I created a guide to installing Mac OS 7.5.3 in Basilisk II on Windows NT4/2000/XP/Vista here: How To Setup Basilisk II on Windows NT/2000 (http://mes.emuunlim.com/projects/basilisk2/basilisk2help/b2setup.htm) The steps for running Basilisk II on Linux or on Mac OS X are similar.

Just follow the steps. But in step 3, Gemulator Explorer will not work on XP/Vista, so you can directly mount the "Network Access.image" using the Disk tab of the BasiliskIIGUI instead.

I put in for another holiday for Monday, so I'll have Sunday, Monday, and Tuesday off, this time devoting more time to the B (http://home.tampabay.rr.com/osemu/n800/b2/)asilisk II on your Nokia Internet Tablet! (http://home.tampabay.rr.com/osemu/n800/b2/) website.

delaroca
2008-02-23, 11:50
PS: Make sure you install these debs first or you will get dependency errors.

http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb

http://repository.maemo.org/pool/maemo3.0/free/binary/libxpm4_3.5.4.2-3_armel.deb

Xlibs installs ok, but not libxpm4... wants libxau0. N800 with OS 2008, red pill enabled, trying to install with app manager. Libxau6 shows as an already installed library.

iontruo2
2008-02-23, 12:38
May I ask why the preference to OS 7.5 rather than possibly OS8?
Was 8 not a significant improvement from 7.5.3? Does 7.5.3 just run better in this format?

delaroca
2008-02-23, 15:19
I am trying Basilisk II with Mac OS 8.1... one quirk is that scroll-boxes within scroll-bars do not move... the scroll-arrows are the only means to scroll. Are you seeing this as well with Mac OS 7.5.5 under Basilisk II.

OSEmuTech
2008-02-23, 15:57
May I ask why the preference to OS 7.5 rather than possibly OS8?
Was 8 not a significant improvement from 7.5.3? Does 7.5.3 just run better in this format?

Mac OS 7.5.3 is a free download from Apple so most tutorials are based on installing it.

Mac OS 7.6.x and 8.x is not free, being still a retail product and covered by copyright laws, but available from places like eBay.

I note all this on my Basilisk II on yout NIT website: http://home.tampabay.rr.com/osemu/n800/b2/

OSEmuTech
2008-02-23, 15:59
I am trying Basilisk II with Mac OS 8.1... one quirk is that scroll-boxes within scroll-bars do not move... the scroll-arrows are the only means to scroll. Are you seeing this as well with Mac OS 7.5.5 under Basilisk II.

That was an old Mac OS 8.x bug with the source code being used to port to the NIT. Later versions of Basilisk II JIT fixed that problem, but it's source code is not currently portable to NIT. System 7.1 to System 7.6.1 do not have that quirk on the NIT port of B2.

OSEmuTech
2008-02-23, 16:07
Xlibs installs ok, but not libxpm4... wants libxau0. N800 with OS 2008, red pill enabled, trying to install with app manager. Libxau6 shows as an already installed library.

Hi. You need to add a Bora repository to add libxau0.

http://gronmayer.com/it/dl.php?id=44

Texrat
2008-02-23, 16:15
This is very cool. Nice work, Emu!

delaroca
2008-02-24, 00:27
Mac OS 7.5.3 is a free download from Apple so most tutorials are based on installing it.

Mac OS 7.6.x and 8.x is not free, being still a retail product and covered by copyright laws, but available from places like eBay.

I note all this on my Basilisk II on yout NIT website: http://home.tampabay.rr.com/osemu/n800/b2/

Emu,

Thanks for the work and this thread on B2. Besides the issue of cost for any Mac OS version greater than v7.5.5, there's the issue of systems requirements. Though not the nimblest release in its day, Mac OS 7.5.5 and needs no more than a 16 MB of RAM and a 16 Mhz processor to run comfortably... Apple claims it can run in 4 MB (6 MB if using Open Transport, 8 MB if running OpenDOC, Powertalk and Quickdraw GX).

The requirements of Mac OS 8.x in contrast are for at least 12 MB of physical RAM with virtual memory set to at least 20 MB... virtual memory appeared with Mac OS 7.6. For this v7.6, the RAM requirements are for 8 MB of installed RAM, with an additional 8 MB of either real RAM or virtual memory.

OSEmuTech
2008-02-24, 01:08
I remember buying a MacWorld magazine that had an awesome article about the upcoming release of System 7.5. I just so had to buy a Mac to run the revolutionary operating system, so I bought the super-fast Power Performa 6115CD with the incredible 601\60 MHz processor, a whopping 8 MB of RAM, and humongous 350 MB hard drive for only $2500 USD (not including interest). :rolleyes:

My happiest computing days were probably when each 7.5 update was released (7.5.1 - 7.5.5). And I hacked SoftWindows 95 to run Windows for Workgroups 3.11 at a decent speed back then.

As Basilisk II has no MMU emulation, the Mac OS does not use virtual memory. If the host platform Basilisk II is running on does not have the memory alloted to Basilisk II in .basilisk_ii_prefs, Basilisk II with use the host platform's virtual memory.

System 7.6.1 can be run decently with under 8 MB of RAM. And a bare-bones Mac OS 8.x can be run with 8 MB of RAM, but the installer requires 12 MB or higher IIRC.

BTW: I am very thankful that t3h took the time to enhance Basilisk II for the NIT. Even after 9 years of running Basilisk II, I'm still excited with running the Mac OS on a non-Mac, in this case on a PDA that fits in my pocket. I hope people who try Basilisk II out find the emulator to be one of the coolest (and useful) things to run on their NIT.

debernardis
2008-02-24, 15:02
I've been experimenting with keycodes. It seems to me that the n810 keyboard cannot be used with Basilisk because I can't see how to enable the Fn key. It could work if the mac ROM were aware of a keyboard with the same layout of the n810 keyboard, but unfortunately this is a completely non-standard layout many years to come if we go back to the nineties :-)

One solution could be a mac program (extension?) written to transform single keys and keys combinations. The Fn key could be mapped to some other mac-aware key, and the combination between the latter and a char key could be made to match the blue 2nd function key.

Any hint? The alternative is only matchbox-keyboard, by now, as far as I can understand.

cycroft
2008-02-24, 16:03
I need some help. Tried exactly as described but when I run "./BasiliskII" I only get "Cannot open ROM file". I downloaded QUAD650.ROM.

debernardis
2008-02-24, 16:05
Don't forget that the .basilisk_ii_prefs file has to stay in your /home/user directory. Failure to put it there will cause the executable to be unable to find the rom file.

cycroft
2008-02-24, 16:18
I put everything in /home/user (QUAD650.ROM, BaslisikII, .basilisk_ii_prefs, Starterdisk.hfv).

My .basilisk_ii_prefs contains a row "rom /home/user/QUAD650.ROM". All files have the permission 755 and belong to "user:users"

cycroft
2008-02-24, 16:20
can you post your setup?

debernardis
2008-02-24, 16:22
Maybe you better rename your QUAD650.ROM file to quad650.rom (i.e. lowercase)? Also, see size; mine is 1048576 bytes.

cycroft
2008-02-24, 16:33
it runs now. The problem was a conversion issue with CR-LF from Windows in the .basilisk_ii_prefs file.

cycroft
2008-02-24, 19:04
I am trying to install word perfect but did not have success. Anyone can tell me how to do this?

debernardis
2008-02-24, 19:41
You need a decompressor. On the system disk image I got, there was Stuffit Expander 5.5 which does the job well. Take it here (http://kyscorner.codeccorner.com/macutil.htm).

delaroca
2008-02-24, 23:06
BTW: I am very thankful that t3h took the time to enhance Basilisk II for the NIT. Even after 9 years of running Basilisk II, I'm still excited with running the Mac OS on a non-Mac, in this case on a PDA that fits in my pocket. I hope people who try Basilisk II out find the emulator to be one of the coolest (and useful) things to run on their NIT.

Absolutely!!! Better than your antique Performa 6115 that you quite couldn't carry in your shirt pocket. By the way, whatever happened to that old Performa?

One issue is shaping up as critical, and that is keyboard control. N810 users are reporting that the built-in keyboard is not very supported... I am now playing with xkbd (after your helpful advice on how to install it on OS 2008) but at times it behaves erratic. And my external ThinkOutside keyboard to be fully compatible we would need a suitable mapping to get the "Option" and "Command" keys working. Without the "Option" key working we can't have access to symbol and international characters. What do you think could be done on this issue?

An observation, the control panel for StartUp disk does not appear to work. It displays the eligible startup disk but trying to select an alternate startup disk elicits a "beep"... and the setting doesn't stick.

Best,

-- Denis

OSEmuTech
2008-02-24, 23:50
I sold the Performa 6115CD for $300 to an Apple repair and sales shop ~5 years later (with upgraded 72 MB of RAM, 4.1 GB hard drive).

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.

The Startup Disk control panel will not work under Basilisk II. Whatever the highest disk image in the .basilisk_ii_prefs file is will be the one that Basilisk II attempts to boot off of. So just move one disk above another to boot off that one. I always keep a small bootable hard drive image around in case I need to use it to do a disk repair on my main hard drive file image. On other platforms, the CD-ROM can be chosen to have preference for booting off of instead of a bootable hard drive file, so the Startup Disk control panel can be deleted.

setasai
2008-02-25, 02:04
I dont suppose there would be a way to begin a repository or some sort of index of Macintosh Classic Applications that perfectly complemented Maemo would there?

Like how Office and Wordperfect is great because Maemo has yet a powerful wordprocessor and maybe an IRC client, Graphics editor... things like that?

I know kde does alot but this way we dont need to switch interfaces... i'd much rather be surfing the web w/ microb and typing up some HW at the same time rather than the whole konqueror and kword type deal. Not that it doesnt work well... just a preference.

BTW, what other applications do you all install on this fine piece of work? I find it extremely difficult to find programs for Mac OS 7.5.

Thanks,
Sai

OSEmuTech
2008-02-25, 02:11
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 (http://mes.emuunlim.com/mes/index.htm) - Software (http://mes.emuunlim.com/software/index.htm)

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 (http://www.internettablettalk.com/forums/showthread.php?t=16791&highlight=basilisk)

setasai
2008-02-25, 03:37
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
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/micros/mac/util/aladdin_expander_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/stuff/HFVExplorer/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.

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.
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.
You should be able to drag and drop files from the right hand side onto your HDF disk volume on the left.
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.
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
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/micros/mac/util/aladdin_expander_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/stuff/HFVExplorer/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.

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.
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.
You should be able to drag and drop files from the right hand side onto your HDF disk volume on the left.
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.
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
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
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
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
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
Did anybody ever figure out how to insert function characters using the hardware keyboard on the N810?

delaroca
2008-02-26, 07:20
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/forums/showpost.php?p=140500&postcount=25

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

--Denis

debernardis
2008-02-26, 09:00
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
Key Caps in the Apple Menu of all classic Mac operating systems might be useful.

http://49d70a.bay.livefilestore.com/y1p27A0pF0A3D-QrBLnpye7KRXVdJgQlqas9xEL1-yjuhvvDuLAueCSekEFQSbLn-4BaWpwQvJxT1JyhfOpycWtDA/KeyCaps.jpg

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
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.

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/forums/showthread.php?t=17182&highlight=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,

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
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
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
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
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
sorry
and I am launching from user and have launched out of nano after gainroot.
dee

OSEmuTech
2008-02-28, 01:15
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 (http://forums.delphiforums.com/MacEmulation/messages?msg=2649.1), 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 (http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files/BasiliskIISourceCode) if anyone knows what they're doing.

deerndlph
2008-02-28, 04:20
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
By the way, how do we do a desktop rebuild?

--Denis

delaroca
2008-02-28, 21:57
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 (http://forums.delphiforums.com/MacEmulation/messages?msg=2649.1), 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
One free program to rebuild your desktop is Tech Tool Lite: http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/disk/tech-tool-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
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
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 (http://basilisk.cebix.net/downloads/BasiliskII_src_31052001.tar.gz) 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 (http://basilisk.cebix.net/downloads/BasiliskII_src_15012002.tar.gz).)

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 (http://www.sourcegear.com/diffmerge/index.html) 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 (http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_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 (http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_maemo_0.3.tar.gz)

delaroca
2008-02-29, 02:23
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.

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
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
I located a version of basiliskII that makes use of gtk+ 2.0.

http://www.koders.com/noncode/fid387F60C37D25C6294E55C4763BC679807088557F.aspx

looking at the changes he made now.




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 (http://basilisk.cebix.net/downloads/BasiliskII_src_31052001.tar.gz) 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 (http://basilisk.cebix.net/downloads/BasiliskII_src_15012002.tar.gz).)

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 (http://www.sourcegear.com/diffmerge/index.html) 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 (http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_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 (http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_maemo_0.3.tar.gz)

OSEmuTech
2008-02-29, 03:23
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 (http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files/BasiliskIISourceCode).

Good luck and thank you!

delaroca
2008-02-29, 04:35
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
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
99.9991% of my experience with Basilisk II is with the Windows port. The original Basilisk II configuration editor has rather complete customization options.

http://dq5crg.bay.livefilestore.com/y1p27A0pF0A3D8CfsV0QY96eiJUlCfBoN6CcIPzIStl--z0abzNqUrQ75zCa-INPw2zqdNjXpr3unmIbDyMNEeeig/B2_keyboard.jpg

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
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
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.

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/software.html

-- Denis

debernardis
2008-03-01, 10:36
@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
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
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
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
"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 (http://cid-de1b8fbb27739ebd.skydrive.live.com/self.aspx/Public/files/BasiliskIISourceCode/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 (http://cid-de1b8fbb27739ebd.skydrive.live.com/self.aspx/Public/files/B2Win/Build94-BasiliskII_win32_031099.zip) 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
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.

OSEmuTech
2008-03-15, 17:01
I myself can't use t3h's Basilisk II build 0.3 for Maemo as I have OS 2007 installed right now.

Someone was going to create a GUI front end for Basilisk II a few weeks ago.

Here is my old ".basilisk_ii_prefs file" that should be put in /home/user. Your disk and rom path should be changed to reflect your paths to those files.

disk /media/mmc2/Emu/N800_761.HFV
extfs /
screen win/720/420
seriala <none>
serialb <none>
rom /media/mmc2/Emu/F1A6F343.ROM
bootdrive 0
bootdriver 0
ramsize 209387520
frameskip 0
modelid 14
cpu 4
fpu true
nocdrom true
nosound false
noclipconversion false
nogui false
keycodes false
mousewheelmode 1
mousewheellines 3

debernardis
2008-03-16, 19:34
There is a problem in t3h's build, which doesn't show in Osemutech's build.
It's quite peculiar: the printtopdf extension in t3h's version produces unreadable files, while on Osemutech version the pdf file comes out perfect.
Printtopdf is essential, imho, to use mac office on the tablet and get files useful for printing or sending by email.

Voltron
2008-03-26, 09:56
uh im a noob with the console and I extracted the files and did .installdesktop.sh then

mv BasiliskII /home/user and now everything seems to be setup correctly, but how do I run basilisk now?

I have it setup on my xp box and its running os 8 great.

OSEmuTech
2008-03-26, 20:40
Setup the .basilisk_ii_prefs file in your /home/user directory to your rom and hard drive files. Then use X-Terminal to run Basilisk II in /home/user directory via

./BasiliskII

Delphipgmr
2008-03-29, 15:54
is there any other way to obtain the HD image?

i cant install the emulater on a pc, because, ironically, of the 10,000 pc's in my house, not a SINGLE ONE has a floppy drive!

Delphipgmr
2008-03-29, 17:37
ok, im up and running.

how can i install a webbrowser/access the internet?

OSEmuTech
2008-03-29, 23:28
The Maemo port of Basilisk II cannot do networking at the moment. I think no further development is being done on it either.

Delphipgmr
2008-03-30, 00:42
thats really a bummer, so its really a neat product, but not really useful.

but im sure it will evolve as time goes on.

OSEmuTech
2008-04-06, 19:21
Finally a solution to the buggy xkbd on OS 2008.

Directions for downloadin/installing xvkbd here: http://www.internettablettalk.com/forums/showthread.php?t=18621

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_B16fpselNyGNtY32Coq9pQqpHNCx9oONu-wCTY-bewNSoqIIQsLbr4t10d9lRg8cW_krgzccRAg/xvkbd_b2.png

delaroca
2008-04-06, 19:57
Finally a solution to the buggy xkbd on OS 2008.

Directions for downloadin/installing xvkbd here: http://www.internettablettalk.com/forums/showthread.php?t=18621


Now we only need support for the "Option" and "Command" keys... is it possible?

-- Denis

OSEmuTech
2008-04-06, 21:07
Add the following to the .basiliskii_prefs file:

keycodefile <keycodes file path>

Attached is a sample keycode file.

Hum, it appears both Alt keys and the Meta key are counted as the same key under xvkbd.

delaroca
2008-04-06, 22:59
Add the following to the .basiliskii_prefs file:

keycodefile <keycodes file path>

Attached is a sample keycode file.

Hum, it appears both Alt keys and the Meta key are counted as the same key under xvkbd.

Ok, I have in my config file both "keycodes true" and "keycodefile <keycode-filepath>". Upon launching I get the warning (running on IT OS 2008),

WARNING: Cannot find vendor 'The X.Org Foundation' in keycode translation file /media/mmc2/Emu/b2key.

Is this just a warning or does it invalidate processing of the keycode file?

Also, your attached keycodes file is merely a sample not an actual working keycodes file, yes? With the keycodes file, do youknow if it suffice merely to redefine the keys one is after or do you have to provide a full mapping of the keyboard.

Yes, I noticed too that the ALT and META keys on xvbkd are tied together... when they shouldn't, I think.

-- Denis

delaroca
2008-04-06, 23:06
Add the following to the .basiliskii_prefs file:

keycodefile <keycodes file path>

Attached is a sample keycode file.

Hum, it appears both Alt keys and the Meta key are counted as the same key under xvkbd.

Ok, I have in my config file both "keycodes true" and "keycodefile <keycode-filepath>". Upon launching I get the warning (running on IT OS 2008),

WARNING: Cannot find vendor 'The X.Org Foundation' in keycode translation file /media/mmc2/Emu/b2key.

Is this just a warning or does it invalidate processing of the keycode file?

Also, your attached keycodes file is merely a sample not an actual working keycodes file, yes? With the keycodes file, do youknow if it suffice merely to redefine the keys one is after or do you have to provide a full mapping of the keyboard.

Yes, I noticed too that the ALT and META keys on xvbkd are tied together... when they shouldn't, I think.

-- Denis

OSEmuTech
2008-04-06, 23:15
Hum. I started by using this one from the Windows port, but grabbed the (edited for just X) one from the source tarball to post here. This one doesn't give me any errors.

b2.key

delaroca
2008-04-07, 01:12
Hum. I started by using this one from the Windows port, but grabbed the (edited for just X) one from the source tarball to post here. This one doesn't give me any errors.

b2.key

Without being familiar with the BasiliskII implementation, this new keycodes file is a tad more confusing as it has "sdl" sections -- each with slightly different mappings. So the question is which is relevant to the version of BasiliskII (the binary generated by th3, I believe)?

Working a bit further with the previous keycodes file (that presumably comes from the Windows distribution). At least for my environment under IT OS 2008, you do need to put the string "The X.Org Foundation" before the keycode declares. That gets rid of the warning.

Next, there's the apparent mistery that the Meta and Alt keys seem to be bound together in xvbkd. I used 'xev' to try to discern the keycodes being generated and I see keycodes 64 and 134 every time I hit say the Meta key.

After some trial and error, I disabled both the Alt-left and Alt-Right mappings (64 -> 55 and 113 -> 55). I left the mappings of Logo-Left/Right to Option undisturned, though you could also comment them out. I then added the following mapping for the Option key,

134 58 # Meta Left (-> Option)

and that enabled use of the Option key in BasiliskII.

Given the apparent problem with xvkbd, right now I can only properly define one of the Option and Command keys but not both.

I thought I could use some other xvkbd key, such as 'compose' (keycode 136), to map it to the MAC Option key... but no success... maybe you can dig further!

-- Denis

OSEmuTech
2008-04-08, 00:03
Thank you for your investigations into this Denis. Hopefully the xvkbd program can be "fixed" to separate the 3 keys so we can bind them to key mappings for Basilisk II. I saw your post in that thread about it.

I'll take a look at things tomorrow, but I think you know more about this than I do.

rkopper
2008-04-20, 01:41
I cannot find a version of stuffit that will work, so that i can create a bootable image with enough space for a workable install. Any hints? i'm attempting to follow the tutorial posted on the first post . i have the apple 7.5 downloads, but without something to unzip or extract as suggested in the tutorial, im stuck! thanks for any help!

OSEmuTech
2008-04-20, 02:32
Hi.

You can download Alladin Expander for Windows from here: http://tucows.mundofree.com/files2/Alex51.exe

I'll be around after I wake up in 9 hours or so if you hit any snags setting things up.

rkopper
2008-04-20, 14:06
In my many attempts to create the boot floppy with the net access tools disk, I can't make gemulator write anything. I'm half certain that under vista, it just doesn't work like it should. Is this the case? I've extracted the image and it mounts under gemulator, but never gives me an option to write to disk. I was hoping to drop the resultant image onto a USB drive rather than a floppy. Does this procedure require that I have a floppy drive? If so, is there a workaround or something else that I can try as I don't have a floppy? Thanks for all your help...

OSEmuTech
2008-04-20, 14:57
If you have the "Network Access.image" extracted, instead of using Gemulator Explorer you can just boot directly off the image. Using the Windows BasiliskIIGUI program's Disk tab, it's just a matter of browsing for the image (make the drop down box list all files) and adding it to the list of installed disks. This will allow you to boot off the image as if it were a floppy disk.

http://dq5crg.bay.livefilestore.com/y1p27A0pF0A3D9FekS_wvQ2vOmzNYUGQ5qZeiRAqKic6byKPPI fpGQ-854pu_0ELUp0mGj_2ipZlio4CQjua4XaBA/B2_NAI.jpg

rkopper
2008-04-20, 19:51
Excellent! Got it working! Thanks again!

OSEmuTech
2008-04-20, 21:12
Great! I hope you have some neat 68k Mac programs to run on it. It's neat having extra word processing, spreadsheet, graphics, math, etc. applications usable on our NITs.

Maybe someday I'll be able to hack the Maemo code to allow 256 colors so a ton of awesome games (Maelstrom (http://www.ambrosiasw.com/games/maelstrom/), Escape Velocity (http://www.ambrosiasw.com/games/ev/), Aperion (http://www.ambrosiasw.com/games/apeiron/), Marathon, Crystal Crazy, Gypsy, etc.) are also able to run on our NITs.

t3h
2008-04-26, 15:44
Maybe someday I'll be able to hack the Maemo code to allow 256 colors so a ton of awesome games (Maelstrom (http://www.ambrosiasw.com/games/maelstrom/), Escape Velocity (http://www.ambrosiasw.com/games/ev/), Aperion (http://www.ambrosiasw.com/games/apeiron/), Marathon, Crystal Crazy, Gypsy, etc.) are also able to run on our NITs.

I think it's more like hacking the Maemo X server to allow it to be switched into this mode - that'd be the fastest way, to run and to develop.

I think Marathon on the IT is pushing it a little... unless you use a small window size.

OSEmuTech
2008-04-26, 22:43
Thanks for the input. I was thinking more along the line of using the Basilisk II JIT source code without the JIT in order to maybe use SDL for graphics (and it includes various fixes for running certain applications and games correctly compared to the older Basilisk II source we used).

Here is a screenshot of unique311's SDL build of Basilisk II JIT. It's slow and suffers from the sticky mouse, not being hildonized, and non-full screen, but can run at 256 colors.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8AqVmxFxhHAGFrkIKyvcr-8qClX0ESCf5TZptCE0r6dbo-8S2NgIN3WSMHSDC1faIHrnaVePolLg/b2jitsdl.png

OSEmuTech
2008-04-27, 04:59
Another viable combination of Maemo programs to make Basilisk II useful on a N800.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D9B5SwcIwjcYqwwlBBBsHAXHtJSzXbhpkYosox NG6KkJPHQSEKPDY92LUnSh5VswdylMwAA6mUojQ/b2rotate.jpg

twolfwalker
2008-04-29, 20:50
I am not even a newbe, just someone who has been very interested in the N810. I find it fascinating that you can run an old version of the Mac OS on the IT. What would be great is running a PIM program under the Mac OS. I was wondering if anyone had suggestions or if anyone had tried the Brewster People software at
http://www.brewstersoftware.com/getpeople.htm

Thanks

OSEmuTech
2008-04-29, 21:16
That program looks nice. I use my old Now Contact and Now Up-To-Date (http://nowsoftware.com/), though there are a number of others. Even the old Palm Desktop for 68k might do the trick. :p

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-xs7W8I5urpNZnII84Hg97bHYyDFYbPJ2tP-BExefZZUVuMBP8TAnzShCKalueuHLukj2IWj_LTg/b2nc.png http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D99t5aWXSoT2jST7RuhpjJpU_NY6T15UdOAnGe VNqakEOxGdFg82DR7UuxwdTwIins9NwFDB-oxQQ/b2nutd.png

mrklaw
2008-04-30, 16:00
Wow, that looks really nice. I need to go and set this up sometime.

Another viable combination of Maemo programs to make Basilisk II useful on a N800.

OSEmuTech
2008-04-30, 22:58
Thanks. Someday when I quit my stressful technical support call center job for a major cell phone company, I'm going to take a month off and work on the Basilisk II on your Nokia Internet Tablet! (http://home.tampabay.rr.com/osemu/n800/b2/) tutorial website, as setting things up are a little complicated.

OSEmuTech
2008-05-02, 00:30
Uh oh. I'm not the first person to defile a NIT by running Internet Exploiter on it am I? Too bad networking hasn't been ported over yet.

Note that Basilisk II has file system access to the / directory and all subdirectories of the Maemo file system (such as SD cards).

The one-click launcher is a customizable program that comes with the Mac OS (before the "Dock"). I list in it some of the programs that I have installed at the moment.

I played a little Dungeon Master earlier. I think I'll try my "Dark Forces" (Star Wars FPS) next.

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_xtbJ_pfEU_sMzeM23OMWN4-i86yT1JWLbGNqmsKrP6PdY287Rcc-dPRJ9_wlIOHq1IvNKK6C08A/b2ielauncher.png

JackCDay
2008-05-03, 13:56
I know this sounds very lazy and noobish but...
Couldnt someone just put the HDF file on the internet?

OSEmuTech
2008-05-03, 14:49
Unfortunately, legally no. Apple does not allow the distribution of it's (free) Mac OS and the end user is supposed to be the one who clicks "Accept" to the Apple EULA when installing the Mac OS.

GeraldKo
2008-05-03, 21:33
OSEmuTech, I think one of the main reasons I haven't installed Basilisk II so far is to avoid the grief I'm going to feel when I look at my diminished collection of old Mac software. I had lots of System 7 apps forever and in November when I moved in with my girlfriend I threw away most of them! :(

But I think I still have Word 5.1a. When you use Word, what do you do when you want to use the document outside the NIT? I'm a Windows user (no! stop the stones! ouch!), and my guess is that later Word for Windows don't import smoothly from 5.1 for Mac. I'd be happy to be told I'm wrong. (Just btw, I've tried Open Office and uninstalled it solely on the ground that it can't do a bulk find-and-replace for paragraph marks.)

Also, did you try installing Synchronicity with the .dmg or .img extension? That's what I did in miniMac using HFV Explorer to import it into my virtual Mac hard drive (several months ago, but I think with the same file as the one I sent you).

OSEmuTech
2008-05-03, 22:34
Thanks GeraldKo. I installed Mac OS X on my Lombard and downloaded it, whatever it is. It refuses to run on Basilisk II for Windows using 68040 with FPU and Mac OS 7.5.5.

I threw out all my 1st/2nd edition Advanced Dungeons and Dragons stuff and all my 45 singles (records) from the 80's. Doh! :(

I don't know about Word 5.1, but here is a doc file I created using Word 6.0.1 in Basilisk II.

http://49d70a.bay.livefilestore.com/y1p27A0pF0A3D9MiYBsV4hDI1cJ4lQEMWccCaaKWRYQYnUIBfF CtBGCaGv6sfCKnHhZ4fZTEDH5bb630IJExcmPZA/word6b2doc.jpg

And here is the same file which I transfered to the Windows file system and opened in Word 2007.

http://49d70a.bay.livefilestore.com/y1p27A0pF0A3D-9H9LHWrHU_Ouv7f1gw-qPQ_inElZXE-OLm4ZV48ufUaJ-_FQnrXVeDS9tqfJRukrFYoHDAGaAqw/word2007doc.jpg

OSEmuTech
2008-06-02, 05:53
Basilisk II is very customizable under KDE for Maemo. :D:D:D

http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D_qpyFWnlgyZKiPSc74MAsKzUrqTMF9tDsMwM2 ds_gZupIArR1yD9NdI0H2Zf5q_cY_3ZmN46LckA/kde_b2_1.png
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D8agAFnwDLZCJYCOZqSQJ2l5780FcBEPqwFwvc sqOuxS4SS9FsmVmfrwmEH8ffQh1k-LUd_0rw-EA/kde_b2_2.png
http://fkwjcw.bay.livefilestore.com/y1p27A0pF0A3D-5Fn2YmJKZsFAD8P4umyDt0mL5icnLm5bOg-x4tIjNtRrbaxzTscTwvw9YTJ0z8j7J_19QNxk6fg/kde_b2_3.png

BrentDC
2008-06-04, 15:21
Hello,

I've been trying to get BasiliskII up and running on my IT for the past couple days, and have so far been unsuccessful. I need a bit of advice on what I need to do to get this running. This is what I've done so far:

Placed the main BasiliskII binary in /home/user/
Created the basiliskii_binary folder with its two files also in /home/user/
Created a folder on my MMC2 called Mac Emu, and placed qaud650.rom in it.
Created a .basilisk_ii_prefs file also in /home/user/ with a bunch of preference lines (like outlined in one of deberdanis' posts), but made sure to point to where my .rom file is.
On the desktop I've made a 150MB HFV file with basilisk, but don't know what to do with it.
I've downloaded the 19 MacOS.bin files, but also don't know what to do with them.

I really have been wanting to get this running, but am confused as to what exactly I need to do (I've read a bunch of tutorials saying I need to create a boot disk with software that doesn't run on XP or higher, so...?).

Edit: I only have access to Windows XP and Vista computers.

OSEmuTech
2008-06-05, 02:57
Sorry about that.

Download this: http://files.oldos.org/files/macdl/Network_Access_Disk_7.5.sea.bin

Unstuff it in Windows using this: http://files.oldos.org/files/macdl/alex50.exe

Then using the Windows/Linux/MacOSX version of Basilisk II, setup the "Network Access.image" as an installed disk on the top of your 150 MB hard drive file image.

http://dq5crg.bay.livefilestore.com/y1p27A0pF0A3D_4fhZsP04zmEz6SSTxcb5SNYYH30ClLHKxDpz SqC5TNEKiFZYd6r3PLi7fSpoorct9P9qsR5QBWw/B2_NAI.jpg

Once you verify that you can boot off the floppy disk image, go back and use HFVExplorer to move the Mac OS 7.5.3 files and the Stuffit Expander for Mac file into your 150MB hard drive file.

Let us know if you get stuck anywhere.

BrentDC
2008-06-05, 15:31
Thanks, I finally got up and running. Yay! (it feels like I just completed the Boston Marathon :D ).

http://i269.photobucket.com/albums/jj67/BrentDC2/screenshot01.png

OSEmuTech
2008-06-06, 02:42
Cool! I'm glad you were able to put the pieces together to get it running. :)

We still need to create a GUI configurator for editing the .basiliskii_prefs file, and package all of it into a deb. If I didn't have a job that required almost all my time I'd have fun doing these things. Also, if we could use more recent source code, more applications and games could run on Basilisk II as well as networking.

BrentDC
2008-06-06, 16:41
Cool! I'm glad you were able to put the pieces together to get it running. :)

We still need to create a GUI configurator for editing the .basiliskii_prefs file, and package all of it into a deb. If I didn't have a job that required almost all my time I'd have fun doing these things. Also, if we could use more recent source code, more applications and games could run on Basilisk II as well as networking.

I know what you mean, my beloved Spectre Challenger chokes on the high display depth... :( Man, 150MB of Hard Drive space is not what it used to be, I going to jack it up to 500 :eek:

(btw, I thought I should let you know that Stuffit Expander on your website here (http://mes.emuunlim.com/software/index.htm) is corrupted. It took me like an hour to find another copy...)

OSEmuTech
2008-06-09, 02:57
So, I'm wondering how you got it running with 256 colors as an option OSEmuTech. That would make a ton of things able to run where as with only thousands of colors the selection is limited. Mostly i just want to play a couple classic games on it for fun.

I was able to run Basilisk II on Maemo in 256 colors by using a different build of Basilisk II. unique311 created GS, GTK, and SDL builds using more recent source from Basilisk II JIT. It's slower, has a sticky mouse problem, and cannot be run full screen (though under KDE for Maemo, you can have it take up the whole screen probably).

I just uploaded the files here. Use the SDL build for 256 colors IIRC:

http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files/B2%7C_by%7C_unique311

The Basilisk II (non-JIT) source code used by teh to create the Basilisk II we are using (fast, full screen, no sticky mouse) was from ~8 years ago. Since then the Basilisk II JIT code has been enhanced and allows running any 68k program on it that doesn't require a MMU, including all sorts of games and applications. I'm only a perpetual script-kiddie otherwise I'd jump on porting Basilisk II (JIT) over to Maemo keeping the hildon enhancements teh worked on.

rcsteiner
2008-06-10, 20:45
If anyone is interested, a new build of the open source Macintosh 680x0 emulator called Basilisk II is available (http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files).
Dumb question time, but a simple straightforward answer is more easily understood by my simple straightforward mind, and this thread does not seem to contain such an answer. :D

Will an existing precompiled port of Basilisk II run on a stock 770 running OS2006-49-2?

OSEmuTech
2008-06-10, 22:17
The Basilisk II ports t3h (and I) made appear to only run on OS 2008.

But the 3 builds of Basilisk II JIT uniquie311 made run on OS 2007 and 2008. I don't have a N770 to test the builds out on OS 2006, but I imagine if they ran they would be rather slow. :(

rcsteiner
2008-06-11, 16:39
The Basilisk II ports t3h (and I) made appear to only run on OS 2008.
Okay.

But the 3 builds of Basilisk II JIT uniquie311 made run on OS 2007 and 2008. I don't have a N770 to test the builds out on OS 2006, but I imagine if they ran they would be rather slow. :(
Slow doesn't concern me. I used to run Executor/DOS on a 486 back in the DOS days, and that was quite a bit slower than my IIci. :D

Betty Woo
2008-06-14, 05:44
There's a guy in another forum who has a lot of early Mac stuff he wants to get rid of... Reading the thread (http://www.ehmac.ca/anything-mac/65720-vintage-computer-garage-sale-vancouver.html) leaves me with the distinct impression he also has a lot of older programs and applications. Perhaps some of it may be helpful for this thread?

Of course, his 'garage sale' is in Vancouver (the Canuckian one, not the Washington one).

However, there are a few people here who live in this city so... .:rolleyes:

OSEmuTech
2008-06-14, 07:19
Slow doesn't concern me. I used to run Executor/DOS on a 486 back in the DOS days, and that was quite a bit slower than my IIci. :D

I didn't know about ARDI's Executor (http://en.wikipedia.org/wiki/Executor_(software)) until 8 years ago in 1999.

By then, Fusion PC (http://www.emulators.com/fusion.htm) from Microcode Solutions had already started emulating the 68040 on DOS which allowed running up to Mac OS 8.1 along with all 68k applications and games that didn't require a MMU. I was the first person to buy Fusion PC 2.0 which ran on Windows, and after winning a "Bug Bash contest" became a beta tester for the company for further patch releases up to 2.3.1 until the emulator was sold to the "evil" Emulators, Inc (http://www.emulators.com/).

During my bench testing of Fusion PC, I would graph the various scores earned by the Macintosh emulators for Windows/Linux/DOS; Fusion PC, Basilisk II, Executor, vMac (http://www.vmac.org/), and SoftMac (http://www.emulators.com/softmac.htm), in numerous tests. I also learned the various Mac emulators' abilities, limitations, and bugs.

The alpha open source Basilisk II (http://basilisk.cebix.net/) was initially limited to 68020 emulation, but was in rapid development by the original German developer (who had created Basilisk I/II, Frodo, SheepShaver, etc.) and the Finnish Windows developer/porter who was implementing many new features for Basilisk II for Windows. Big events were when Ethernet networking and NAT were added, and months later Basilisk II was able to emulate a 68040 instead of the 68020/30 (68030 processor emulation had been buggy) running up to Mac OS 8.1.

Basilisk II soon became everyone's favorite Mac emulator as it was stable, fast, and free ... the retail Mac emulator companies ARDI, Microcode Solutions, and Emulator, Inc.'s days were numbered (though Emulators, Inc. is still "living"). All three companies started promising future PowerMac emulators, but none of them ended up delivering*.

By 2001, Basilisk II development was taken over by a French Linux developer who implemented a x86 JIT engine for Basilisk II making it ~20x faster than all the other Mac emulators. It is now called Basilisk II JIT (http://gwenole.beauchesne.info//en/projects/basilisk2).

He then ported the PowerMac emulator SheepShaver (http://gwenole.beauchesne.info/en/projects/sheepshaver) for BeOS to Linux/Windows/Mac OS X, implementing G4 Classic Mac emulation (up to Mac OS 9.0.4). SheepShaver is currently popular with MacIntel users who wish to run Mac Classic OSes (pre-Mac OS X) and applications, as MacIntels can't run Mac Classic.

I might as well round this brief history off by mentioning OSS Pear PC (http://pearpc.sourceforge.net/), the first and only Mac OS X PowerMac emulator (runs up to 10.4.x) for Windows and Linux. It too uses a JIT engine for speed, but ends up running maybe 20x slower than the host PC, which can be acceptable on a high end machine. The death of the primary Pear PC developer severely crippled further development of this Mac emulator. It has not been ported to run Mac OS X for Intel on Windows or Linux, though it could have been without the loss of the main developer. (Note: PearPC runs even slower than Bochs on a NIT (http://www.internettablettalk.com/forums/showthread.php?t=15893) :p)

Since 1999 I've been running a forum about Mac emulation, which expanded in 2001 to cover all operating system emulation and virtual machines. Thus my nick.

Hum ... I had tried running Fusion PC and Mini vMac (http://minivmac.sourceforge.net/) on DOSBox for the NITs, but haven't tried Executor. You are familiar with the NIT port of DOSBox (http://pupnik.de/dosbox.html) for running 80x86 DOS, originally for a 770? If you are a fan of using Executor, running it on DOSBox might bring back fond memories (of slowness ... LOL!).

*Correction: Microcode Solutions delievered a PowerMac emulator for Amiga (iFusion) and ARDI developed a PowerMac "emulator" for Linux (iExecutor?) that could run Adobe Photoshop 5, but iDon't think iT was ever released(?).

OSEmuTech
2008-06-14, 08:05
There's a guy in another forum who has a lot of early Mac stuff he wants to get rid of... Reading the thread (http://www.ehmac.ca/anything-mac/65720-vintage-computer-garage-sale-vancouver.html) leaves me with the distinct impression he also has a lot of older programs and applications. Perhaps some of it may be helpful for this thread?

Of course, his 'garage sale' is in Vancouver (the Canuckian one, not the Washington one).

However, there are a few people here who live in this city so... .:rolleyes:

Wow, that picture looks like an Apple Museum, worse than my closet of ancient Macs. :D

andyph666
2010-02-02, 10:02
Does this work for the N900 by any chance? Thank you!

shinkamui
2010-02-03, 02:43
Ironically, this is yet another thing you can't do on the iPhone or iPod Touch.

Hate to break it to you. But Basilisk has been ported to the iPhone/iPod touch since 1.1.2 well over two years ago. Whats really important here is that THAT implementation is slightly more useless than this one. :-D I love emulation, so this is great news to me.

delaroca
2010-02-05, 07:04
Does this work for the N900 by any chance? Thank you!

It seems OSEmuTech, who started this thread hasn't been around lately... and his web pages are gone. However, the one binary I ended using was the one compiled by th3 --see this post,

http://talk.maemo.org/showpost.php?p=141307&postcount=63

and his links are still active.

I tried running that binary on the N900, it doesn't launch as it wants to use libesd for sound support... a library that Fremantle no longer provides. Fortunately, Graham Cobb, who works on GPE, has put together a minimal libesd that interfaces with Fremantle's pulseaudio. It's in the extras* repositories and can be installed via apt-get install libesd0

With this installed, the Diablo binary of BasiliskII runs on the N900. To get going, you will have to browse thru most of the thread. OSEmuTech had put together a HOWTO but his web pages are no longer active.

--denis

McLightning
2010-02-05, 13:09
all the pages are gone
can somebody explain how to get this working on n810? please

sardaukar
2010-03-04, 16:19
I've installed libesd on my N900 and I get connection errors to ESD on BasiliskII's startup... any help?

caze
2010-03-22, 19:51
What exact version did you use and what exact error message did you get?

Did anyone already succeed in running basilisk on n900? If so, with what version / binary of it, what size of rom file, what macos system version and what preferences?

I have tried 4 binaries mentioned above:
build 0.3 of t3h:
http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_0.3.tar.gz = http://cid-de1b8fbb27739ebd.skydrive.live.com/self.aspx/Public/files/t3h%5E_B2%5E_NIT%5E_builds/basiliskii%5E_binary%5E_0.3.tar.gz
as well as unique311's
basilsSDL.zip , BasiliskIIGTK.tar.gz and BasiliskIIGS.tar.gz
from
http://cid-de1b8fbb27739ebd.skydrive.live.com/browse.aspx/Public/files/B2%5E_by%5E_unique311
(note that on this live.com account you can also find numerous sources of basilisk) (also available on http://www.divshare.com/download/798362-bf8 , http://www.divshare.com/download/798033-e5d )

on all 4 versions i get
ERROR: Cannot create 60Hz thread (Success).
in the end

with the last 3 versions from unique311 i get this (inbetween of video_open() and video_close()) as well as initially
ERROR: Cannot install SIGSEGV handler (Success).

i would very very much appreciate any help on the matter. thank you very much.

t3h
2010-03-22, 22:36
I've actually got a N900 on it's way to me as we speak. I'll take a look at this when it arrives.

It might actually run more usably this time around... :)

Thanks Cage for emailing me.

caze
2010-03-22, 23:41
thank you very much for your prompt and kind reply, t3h. i am already eagerly looking forward to getting this sorted out. you trying it on the actual device might prove more convenient than in the sdk, i hope.

by the way, the GS build with the nice GUI has never been updated with the meanwhile applied patches, right? is there any chance of combining the features of the several builds currently existing? do you know which code difference accounts for what above is reported concerning printtopdf not working in most builds, but in osemutech's?

and do you happen to have saved a copy of the howto of osemutech's site? is there relevant information concerning NIT? (if rather not, i would not actually need it myself, i suppose, as basilisk is already running very fine on other operating systems for me.)

but as basilisk is currently not working in my n900, i have not messed with all those keyboard customization in this threads and the ones this links to yet. it would be very nice if you could summarize which of these is really needed after all.

thanks a lot for all this lot in advance already :)

t3h
2010-03-30, 10:32
I'm currently playing with the source in the Maemo 5 SDK. Expect something soon.

Also for anyone attempting to download the old packages, my server has been down for a day or so - my ADSL connection has been misbehaving, and the exchange has only just been fixed.

t3h
2010-03-30, 13:10
Ok, I've got something going.

ESD sound is not compiled into this build, the N900 uses PulseAudio instead. I'll get it behaving later. I haven't tested my hildonized fullscreen yet...

It's compiled with the arm7 compiler in the Maemo SDK, and I should be able to apply some additional optimisations later.

Also it's just the binary, I'll have to make it more user-friendly later. And make it smaller.

Binary (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_binary_0.4.tar.gz)
Source (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_maemo_0.4.tar.gz)

http://gm.stackunderflow.com/maemo/basiliskii/n900/b2_maemo_0.4.png

javispedro
2010-03-30, 15:33
Thanks t3h. I was wondering if you could have a look at the idle powersaving patches? (sleeping when the 68k is idle)
I once managed to merge them with the previous Diablo unpackaged port, but I think I lost the patched source.... :( If I find the time I'll try to do that again.

t3h
2010-03-31, 00:50
Thanks t3h. I was wondering if you could have a look at the idle powersaving patches? (sleeping when the 68k is idle)
I once managed to merge them with the previous Diablo unpackaged port, but I think I lost the patched source.... :( If I find the time I'll try to do that again.

If you can find the patched source, i can diff it and see what changed. Also, fullscreen doesn't behave on Maemo 5 yet, will have to fix that. And the screen size needs adjusting...

Edit: fullscreen does work. --fullscreen true, not --fullscreen. I may just make it enabled all the time - as there's now no fullscreen button like on the old Maemo, and you can still ctrl-backspace to swap to another app. I won't implement the "button in corner to un-fullscreen" thing - the corners are important in MacOS.

This is how you should be launching it... or how I do anyway.
./BasiliskII --rom quadra650.rom --disk b2_sevenpointone.img --fullscreen true --screen win/800/480

The screen updates can probably be made faster now that we have OpenGL ES to play with (make the screen an opengl surface?)
Also need to remap ctrl to cmd, and/or make a custom Maemo keyboard layout for the emulated Mac in ResEdit.

delaroca
2010-03-31, 03:48
Did anyone already succeed in running basilisk on n900? If so, with what version / binary of it, what size of rom file, what macos system version and what preferences?


The t3h diablo binary appears to run ok on the N900. I am using a Quadra 650 ROM (1 MB), MacOS 7.5.5. But to run, you do need to first install Fremantle's pulseudio libraries: "apt-get install libesd0" from the extras repository -- it's a minimal implementation of pulseaudio for GPE but seems to work with Basilisk. Next challenge is to configure an appropiate keyboard configuration for Basilisk.

Anyway, t3h is back and he's working on native Fremantle binaries and other mods... Basilisk lives on!!!

--denis

t3h
2010-04-01, 01:12
Binary (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_binary_0.5.tar.gz)
Source (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_maemo_0.5.tar.gz)

Here's a version with ESD compiled in. You'll need libesd0 (apt-get install libesd0), but you should have sound. Can't test right now - can someone else give it a go?

Also as for the power saving patches, try and find the source, i'd love it...

hordeman
2010-04-01, 04:47
Binary (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_binary_0.5.tar.gz)
Source (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_maemo_0.5.tar.gz)

Here's a version with ESD compiled in. You'll need libesd0 (apt-get install libesd0), but you should have sound. Can't test right now - can someone else give it a go?

Also as for the power saving patches, try and find the source, i'd love it...

So, am I understanding correctly that this wouldn't work on an N810? (Thank you in advance for all the hard work.)

t3h
2010-04-01, 05:37
So, am I understanding correctly that this wouldn't work on an N810? (Thank you in advance for all the hard work.)

No, as it's built against the Fremantle SDK. That said, the last two specific N900 builds have been getting stuff to work again, so you can use the older 0.3, and not be missing out on much:

http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_0.3.tar.gz

Anyone with a N900 should be using 0.5 though.

hordeman
2010-04-01, 05:59
No, as it's built against the Fremantle SDK. That said, the last two specific N900 builds have been getting stuff to work again, so you can use the older 0.3, and not be missing out on much:

http://gm.stackunderflow.com/maemo/basiliskii/basiliskii_binary_0.3.tar.gz

Anyone with a N900 should be using 0.5 though.

Great! Thank you! So, what instructions should I be using to install this? Your pages from the original post seem to be gone, and I didn't see anything in the .tar file.

t3h
2010-04-01, 06:21
Great! Thank you! So, what instructions should I be using to install this? Your pages from the original post seem to be gone, and I didn't see anything in the .tar file.

Put the .desktop into /usr/share/hildon/applications/ and put the BasiliskII into /usr/bin, and use it either from X terminal like the desktop version with command line arguments, or edit ~/.basilisk_ii_prefs.

t3h
2010-04-01, 08:40
Now this is just wrong...

http://gm.stackunderflow.com/maemo/basiliskii/n900/n900vs180c1.jpg
http://gm.stackunderflow.com/maemo/basiliskii/n900/n900vs180c.jpg

Hasn't technology come a long way?

app73n3rd
2010-04-01, 23:09
Put the .desktop into /usr/share/hildon/applications/ and put the BasiliskII into /usr/bin, and use it either from X terminal like the desktop version with command line arguments, or edit ~/.basilisk_ii_prefs.

Can you please give n00b instructions for installation? I really want to get this going on my N900. Thanks.

dragon_788
2010-04-01, 23:28
Ok, I've got something going.

ESD sound is not compiled into this build, the N900 uses PulseAudio instead. I'll get it behaving later. I haven't tested my hildonized fullscreen yet...

It's compiled with the arm7 compiler in the Maemo SDK, and I should be able to apply some additional optimisations later.

Also it's just the binary, I'll have to make it more user-friendly later. And make it smaller.

Binary (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_binary_0.4.tar.gz)
Source (http://gm.stackunderflow.com/maemo/basiliskii/n900/basiliskii_maemo_0.4.tar.gz)

http://gm.stackunderflow.com/maemo/basiliskii/n900/b2_maemo_0.4.png

My understanding is that Pulseaudio should grab any audio intended for ESD and play it, did you compile without because it wasn't working or just haven't run across the full how-to for Pulseaudio?

hordeman
2010-04-02, 00:26
Holy cow... I wonder how poorly (or well) an Amiga emulator would run inside of it: http://www.youtube.com/watch?v=e_ElgKvKFuY

t3h
2010-04-02, 01:17
My understanding is that Pulseaudio should grab any audio intended for ESD and play it, did you compile without because it wasn't working or just haven't run across the full how-to for Pulseaudio?

I had to hack the config.h and Makefile because even after installing libesd0, ./configure still didn't find it. That was the issue, not Pulseaudio. Can you test the current build?

You may need to apt-get install libesd0 on the n900 though.

t3h
2010-04-02, 01:30
Can you please give n00b instructions for installation? I really want to get this going on my N900. Thanks.

I've got a friend working on a .deb for that, so if you're not comfortable using the terminal, you may wish to wait for that.

Holy cow... I wonder how poorly (or well) an Amiga emulator would run inside of it: http://www.youtube.com/watch?v=e_ElgKvKFuY

Interestingly, that's actually Mac OS running on the Amiga without an emulator. The Amiga A1200 has a 68060 CPU, which, although somewhat incompatible with the 68040 used in Macs, can have the incompatible bits patched by a virtual machine in software - rather than emulating the 68k from the ground up which would be slower.

hordeman
2010-04-02, 01:32
Interestingly, that's actually Mac OS running on the Amiga without an emulator.

Ha! Looks like I got a little overly excited and I only saw what I wanted to see. :cool:

t3h
2010-04-02, 01:46
Ha! Looks like I got a little overly excited and I only saw what I wanted to see. :cool:

That said, I'm not ruling out a port of UAE: http://www.amigaemulator.org/. Actually, I think Basilisk II borrows code from this for parts of it's 68k emulation.

hordeman
2010-04-02, 01:49
That said, I'm not ruling out a port of UAE: http://www.amigaemulator.org/. Actually, I think Basilisk II borrows code from this for parts of it's 68k emulation.

You would gain A LOT more fans if you could pull this off. :) Maybe you can build on some of the work that was done in the past (but never completed)? http://talk.maemo.org/showthread.php?t=5298

delaroca
2010-04-02, 07:08
Here's a version with ESD compiled in. You'll need libesd0 (apt-get install libesd0), but you should have sound. Can't test right now - can someone else give it a go?

Sadly sound doesn't work... neither with this new Fremantle binary nor with the old Diablo binary. Back in January I recall having tested this with the Diablo binary and thought it was working, that is I could go into the Sounds Control Panel and change the alarm sounds -- and I could hear the different sounds.

Since the PR 1.1 update has happened, wonder if that has anything to do with this... there's a startup message

Using ESD Audio Output
"Warning: Cannot open ESD connection. Audio Output will be disabled."

If there isn't something obvious that we are missing, then you may have to byte the bullet and mod the basilisk code to use pulseaudio directly.

--denis

t3h
2010-04-02, 07:23
Are you by any chance running it as root? It seemed to only work if I didn't (I was still root when I copied it into opt).

I've got the latest OS on my N900 as well.

delaroca
2010-04-02, 21:06
Are you by any chance running it as root? It seemed to only work if I didn't (I was still root when I copied it into opt).

I am running it in user mode... can't really remember if sound ever worked... the startup messages suggest, establishing the ESD connection is failing from the get go!

--denis

t3h
2010-04-03, 01:56
Odd, it works for me... I just heard Fred's voice - "I sure like being inside this fancy computer" (does he have any idea what computer he's really inside of? :P)

Also I kinda did all the software update stuff when I first got it: Settings -> About shows 3.2010.02-8.002 as the version - is this PR1.1? I presume it is because it's around that date...

Try installing (apt-get install) pulseaudio-esound-compat, and see if that does it for you...

delaroca
2010-04-03, 02:37
Settings -> About shows 3.2010.02-8.002 as the version - is this PR1.1? I presume it is because it's around that date...

Try installing (apt-get install) pulseaudio-esound-compat, and see if that does it for you...

Yes, that's PR 1.1.. have that library installed already but still ESD sound does not work for me: at startup I still get the message: "WARNING: Cannot open ESD connection".

Still, good to know that it is working for you... do you get some startup messages re ESD?

Edit: problem solved! Uninstall and then re-install the above libraries.

Edit 2: Now the big problem is keyboard support... numerics, plus special characters with the blue-key do not work!

--denis

pcklee123
2010-04-13, 03:02
does network work? e.g. ether slirp?

zlatokosi
2010-04-15, 19:38
I'm having trouble installing libesd0 - it's showing a dependency error with libaudiofile0. Any ideas?

olivebear
2010-06-28, 13:38
This is a great project!
Does anyone have any ideas for getting it running in 8 bit color mode on the n900? This seems to be a popular requirement for older Mac games. All of the video options seem to take the settings from the underlying X11 window which are 16bit.

marco005
2013-04-22, 13:05
HI os do u happened to own the programs mavis beacon 2.0 for mac and microsoft word 2.0 for ma i like for you to upload it to me and put me the download links here at this website maemo.org i would appreciate it very much marco;)

i need it for my power mac older maschine marco:)

marco005
2013-04-22, 14:03
hi i hope u have the program of mavis beacon 2.0 i tried looking for it to doqwnload online but had no sucess i hope u can send it to me as sit format greeding marco:)