Cannot get Mini vMac to run on rPi

About Mini vMac and all other 68k emulators, including SoftMac, Executor, and MESS.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
ser3234
Space Cadet
Posts: 3
Joined: Thu Dec 14, 2023 9:41 pm

Cannot get Mini vMac to run on rPi

Post by ser3234 »

Hello

I've spent days getting nowhere, hence this post. Apologies in advance if it's a silly little mistake on my part.

Some years back I was successful in getting Mini vMac running on a Raspberry Pi 3, and this week I wanted to repeat the feat.

Not remembering what I did back then, I've taken care to follow various instructions religiously but when I get to the stage when I can run the Mini_vMac_ARM, it does nothing but a momentary flicker when I click Execute.

(In desperation, I tried religiously following the instructions to install Basilisk II, but had the same result)

My OS is a brand-new installation of Raspbian Bookworm (64-bit), downloaded this week, so wondered if it was an issue with permissions on executable files? Other than that, I'm completely lost (am just a dabbling hobbyist)

If anyone can suggest anything to try, I'd be grateful for your suggestions.
User avatar
adespoton
Forum All-Star
Posts: 4631
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: Cannot get Mini vMac to run on rPi

Post by adespoton »

ser3234 wrote: Fri Dec 15, 2023 7:14 pm Hello

I've spent days getting nowhere, hence this post. Apologies in advance if it's a silly little mistake on my part.

Some years back I was successful in getting Mini vMac running on a Raspberry Pi 3, and this week I wanted to repeat the feat.

Not remembering what I did back then, I've taken care to follow various instructions religiously but when I get to the stage when I can run the Mini_vMac_ARM, it does nothing but a momentary flicker when I click Execute.

(In desperation, I tried religiously following the instructions to install Basilisk II, but had the same result)

My OS is a brand-new installation of Raspbian Bookworm (64-bit), downloaded this week, so wondered if it was an issue with permissions on executable files? Other than that, I'm completely lost (am just a dabbling hobbyist)

If anyone can suggest anything to try, I'd be grateful for your suggestions.
Do you have SDL2 and GTK set up and configured correctly? Does anything show in the system log or command line output? Do you have the ROM correctly named and placed?
ser3234
Space Cadet
Posts: 3
Joined: Thu Dec 14, 2023 9:41 pm

Re: Cannot get Mini vMac to run on rPi

Post by ser3234 »

adespoton wrote: Fri Dec 15, 2023 8:28 pm Do you have SDL2 and GTK set up and configured correctly? Does anything show in the system log or command line output? Do you have the ROM correctly named and placed?
Hi - thanks for responding.
Unfortunately I don't know what the acronyms stand for, nor know how to find the logs or outputs.

I was following the guide on Instructables (https://www.instructables.com/Making-a- ... spberry-3/) - which have worked before for me but not now.
User avatar
Ronald P. Regensburg
Expert User
Posts: 8057
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Cannot get Mini vMac to run on rPi

Post by Ronald P. Regensburg »

Instructions for setting up Mini vMac: https://www.gryphel.com/c/minivmac/start.html

Instructions for setting up BasiliskII: https://www.emaculation.com/doku.php/sh ... skii_linux
Megamemnon
Space Cadet
Posts: 2
Joined: Sat Dec 30, 2023 8:41 pm

Re: Cannot get Mini vMac to run on rPi

Post by Megamemnon »

I'm in the same situation. I think minivmac only support 32-bit ARM (armh). I can compile and run it fine if I run 32-bit buster, but I want to run 64 bit bookworm.

I installed support for armh via "dpkg --add-architecture armhf", recompiled minivmac, but now I get a segmentation fault.

so I'm still investigating and thought I'd drop a comment here. The mini vmac setup linked in the previous doesn't address this, unless I subconsciously blanked out a portion of that page.
Megamemnon
Space Cadet
Posts: 2
Joined: Sat Dec 30, 2023 8:41 pm

Re: Cannot get Mini vMac to run on rPi

Post by Megamemnon »

I gave up and went back to 32 bit buster.
ser3234
Space Cadet
Posts: 3
Joined: Thu Dec 14, 2023 9:41 pm

Re: Cannot get Mini vMac to run on rPi

Post by ser3234 »

Megamemnon wrote: Mon Jan 01, 2024 5:21 pm I gave up and went back to 32 bit buster.
I think you were right about the instructions not covering 64-bit OS.

Did you succeed with a 32-bit OS?
User avatar
adespoton
Forum All-Star
Posts: 4631
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: Cannot get Mini vMac to run on rPi

Post by adespoton »

ser3234 wrote: Wed Jan 03, 2024 9:30 am
Megamemnon wrote: Mon Jan 01, 2024 5:21 pm I gave up and went back to 32 bit buster.
I think you were right about the instructions not covering 64-bit OS.

Did you succeed with a 32-bit OS?
That's odd; the latest version of Mini vMac beta (not the release version) works with 64-bit AARCH64 for me, so I'd assume it should work with RPi 4+ as well. Are you compiling Mini vMac 36 or Mini vMac 37 (which introduced 64-bit ARM)?
bitsplusatoms
Space Cadet
Posts: 2
Joined: Tue Jan 23, 2024 4:54 am

Re: Cannot get Mini vMac to run on rPi

Post by bitsplusatoms »

Has anyone had luck with an RPi 4 running 64-bit bookworm? I'm having the same problem as the OP.

I guess the next step would be to recompile on the Pi.
User avatar
adespoton
Forum All-Star
Posts: 4631
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: Cannot get Mini vMac to run on rPi

Post by adespoton »

bitsplusatoms wrote: Tue Jan 23, 2024 4:56 am Has anyone had luck with an RPi 4 running 64-bit bookworm? I'm having the same problem as the OP.

I guess the next step would be to recompile on the Pi.
Again... which source are you compiling? 36 or 37?
otosan-maker
Space Cadet
Posts: 1
Joined: Mon Jul 01, 2024 4:05 pm

Re: Cannot get Mini vMac to run on rPi

Post by otosan-maker »

adespoton wrote: Mon Jan 08, 2024 8:28 pm
That's odd; the latest version of Mini vMac beta (not the release version) works with 64-bit AARCH64 for me, so I'd assume it should work with RPi 4+ as well. Are you compiling Mini vMac 36 or Mini vMac 37 (which introduced 64-bit ARM)?
I have the same problem, I am trying to compile version 37, in a Raspberry Pi 5 with 8 GB of RAM (that is why I try to use a 64-bit OS)
Which architecture do I have to choose? I use -t larm (linux for arm) and I cannot find the flag to 64-bit AARCH64.
User avatar
adespoton
Forum All-Star
Posts: 4631
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com

Re: Cannot get Mini vMac to run on rPi

Post by adespoton »

otosan-maker wrote: Mon Jul 01, 2024 4:11 pm
adespoton wrote: Mon Jan 08, 2024 8:28 pm
That's odd; the latest version of Mini vMac beta (not the release version) works with 64-bit AARCH64 for me, so I'd assume it should work with RPi 4+ as well. Are you compiling Mini vMac 36 or Mini vMac 37 (which introduced 64-bit ARM)?
I have the same problem, I am trying to compile version 37, in a Raspberry Pi 5 with 8 GB of RAM (that is why I try to use a 64-bit OS)
Which architecture do I have to choose? I use -t larm (linux for arm) and I cannot find the flag to 64-bit AARCH64.
Hmm... good point -- the flag may not exist; -t mcar exists, but that's not going to have appropriate Linux headers. I think to make it work, you'd have to generate both -t larm and -t mcar, and then examine both to see how they could be combined to provide an appropriate configuration.
nateth
Space Cadet
Posts: 1
Joined: Sun Sep 22, 2024 3:51 am

Re: Cannot get Mini vMac to run on rPi

Post by nateth »

I was able to build it with a few modifications. I haven't done any long-term testing, but it's at least booting for me.
The key was using '-t larm' and adding '-cpu a64' to override the CPU type.
I have a fork here: https://github.com/NSHenry/minivmac/tree/raspi64
Post Reply