Basilisk II Android port - progress thread

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

tomaswoj
Space Cadet
Posts: 8
Joined: Fri Apr 08, 2011 6:24 am

Basilisk II Android port - progress thread

Post by tomaswoj »

The old thread is about fetching the latest source code, so it might not be the most appropriate to track progress of the port, thus created this one (hope this is OK).

I now managed to overcome the blitter issue (with fast and dirty hack), but for now it works only for 16M on Mac. More details (and new screenshots) on http://droidmac.blogspot.com
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Thanks for the update and the new screenshots. Please do post updates in this thread!
tomaswoj
Space Cadet
Posts: 8
Joined: Fri Apr 08, 2011 6:24 am

Post by tomaswoj »

I just wonder, as JIT cannot be enabled (not even compiled) on non-x86 machines (like Arm Androids), would it run faster if i roll back to non-JIT code version?

In other words do anyone know, what is an [estimated] speed difference between Basilisk non-JIT code (older versions, like 142) and Basilisk JIT-code (but with JIT disabled?).

Currently it runs a bit slow on the phone. Barely usable, if we wanted to do some serious works inside the MacOS.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

The Basilisk 142 build is a windows specific build. In my opinion it is the most versatile/feature rich version ever built.
It performs wonderfully and allows setting performance options in many areas (through process priorities). The benefits of the JIT are clear, but I don't think the pre JIT versions were faster then the JIT disabled version you now have. Perhaps someone else knows better?
The pre-JIT versions for Linux might also be more versatile compared to the JIT versions, as the develop focused more on performance and less on features when the JIT was introduced. You can see that the feature set of the current windows jit built is smaller than the old 142 version.

However, along with development of the JIT also other problems were solved, so the current code should provide the best quality to base your build on.

Do you also have plans to build a SheepShaver version?

Best,
Cat_7
IPalindromeI
Tinkerer
Posts: 83
Joined: Wed Feb 09, 2011 8:39 pm

Post by IPalindromeI »

The JIT versions have better performance all around, but the 142 build has great floating point performance, better than the latest JIT from CVS.
tomaswoj
Space Cadet
Posts: 8
Joined: Fri Apr 08, 2011 6:24 am

Post by tomaswoj »

Checkout http://droidmac.blogspot.com You can [finally] get a works in progress there for your android device :).

On my Defy it works quite fine, a bit slower than Mac IIfx, but still quite playable. On newer devices (1GHz+) it will probably fly :). I'm getting general result of 8.5 in Speedometer 3.06.

MODERATOR EDIT: I fixed the URL to your blog for you. It contained the dot (.) you ended the sentence with ;-)
User avatar
ClockWise
Site Admin
Posts: 4397
Joined: Mon May 20, 2002 4:37 am
Location: Uiwang

Post by ClockWise »

Thanks for sharing the news... and for your hard work!
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

I downloaded the android SDK with qemu based emulator and wanted to try your new emulator, but I gave up. The qemu android emulator is way to slow to allow that ;-(

Best,
Cat_7
macdro
Tinkerer
Posts: 65
Joined: Mon Jun 13, 2011 9:37 am

Post by macdro »

I found out that for work I'll soon be getting a Motorola Milestone, so I'll finally be able to try Android out!

Will be happy to test this port once I do.
tomaswoj
Space Cadet
Posts: 8
Joined: Fri Apr 08, 2011 6:24 am

Post by tomaswoj »

Sorry guys. Nothing personal to you, as this forum is simply great!, but I got so pissed that now DroidMac is dead :(. Details on the blog. Cheers.
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Hi,

I read something similar on OSNews.com. I can understand your emotion, but at the same time feel sorry for the now stopped development.

Best wishes,
Cat_7
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Basilisk II Android port - progress thread

Post by 24bit »

I know this thread is dead in the water for years...
But still, is there anything that could be done to revive the project?
I only recently got a Y300 Android 4.1.1 (in fact its my wife´s) and found that Tomek´s apk is running pretty smooth.
What I am missing is a usable config for my 480x800 IPS screen.
How can I enable a landscape screen? The setting is there, but DroidMac quits with an error if I select it.

I already have MiniVMacII, which is great too, but a BasiliskII port would be very useful.
DroidMac already has virtual screens for Mac which can be scrolled on the Android screen, this really does look promising.
Katakis
Student Driver
Posts: 16
Joined: Wed Oct 30, 2013 7:17 am

Re:

Post by Katakis »

Cat_7 wrote:Hi,

The Basilisk 142 build is a windows specific build. In my opinion it is the most versatile/feature rich version ever built.
It performs wonderfully and allows setting performance options in many areas (through process priorities).
No love for OS X :sad:
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Basilisk II Android port - progress thread

Post by Cat_7 »

Ah,

But you are wrong there: Basilisk build 142 was created in 2001 by one specific windows developer, who did a great job.
The original developer kept the versions of BB/SheepShaver mostly in sync for all supported hosts. After he left the scene in 2008?, most improvements have been targeted at OSX. Nowadays, I guess, most users of Basilisk/SheepShaver are OSX users.

Best,
Cat_7
Lubomyr
Student Driver
Posts: 13
Joined: Tue Dec 02, 2014 8:19 pm

Re: Basilisk II Android port - progress thread

Post by Lubomyr »

Basilisk II (android binary)
builded from current sources from git
based on pelya's libSDL - https://github.com/pelya/commandergenius

APK - https://dl.dropboxusercontent.com/u/477 ... 2.2014.apk

without GUI
.basilisk_ii_prefs file located in android/data/net.cebix.basilisk/files

android build scripts and patch
https://dl.dropboxusercontent.com/u/477 ... ff.tar.bz2
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Awesome!

Post by 24bit »

Many, many thanks to you, Lubomyr!
BII is finally working like a charm on the Huawei Y300-100, Android 4.1.1.

Image

Due to the nicely customized Huawei system, the app and files are running from the external SD.
I´ll soon try with my tablet.
You are the greatest!

Spread the word on 68kmla too, BII on Android will sure make the day for some!

Edit: Just got this on the Y300, not sure whether anything should be done.
The emulator works fine and with sound anyways.

Image
kikyoulinux
Tinkerer
Posts: 92
Joined: Sun Sep 28, 2014 11:53 am

Re: Basilisk II Android port - progress thread

Post by kikyoulinux »

I wonder why the DroidMac died.
I also find an app called Mini vMac II which available on Google Play but not a freeware. It is a port of Mini vMac emulating Macintosh II. As it on PC, the sound emu is laggy.
Lubomyr
Student Driver
Posts: 13
Joined: Tue Dec 02, 2014 8:19 pm

Re: Basilisk II Android port - progress thread

Post by Lubomyr »

updated 05.12.2014

added 24bpp support
it solved problem with games like settlers II

https://dl.dropboxusercontent.com/u/477 ... 2.2014.apk

If you update from older version then try 'reset settings' via button 'Change device configiuration' when run app (when SDL-logo displayed)

patch and scripts for developers
https://dl.dropboxusercontent.com/u/477 ... 2.2014.apk

TO DO for basilisk ii developers :
1) Please create normal cross-compiling for building Basilisk II (because some files must be builded for guest OS, all other for target os)
2) Please rename memory.h (from UAE CPU engine) to memory-uae.h in github. Because name memory.h - not allowed to use with android ndk.
3) Please implement ARM JIT from Aranym 1.0.2 or higher. Aranym uses same UAE CPU engine. ARM JIT from aranym works at 2-3 times faster, and will be more faster soon.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

E7316 issues

Post by 24bit »

So I could need some help with my Lifetab E7316. Android 4.2.2 :(

Basically I would like to keep all needed files on /mnt/external_sd/Basilisk.
There is plenty of room on the FAT32 device.

Unfortunately I cant´t seem to change the path to the place I want, the SDL config says it cant write to the file, though its there - I edited the file in that place after all.

Further the 02.12.2014 apk does not run from the default place where it was installed originally:
/storage/emulated/0/Android/data/net.cebix.basilisk/files
ROM and boot volume are there, of course - prefs edited accordingly.

For the records: DroidMac never worked with my E7316 either.
The SD mountpoints are a wicked mess in Android for sure!
Huawei did the job by mounting the external SD as sd0, as soon as its there.
Lubomyr
Student Driver
Posts: 13
Joined: Tue Dec 02, 2014 8:19 pm

Re: Basilisk II Android port - progress thread

Post by Lubomyr »

Try via SDL-settings (change device configuration) select - 'Data Installation location' and then you can select another storage or specify directory.
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Basilisk II Android port - progress thread

Post by adespoton »

Lubomyr wrote: 3) Please implement ARM JIT from Aranym 1.0.2 or higher. Aranym uses same UAE CPU engine. ARM JIT from aranym works at 2-3 times faster, and will be more faster soon.
While we're at it, it would probably make sense to mainline the Aranym JIT for other platforms too, or at least compare performance. The Aranym JIT has been in development while the BII JIT has languished, meaning it's probably significantly more stable and faster on x86 as well as ARM.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Basilisk II Android port - progress thread

Post by 24bit »

Thanks for caring, thats what I did, of course, when the "Change settings" is highlighted.
No dice neither with default location nor with the desired one.
Is there some kind of error log from the SDL?

Unrelated:
I fetched an old Android 4.0.4 device from a neighbour, where path was set to /mnt/extsd/Basilisk/files. The emulator starts, but can´t find a boot drive. (Blinking question mark)
No dice with that device either.

I´ll double check paths later, but I can´t believe I got it right at once on the Y300 and no luck with two tablets. I am using the same files, macrom and HD75.dsk, as you may have guessed.
Lubomyr
Student Driver
Posts: 13
Joined: Tue Dec 02, 2014 8:19 pm

Re: Basilisk II Android port - progress thread

Post by Lubomyr »

24bit wrote: Is there some kind of error log from the SDL?
You can see all SDL events via 'adb logcat'
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Basilisk II Android port - progress thread

Post by 24bit »

Another tablet, 10 inch, Android 4.4, which I had for evaluation, did the trick.
I had the files installed to default location, but the SDL engine would only hand over to BII after typing in the correct path manually.
No dice with external SD here either, though I could even use App2SD, supposing that the SD was "accepted" for apps/files in 4.4. -
had to send back the device, because of its mediocre screen.
Could it be the path requester is somewhat shaky?
Lubomyr
Student Driver
Posts: 13
Joined: Tue Dec 02, 2014 8:19 pm

Re: Basilisk II Android port - progress thread

Post by Lubomyr »

New version of BasiliskII include GUI
libSDL based gui used libGuichan

http://anddev.at.ua/load/emulators/basilisk_ii/2-1-0-24

gui screenshots
Image

Image

Image

Image
Post Reply