Search found 205 matches

by rickyzhang
Fri Jun 15, 2018 2:15 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

adespoton wrote:If 64-bit clean SLIrP is missing, what exactly is present as far as networking?
None in Mac OS X if you are in 64bit build.

But you can networking in Linux by using sheep_net
by rickyzhang
Fri Jun 15, 2018 2:14 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

kanjitalk755 wrote:64-bit clean slirp was imported by https://github.com/jvernet/macemu.
Well, hacker style commit history. Is he willing to send a PR for 64bit clean slirp?
by rickyzhang
Thu Jun 14, 2018 5:29 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

XCodebuild, SDL2 and even JIT doesn't really interest me. I'm happy with Makefile, SDL1 and fast enough CPU without JIT.

What really missing is 64bit clean Slipr in Mac OS X. Why nobody cares?
by rickyzhang
Wed Jun 13, 2018 8:51 am
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

@emendelson, my build didn't link dependency library file as static library. That will require me some serious hacking. @kencu, you got a rocket speed tech support! You must love macport to contribute this detailed steps. I myself like macports as well. One simple reason is that macport deploy it in...
by rickyzhang
Tue Jun 12, 2018 10:30 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

If you get SDL and GTK from macport, you can follow the build instruction in https://github.com/cebix/macemu/wiki/Basilisk-II-Compilation-Guide : ... g++ -o BasiliskII obj/main.o obj/prefs.o obj/prefs_items.o obj/sys_unix.o obj/rom_patches.o obj/slot_rom.o obj/rsrc_patches.o obj/emul_op.o obj/macos_...
by rickyzhang
Tue Jun 12, 2018 10:13 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

A ticket is filed :https://trac.macports.org/ticket/56656#ticket

I believe Kencu the maintainer of macport will come up a solution very quick.
by rickyzhang
Tue Jun 12, 2018 10:07 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

Well, you have keen eyes. I did an install myself. I have never done that before because I always build from source code in development. It is 32 bit: Ricky@imac:~/repo/github/CuraEngine$ sudo port contents basiliskii Port basiliskii contains: /Applications/MacPorts/BasiliskII/BasiliskII.app/Content...
by rickyzhang
Tue Jun 12, 2018 7:05 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

This is not a fork. But different packaging. It is a common practice in Linux that you get tons of distributor where all source from the same kernel or package. If you check macport build file of BII. Nothing special is done there. It just setup basic dependency like GTK and SDLV1. PS: I love macpor...
by rickyzhang
Tue Jun 12, 2018 12:29 pm
Forum: Basilisk II
Topic: My fork of Basilisk II
Replies: 21
Views: 15699

Re: My fork of Basilisk II

To accelerate quick draw, I think SDL 2 is an answer not the alternative emulator nor improve JIT.

The pixel from guest OS is written to frame buffer in host OS directly. It is host OS (thus SDL) determine how to plot in host OS screen. It doesn't seem to relate to JIT.
by rickyzhang
Tue Jun 12, 2018 12:25 pm
Forum: Basilisk II
Topic: 64-bit Version?
Replies: 23
Views: 18004

Re: 64-bit Version?

Since it looks like Mac OS X will soon be ending support for 32-bit apps, I was wondering if anyone has the expertise and kindness to make a 64-bit version of Basilisk II? Kencu makes BII into macport. You can build a 64 bit version in your Mac by yourself with a simple command like sudo port insta...
by rickyzhang
Mon Jun 11, 2018 10:42 am
Forum: Basilisk II
Topic: Installing System 8.x on BasiliskII?
Replies: 10
Views: 10418

Re: Installing System 8.x on BasiliskII?

Guys, have you had any luck to run Mac OS 8 in BII without crashing? I crashed a lot. Thus, I stayed in 7.5
by rickyzhang
Mon Jun 11, 2018 10:41 am
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

Sorry to miss your thread. It is hard for me to debug since I can't replicate your environment. If you are experienced in docker container or vagrant, how about we build BII in virtual env so that we have the same base line to start with? I suspect the problem might related to your OS or network set...
by rickyzhang
Mon Jun 11, 2018 10:34 am
Forum: Basilisk II
Topic: My fork of Basilisk II
Replies: 21
Views: 15699

Re: My fork of Basilisk II

Boy, I missed you thread completely! Great work! 1. remove all support code for other platforms for BasiliskII except macOS/SDL (already done) 2. convert BasiliskII build system to CMake, like Hatari and Previous are doing (already done) Why? You want to pissed off Power PC Mac and Linux folks? 3. B...
by rickyzhang
Thu Apr 26, 2018 6:59 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

Sniffing packet on the network interface doesn't required to enable promiscuous mode on network interface. They are two different things. The IP packet sent to/received from host OS network interface by sheep_net shares the same host OS NIC physical MAC address. The only difference is in IP address....
by rickyzhang
Fri Apr 20, 2018 1:42 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

wireshark should be a better default tools. Because it is free and comes with built version from stock rapsbian in ARM binary. I suspect that your host OS sent out ICMP that notified guest OS is not reachable, which disrupts you connection intermittently. In wireshark, you can also check its ARP pac...
by rickyzhang
Thu Apr 19, 2018 5:43 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

When I wrote https://github.com/cebix/macemu/tree/master/BasiliskII/src/Unix/Linux/NetDriver#how-to-use, I did find that host OS sent out a ICMP packet and notified the router that guest OS IP is not reachable due to firewall in host. That caused intermittent connection problem in guest OS. I'd reco...
by rickyzhang
Wed Apr 18, 2018 4:50 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

You clone my repo: https://github.com/rickyzhang82/macemu checkout branch build-script and rebase to master branch. You should see the build.sh script in https://github.com/rickyzhang82/macemu/blob/build-script/BasiliskII/src/Unix/build.sh My kernel and headers is up-to-date from raspbian. It is 4.1...
by rickyzhang
Wed Apr 18, 2018 3:51 am
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

I tested it on my new rpi 3b+. I don't need to make any code change out of the box to make sheep_net works in built-in wlan0. http://i65.tinypic.com/20z9zyg.jpg I ping from guest Mac running in raspberry pi 3 b+ host OS to router http://i68.tinypic.com/316p53c.jpg I ping from my laptop to guest Mac ...
by rickyzhang
Wed Apr 18, 2018 2:09 am
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

Read the doc I wrote: https://github.com/rickyzhang82/macemu/tree/master/BasiliskII/src/Unix/Linux/NetDriver#how-to-use It is possible that point 1 and 2 happens. I'd recommend you install wireshark in your pi and sniff the incoming DNS UDP packet. That's how I fix the sheep_net bug before. I got my...
by rickyzhang
Tue Apr 17, 2018 5:16 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

1. DHCP on your guest OS will NEVER work. Because from the outside, it only see your host physical MAC address and two different IP (if you manual specify IP correctly, one for your host OS and another for your emulated guest OS). Your router will NOT see the fake MAC address in your guest OS. 2. I ...
by rickyzhang
Mon Apr 16, 2018 6:29 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

That's great. Sheep_net did get loaded and unloaded by BasiliskII. It did receive and response to some weird IP address. What's your host OS IP address? In any case, it must be different from your emulated guest Mac OS IP (192.168.1.75). That's called IP alias where the same MAC address in your host...
by rickyzhang
Thu Apr 12, 2018 12:25 am
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

1. Yes. It should be your physical NIC. ifconfig can print them out. Use the dropdown menu and pick it up. 2. Set DEBUG macro to 1 in line https://github.com/cebix/macemu/blob/master/BasiliskII/src/Unix/Linux/NetDriver/sheep_net.c#L119 Use dmesg command to check the print out. 3. Yes, write your own...
by rickyzhang
Wed Apr 11, 2018 8:16 pm
Forum: Basilisk II
Topic: UAE vs Basilisk II CPU emulation code diff
Replies: 3
Views: 3624

Re: UAE vs Basilisk II CPU emulation code diff

What's the upside of switching CPU emulation module?
by rickyzhang
Wed Apr 11, 2018 8:14 pm
Forum: Basilisk II
Topic: Error compiling sheep_net.ko and it doesn't work.
Replies: 29
Views: 21693

Re: Error compiling sheep_net.ko and it doesn't work.

It is a warning. You module should have been built according to your screenshot.
See user guide : https://github.com/cebix/macemu/tree/ma ... /NetDriver
by rickyzhang
Sun Nov 19, 2017 4:08 am
Forum: Basilisk II
Topic: Command line BasiliskII "VM" manager for OS X/UNIX
Replies: 6
Views: 6473

Re: Command line BasiliskII "VM" manager for OS X/UNIX

That's a fancy bash script. TBH, I'd love to see a fancy UI as well. :eek: