![]() |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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. ;) |
Re: Run Mac Software on Your NIT with Basilisk II
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 |
Re: Run Mac Software on Your NIT with Basilisk II
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! |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
Anyway, ITOS seems to be missing a few include files for DGA, unfortunately, in that regard, I shall see what I can do again. Code:
checking for XF86DGAQueryExtension in -lXxf86dga... no |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
Could be, I don't think they had much copy protection :\ |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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. |
Re: Run Mac Software on Your NIT with Basilisk II
Alright.
http://gm.stackunderflow.com/maemo/b...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/b..._binary.tar.gz Here is the source code (compiled including object files, and binary): http://gm.stackunderflow.com/maemo/b...emo_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... |
Re: Run Mac Software on Your NIT with Basilisk II
This looks interesting , Thanks!
I will definitely try it. |
Re: Run Mac Software on Your NIT with Basilisk II
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/b...ary_0.2.tar.gz Sources: http://gm.stackunderflow.com/maemo/b...emo_0.2.tar.gz |
Re: Run Mac Software on Your NIT with Basilisk II
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. |
Re: Run Mac Software on Your NIT with Basilisk II
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) |
Re: Run Mac Software on Your NIT with Basilisk II
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 |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
|
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
|
Re: Run Mac Software on Your NIT with Basilisk II
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.
|
Re: Run Mac Software on Your NIT with Basilisk II
Emulation cross-contamination. :D
|
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
The JIT is written for x86 only. Unless someone rewrites the JIT for ARM, that won't be possible. |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
As for a GUI icon, take a look at other .desktop files that launch things, and add the appropriate lines. |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
|
Re: Run Mac Software on Your NIT with Basilisk II
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/softwar...ductivity.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/ |
Re: Run Mac Software on Your NIT with Basilisk II
Some more free apps:
The DiskTools Collection (look at the bottom of the page) http://www.rainmakerinc.com/download...downloads.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 |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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 |
Re: Run Mac Software on Your NIT with Basilisk II
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/b...ary_0.3.tar.gz Sources (now slightly smaller after removing a bit of code for other platforms) http://gm.stackunderflow.com/maemo/b...emo_0.3.tar.gz |
Re: Run Mac Software on Your NIT with Basilisk II
Hi,
I don't know what is happening but I'm getting the following message: Code:
Basilisk II V0.9 by Christian Bauer et al. Regards, Taguapire. BTW: I'm using the same rom file with BasiliskII on my Mac. |
Re: Run Mac Software on Your NIT with Basilisk II
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: Code:
dd if=/dev/zero of=b2_2.img bs=40M count=1 |
Re: Run Mac Software on Your NIT with Basilisk II
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? |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
Supply a keycodes file and point to it with keycodes <keycodefile>, and see what happens. |
Re: Run Mac Software on Your NIT with Basilisk II
1 Attachment(s)
Quote:
-John |
Re: Run Mac Software on Your NIT with Basilisk II
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. |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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 |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
|
Re: Run Mac Software on Your NIT with Basilisk II
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 |
Re: Run Mac Software on Your NIT with Basilisk II
Hate to say it ... Microsoft Office 98 requires a PowerMac. :(
I have Office 98 too ... it can run on the 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/creatin...sing_a_hdf.htm |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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? |
Re: Run Mac Software on Your NIT with Basilisk II
This is what happens when I try to start netscape navigator 3.0
Code:
Nokia-N800-50-2:/media/mmc2/documents/installers/basiliskii_binary$ BasiliskII |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
|
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
I'll have a look round and see what I can get to happen. |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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? |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
-John |
Re: Run Mac Software on Your NIT with Basilisk II
Quote:
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: Code:
'040 |
All times are GMT. The time now is 06:18. |
vBulletin® Version 3.8.8