![]() |
BasiliskII (mac emulator) port to OS2008
I saw that this had been done a while back to an old OS, but by the looks of it, it was never released. After an entire day of severe messing with the sources, configure script and makefile (the gp2x ones seem to be the only ones that build), I finally got it to fire up. The result: very cool.
http://gm.stackunderflow.com/pictures/maemob2_full.png Problems so far: Segfaults when you change the video colour depth (changes depth, redraws windows, then crashes). Starts up ignoring the screen size specified ... and most importantly, not hildonized. No way of entering text (a real keyboard may work, but I don't have one). But it's very cool to hold the world's smallest Mac screen in my hands :) |
Re: BasiliskII port to OS2008
Oh good, I can finally play Loderunner...
|
Re: BasiliskII port to OS2008
Now that is very interesting! Thank you.
Is it possible to run a version like OS 8.5 or 9.0? 8.5/8.6 seemed to be the cut off point for a lot of backwards compatibility of software I have. |
Re: BasiliskII port to OS2008
Quote:
|
Re: BasiliskII port to OS2008
SheepShaver will be able to run 9, as it emulates a PowerPC, however, it might be a little slow. I just have to figure out how to get this display out of 1 bit mode for now...
I think the sigsegv handler is broken. Edit: Yes, it's only implemented for PowerPC and i386. And it looks nasty... Edit: It's in the code here #ifdef (ARM) || (__ARM__)... Edit: This is a real mess... Edit: Alright, I'm starting again with a clean version of sigsegv.cpp tomorrow. Edit again: Now that I have it up on my laptop screen, not the n800's screen in vi in xterm, I think it's more readable :) Edit: the segfault handler is in... it catches the segfault but doesn't correctly deal with it yet. Edit: Wait, is that because ignoresegv is not set? Edit: Nope. The sigsegv handler is now working and tells me what went wrong but doesn't skip it... 0005fbc0: 6f04 0647 0010 48c7 206e BLE.B #$00000004 == 0005fbc6 (FALSE) Now if I knew what was actually at 0x00000004... probably quickdraw globals as this happens just after changing video colour depth (i can change res fine). |
Re: BasiliskII port to OS2008
http://gm.stackunderflow.com/pictures/b2_colour.png
There we go - I think the SIGSEGV handler finally works, as I was able to drop it into colour mode :) It's a little slow at doing large redraws... but damn cool. Can't wait for fullscreen... not sure if I can hack Mac OS to do 800x480, but 640x480 is definitely possible. A hardware keyboard is needed so far to enter keys though. No onscreen yet. When I get this thing a bit cleaner, I'll release a binary. Anyone want to beta test? ----------- Sound works, after compiling in esd support. But I don't know how to screenshot that... |
Re: BasiliskII port to OS2008
This is great... now I can finally try to finish Fool's Errand and get to the Grand Finale floppy. :D Give me a shout when you're ready for beta testing.
|
Re: BasiliskII port to OS2008
I'll apply some basic hildonization and then release a beta.
... that is when repository.maemo.org is up again so i can download the packages i need FFS... |
Re: BasiliskII port to OS2008
Very cool. I don't know what I'd use it for, anymore than I had a real use for bochs and win98 that I got running, but emulators are always cool!
|
Re: BasiliskII port to OS2008
|
All times are GMT. The time now is 21:22. |
vBulletin® Version 3.8.8