BasiliskII on RetroPi - Raspberry Pi

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

Post Reply
clarus
Space Cadet
Posts: 3
Joined: Mon Mar 03, 2014 3:45 pm

BasiliskII on RetroPi - Raspberry Pi

Post by clarus »

Hi all,
As a long time MacUser I installed RetoPi on my Raspberry (Rev. B). Now I tried to add Basilisk II and followed the instruction:
http://pimac.tumblr.com/post/5051116987 ... tor-on-the.

When I type

Code: Select all

xinit  `which BasiliskII`

Basilisk will not start. The pi responds:

Code: Select all

pi@retropi ~ $ xinit 'which BasiliskII'

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/retropi:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
Current Operating System: Linux retropi 3.10.26+ #628 PREEMPT Fri Jan 10 17:18:51 GMT 2014 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708.boardrev=0xd bcm2708.serial=0xbd97b9b6 smsc95xx.macaddr=B8:27:EB:97:B9:B6 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
Build Date: 18 December 2013  05:20:52PM
xorg-server 2:1.12.4-6+deb7u2 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.29.3
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  3 15:13:41 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: Unable to run program "xterm": No such file or directory
Specify a program on the command line or make sure that /usr/bin
is in your path.

xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.
Has anyone an idea why Basilisk is not working and how I can fix it? The X Server seems to be the problem.

Thanks a lot!

Cheers,
Clarus
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BasiliskII on RetroPi - Raspberry Pi

Post by Cat_7 »

Hi

Please check this thread for running Basilisk on the Pi.
And once you have Basilisk running in X, you might be able to use the

xinit `which BasiliskII` command

Best,
Cat_7
clarus
Space Cadet
Posts: 3
Joined: Mon Mar 03, 2014 3:45 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by clarus »

Hi,

Thanks for your swift respond.

Which thread do you mean? I couldn't find it via search…

Thanks again.

Best,
Clarus

[Edit: I followed your hint on http://www.emaculation.com/forum/viewto ... f=6&t=8009.
I could use
#make install
as sudo only.]
fumihikoatom
Space Cadet
Posts: 3
Joined: Sat Jun 06, 2015 12:59 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by fumihikoatom »

hi please let me know which thread you meant.

I have the same problem above.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BasiliskII on RetroPi - Raspberry Pi

Post by Cat_7 »

fumihikoatom
Space Cadet
Posts: 3
Joined: Sat Jun 06, 2015 12:59 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by fumihikoatom »

Thanks a lot , Cat_7

I confirmed xnit runs.

I found I erroneously compiled many Basillisk in several dir.
I will delete them and build again.

Regards,
Fumihiko
clarus
Space Cadet
Posts: 3
Joined: Mon Mar 03, 2014 3:45 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by clarus »

Hi Fumihiko,

Have you been successful in running Basilisk II on a Raspberry?

If yes: Can you give a hint how you did it, please?

Many thanks!

Regards,
Clarus
JimF
Space Cadet
Posts: 7
Joined: Sat Nov 17, 2012 9:39 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by JimF »

For Clarus:
I was in the same position. I am a stumbling beginner with Basilisk (which I run on my modern Mac as well as on a Raspberry Pi B+ under Raspbian) and RetroPie (which I have only recently set upon a Pi 2) but here is my RetroPie experience in case it helps.

The Basilisk II emulator itself is included in RetroPie 3.

In emulators.cfg at /opt/retropie/configs/macintosh, I have the name of the bios rom set to mac.rom and name of the hd file set to mac.img. At same location, I would edit config file basiliskii.cfg to increase ramsize. I have 64 MB ie 67108864, I can’t remember if I changed anything else such as frameskip, currently set to 6.

The above-referenced files go in the appropriate Roms directory at /home/pi/RetroPie/roms/macintosh

mac.img: I have no idea why I needed to change this from disk.img as in the RetroPie setup instructions to get my existing hard disk image recognised but when I did it worked! This working HD is OS 7.5.5 based and is 1.05 GB in size, which is overkill. I have not yet got the OS 8 disk image to work which normally I use on my MacBook Pro Basilisk - when I try to start with it, duly renamed, it tells me it cannot be used to start up this machine. Perhaps with QUADRA.ROM but that might need more settings tweaked?

mac.rom: The renamed rom I THINK is PERFORMA.ROM as per the RetroPie Wiki.

In the /etc/emulationstation/es_systems.cfg file the "command" line is:
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ macintosh %ROM%</command>
I don't think I edited this!

This setup works fine for me and the entire RetropPie SD card appears as the “Unix” shared disk on the Mac desktop. Hope this helps, Jim
JimF
Space Cadet
Posts: 7
Joined: Sat Nov 17, 2012 9:39 pm

Re: BasiliskII on RetroPi - Raspberry Pi

Post by JimF »

Further to my post above, I can confirm that editing the basiliskii.cfg file a little allows me to use the quadra650.rom (renamed to mac.rom) and my Mac OS8.1 disk image (renamed).
I got this help from the Wiki on "Basilisk II preferences on OSX and Unix" edited by Giancarlo Mariot on GitHub, which is informative and helpful.
From there I learned that setting "modelid" to 14 allows you to run OS8.
Also, if you don't want the Unix drive/Shared Folder to point to your entire SD card, you could try changing the directory given for "extfs".
There are probably more of those settings worth looking at.
Post Reply