Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basilisk II issues on FreeBSD 11.1-Stable #176

Open
FreeBSD-pzn opened this issue Aug 30, 2018 · 6 comments
Open

Basilisk II issues on FreeBSD 11.1-Stable #176

FreeBSD-pzn opened this issue Aug 30, 2018 · 6 comments

Comments

@FreeBSD-pzn
Copy link

Hello Christian and folks.
Thank you very much Christian.
The BasiliskII is incredible project.

I have read issue #52 (comment)
and I have added to the file ./src/Unix/config.h the string
#define HAVE_SIGINFO_T 1

Then I have compiled BasiliskII on FreeBSD 11.1-STABLE #0 r333574.
BasiliskII is working, but I have got issues:

  • network is not working;
  • when I have launched Calculator I have got very strange things,
    for example: if I pressed any key from =, -, +, * or / I have
    got .02147483648 on the display.

Also I have got next messages:

Basilisk II V1.0 by Christian Bauer et al.
Reading ROM file...
Error sending CAMIOCOMMAND ioctl
Using /dev/dsp audio output
WARNING: RmvTime(000eb796): Descriptor not found
WARNING: RmvTime(0014c47a): Descriptor not found

And when I am trying to configure network either AppleTalk or TCP/IP
I get messages:

Illegal instruction: 0008 at 00000064
Your Mac program just did something terribly stupid

and BasiliskII crush (segmentation fault) with a core file.

For the network I am using a tap device and create it with a script:
echo "Creating tap0 ..."
ifconfig tap0 create
sleep 3
echo "Creating bridge0 ..."
ifconfig bridge0 create
sleep 3
echo "Configuring bridge0 ..."
ifconfig bridge0 addm lagg0 addm tap0
sleep 3
echo "Upping tap0 and bridge0 ..."
ifconfig tap0 up
ifconfig bridge0 up
sleep 2
echo "Setting USER open ..."
sysctl net.link.tap.user_open=1
echo "Setting USER tap device UP on open ..."
sysctl net.link.tap.up_on_open=1
chmod a+wr /dev/tap0

I need a help and an advices to solve issues.
p.s. Sorry if I made a mistake in the text.

@ianfixes
Copy link

ianfixes commented Mar 1, 2019

How did you build on BSD? Could you set up a config file for https://cirrus-ci.org/ ?

@FreeBSD-pzn
Copy link
Author

Thank you for answer me.
I have build Basilisk II like those:
1 cd scr/Unix
2 .configure
3 added to the file ./src/Unix/config.h the string #define HAVE_SIGINFO_T 1
4 gmake

I got executable file BasiliskII.

About program Calculator:
I have found an issue. On a FreeBSD emulation FPU device is not a good. When I run MacOS without FPU emulation calculator is working OK.

Oleg

@ianfixes
Copy link

ianfixes commented Mar 3, 2019

OK. I am working on a fork of this project at https://github.com/emaculation/BasiliskII and running tests on BSD is on my roadmap. I will use your build instructions to set that up.

@FreeBSD-pzn
Copy link
Author

A very good news!
I will gladly help you. Also I guess that make a port on a FreeBSD is a good idea.
In my small laboratory also I have got Solaris 10, Darwin and OpenVMS 7.3. I can trying to compile Basilisk II on them.
Oleg

@ianfixes
Copy link

ianfixes commented Mar 5, 2019

Do you have a powerPC in your lab too? That may help with emaculation/SheepShaver#10 as I doubt we will find the missing zipfile.

@FreeBSD-pzn
Copy link
Author

FreeBSD-pzn commented Mar 6, 2019

Well, I am trying to find macmini G4 to add it into my laboratory.
I have got qemu-ppc on a FreeBSD, but it works not good.
https://forums.freebsd.org/threads/qemu-system-ppc-works-very-very-slowly-and-does-not-boot-macos.66937/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants