Reply
Thread Tools
Posts: 10 | Thanked: 1 time | Joined on Jan 2008 @ Treviso, Italia
#71
Originally Posted by t3h View Post
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"
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's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#72
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's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#73
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
 

The Following User Says Thank You to OSEmuTech For This Useful Post:
Posts: 156 | Thanked: 44 times | Joined on Dec 2007
#74
Originally Posted by micampe View Post
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?

Last edited by t3h; 2008-02-12 at 23:53.
 
Posts: 151 | Thanked: 14 times | Joined on Dec 2007
#75
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
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's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#76
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
 
Posts: 156 | Thanked: 44 times | Joined on Dec 2007
#77
Originally Posted by spirytsick View Post
This is what happens when I try to start netscape navigator 3.0

Code:
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's Avatar
Posts: 24 | Thanked: 0 times | Joined on Jul 2007 @ Lakeland, FL
#78
Originally Posted by t3h View Post
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
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's Avatar
Posts: 241 | Thanked: 74 times | Joined on Jul 2007
#79
Originally Posted by OSEmuTech View Post
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
OK then back to the archives under the stairs... bother.

-John
 
Posts: 156 | Thanked: 44 times | Joined on Dec 2007
#80
Originally Posted by smileyninja View Post
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:

Code:
'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.

Last edited by t3h; 2008-02-13 at 03:58.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:14.