Search found 205 matches

by rickyzhang
Fri Oct 13, 2017 3:05 pm
Forum: Basilisk II
Topic: Update on 24 bit ROM and System 6
Replies: 2
Views: 3962

Update on 24 bit ROM and System 6

After merging several PR from others and me in upstream BII repo, you can accomplish the following for 24 bit ROM in System 6: 1. Enable emulated hard drive. 2. Enable SDL video Now you can actually run BII like Mini vMac. I haven't figured out sound driver yet. So there is still no sound through SD...
by rickyzhang
Wed Oct 11, 2017 11:17 am
Forum: Basilisk II
Topic: Game stops responding
Replies: 11
Views: 9344

Re: Game stops responding

OK. Let's be realistic. Unless you enable debug mode in BII called cxmon by yourself, nobody will be able to/ willing to solve the crash for you.
by rickyzhang
Mon Oct 09, 2017 2:49 pm
Forum: Basilisk II
Topic: Basilisk II on MacOS 9.2.2?
Replies: 6
Views: 6228

Re: Basilisk II on MacOS 9.2.2?

You can pull BII source code from https://github.com/cebix/macemu and build it by yourself. GNU autotool build still works in PPC 10.4 Mac, 10.13 High Sierra and also Linux.

24bit ROM and System 6 didn't quite work until several recent patches. ROM patching is a really daunting task.
by rickyzhang
Sun Oct 08, 2017 12:30 pm
Forum: Basilisk II
Topic: Basilisk II on MacOS 9.2.2?
Replies: 6
Views: 6228

Re: Basilisk II on MacOS 9.2.2?

Macintosh with 24bit ROM in theory can access up to 16MB address space. But in reality, it has to leave some reserved memory address maps to frame buffer, I/O and ROM. To access more RAM, you may need additional software with patch. See the info I found: http://lowendmac.com/2015/32-bit-addressing-o...
by rickyzhang
Tue Sep 26, 2017 12:27 am
Forum: Basilisk II
Topic: Fun with 24 bit dirty ROM and System 6
Replies: 3
Views: 4266

Re: Fun with 24 bit dirty ROM and System 6

No, it is not related to SDL2. I'm asking for a Macintosh video driver documentation that got lost in web archive. Computer graphic is really not my expertise. It took me quite some time to fix SDL v1 for one bit per pixel. I'd stop from there. The experimental branch below include patch from emulat...
by rickyzhang
Sun Sep 24, 2017 10:34 am
Forum: Basilisk II
Topic: Fun with 24 bit dirty ROM and System 6
Replies: 3
Views: 4266

Re: Fun with 24 bit dirty ROM and System 6

To replicate my claim, try the pref file and ROM below Pref file: displaycolordepth 0 screen win/512/384 disk /Users/Ricky/repo/68k.Mac/BasilikII/DiskImage/MacImage.6.0.8.dsk seriala serialb udptunnel false udpport 6066 rom /Users/Ricky/repo/68k.Mac/BasilikII/ROM/MacSE.ROM bootdrive 0 bootdriver 0 r...
by rickyzhang
Sat Sep 23, 2017 11:53 am
Forum: Basilisk II
Topic: Fun with 24 bit dirty ROM and System 6
Replies: 3
Views: 4266

Fun with 24 bit dirty ROM and System 6

Recently, Simon sent a PR to patch 24bit ROM frame buffer. I poked around Mac SE ROM and fixed emulated hard drive in ROM patch. If you want to run System 6 using 24bit ROM like mini vMac in BII, give a try on my branch: https://github.com/rickyzhang82/macemu/tree/pr-fix-emulated-hard-drive-in-mac-s...
by rickyzhang
Tue Sep 05, 2017 2:14 am
Forum: Basilisk II
Topic: Ethernet support with OSx 10.12.6
Replies: 13
Views: 8479

Re: Ethernet support with OSx 10.12.6

http://www.xs4all.nl/~ronaldpr/basiliskiiforum/BasiliskII_Intel_20140301.zip Shall I use a different version? It seems like compiling a new version from git wouldn't work with recent versions of OS X. Would be great, if you could shed some light on the right path. J If you use BII binary here, you ...
by rickyzhang
Tue Sep 05, 2017 1:50 am
Forum: Basilisk II
Topic: Basilisk II FLTK GUI
Replies: 3
Views: 4570

Re: Basilisk II FLTK GUI

Nice stuffs. Are you going to send a PR to upstream once it is ready?
by rickyzhang
Mon Sep 04, 2017 8:16 pm
Forum: Basilisk II
Topic: Ethernet support with OSx 10.12.6
Replies: 13
Views: 8479

Re: Ethernet support with OSx 10.12.6

Thanks for your quick reply, Ricky! Is there a possibility to run BII just in the 32bit mode with Ethernet support? I tried the tuntap solution w/o success as lined out in: http://www.emaculation.com/forum/viewtopic.php?f=6&t=8067 It seems like more recent versions of OSx don't support the netw...
by rickyzhang
Mon Sep 04, 2017 5:16 pm
Forum: Basilisk II
Topic: Ethernet support with OSx 10.12.6
Replies: 13
Views: 8479

Re: Ethernet support with OSx 10.12.6

If you have time and knows programming, you can fix slirp and make it 64 bit clean. I believe slirp can runs in all Mac OS X, Windows and Linux. Someone sent a pull request to fix it before but it didn't get merge in the end.
by rickyzhang
Sun Sep 03, 2017 5:50 pm
Forum: Basilisk II
Topic: Crash at startup
Replies: 1
Views: 2865

Re: Crash at startup

To disable to extension, you can run another clean Macintosh guest OS and mount the crashed disk image. Remove the extension files in clean Macintosh guest OS.
by rickyzhang
Sun Sep 03, 2017 10:46 am
Forum: Basilisk II
Topic: Success!
Replies: 3
Views: 3691

Re: Success!

What killer apps you desperately needs to port? For now, I don't have motivation to touch SheepShaver because I still can run PPC apps under my PowerBook G4. I tried SheepShaver once I can't even boot into OS without segfault. https://github.com/cebix/macemu/issues/117 Both my iBook and PowerBook st...
by rickyzhang
Fri Sep 01, 2017 1:01 pm
Forum: Basilisk II
Topic: Success!
Replies: 3
Views: 3691

Re: Success!

Well, I can still build BII from github upstream repository under 10.4 PPC. How about that :lol:
by rickyzhang
Sat Aug 26, 2017 12:07 am
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

To find a X11 key code, I can run an app called xev in Linux. However, it is not easy to find Mac key code. I need to do a massive Internet search. TBH, I don't know how ADB emulation works. The comment said that Power key is so special that it writes twice. Rest of key code just follow with 0xff. A...
by rickyzhang
Fri Aug 25, 2017 4:56 pm
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

I looked the issue deeper.

Somehow holding down CTRL key doesn't work in BII.

So I tried to look for power key. In fact, There is no power key in default keycode mapping file. I replace F12 keycode with 127 Mac Power key. Now I can use F12 + Command to trigger MacsBug.
by rickyzhang
Fri Aug 25, 2017 10:33 am
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

Resorcerer is not free app. I'm using MacsBug. But I have trouble to entering into MacsBug. Because it requires a PowerKey+Command to trigger debug trap. I have tried it on my iMac. It didn't work. BII adb.cpp source code did show it handles power key mapping: while (key_read_ptr != key_write_ptr) {...
by rickyzhang
Thu Aug 24, 2017 2:12 pm
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

Because code and data are mixed in the ROM, neither cxmon nor radare2 does a great job to disassemble the ROM correctly.

I'm curious if there is any heuristic disassembler out there without human specify code segment manually.
by rickyzhang
Tue Aug 22, 2017 9:03 pm
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

In fact, cxmon from macemu git repo can disassemble 68K as well.
by rickyzhang
Tue Aug 22, 2017 3:12 pm
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

Re: how to disassemble Macintosh ROM for BII

I found tool called radare2. M68k disassemble works for ROM.
by rickyzhang
Tue Aug 22, 2017 11:04 am
Forum: Basilisk II
Topic: how to disassemble Macintosh ROM for BII
Replies: 10
Views: 7843

how to disassemble Macintosh ROM for BII

I got stuck in reading ROM patch code in BII. I want to disassemble PERFORMA ROM it uses. So I wonder if there is any software can do that. I have tried: 1. use IDA to disassemble ROM file directly. But It didn't work. 2. use fdiasm from mini vMac to disassemble ROM file inside. But it didn't work.
by rickyzhang
Tue Aug 22, 2017 2:45 am
Forum: Basilisk II
Topic: developer guide writing progress - finished memory address
Replies: 2
Views: 3417

Re: developer guide writing progress - finished memory addre

I know it is too much to ask. Since you deal with SDL, you may have a better understanding of how BII emulate video and how Macintosh guest OS write to framebuffer. You can write something down when you have time. I'm reading CPU instruction emulation now. I tried to start with emulated hardware. So...
by rickyzhang
Tue Aug 22, 2017 2:27 am
Forum: Basilisk II
Topic: Running on Fedora
Replies: 11
Views: 8420

Re: Running on Fedora

In real address mode, the guest OS memory map to the same address in the host: Caught SIGSEGV at address 0xfffffffc [IP=0x780b35f6] D0: 0000773f D1: 00000800 D2: dc000e05 D3: 205f4e75 D4: 00000000 D5: 00000000 D6: 00000000 D7: 00000000 A0: 02003378 A1: 02003760 A2: 0201c68a A3: fffffffc Address regi...
by rickyzhang
Mon Aug 21, 2017 9:22 pm
Forum: Basilisk II
Topic: Running on Fedora
Replies: 11
Views: 8420

Re: Running on Fedora

@codeforlife

To better help you trace the issue, I fixed mon option in PR https://github.com/cebix/macemu/pull/124

add

Code: Select all

--with-mon
option in your configure and see if you can dig deepr.
by rickyzhang
Mon Aug 21, 2017 7:58 pm
Forum: Basilisk II
Topic: Running on Fedora
Replies: 11
Views: 8420

Re: Running on Fedora

1. Address mode is your choice. Linux host can support all three as I have tested. 2. Real address mode is the easiest and fastest address mode. You need to RTFM and disable GCC optimization. 3. You don't list segfault under different modes nor you told me what you have done in guest OS. I can't hel...