Search found 198 matches

by rickyzhang
Thu Mar 25, 2021 12:54 pm
Forum: Basilisk II
Topic: System 6
Replies: 5
Views: 419

Re: System 6

No man can serve two masters. I stick with cebix Github repo.

I confirmed cebix codebase works under SDL2 and SDL1.
by rickyzhang
Mon Nov 30, 2020 3:39 pm
Forum: Basilisk II
Topic: Build Basilisk from source on Raspberry Pi
Replies: 6
Views: 3045

Re: Build Basilisk from source on Raspberry Pi

Check out travis file here https://github.com/cebix/macemu/blob/master/.travis.yml

It shows dependency and build instruction for both Linux and MacOS X.
by rickyzhang
Fri Nov 20, 2020 8:42 pm
Forum: Basilisk II
Topic: Higher your monitor's resolution, tinier Basillisk's screen.
Replies: 23
Views: 3921

Re: Higher your monitor's resolution, tinier Basillisk's screen.

For hi-res physical monitor, I have a better solution. You set a fixed virtual screen resolution in a window from your BII configuration file and then adjust the size of the window at runtime. Scaling the windows maintains the ratio of the virtual screen resolution. But you ends up viewing under a l...
by rickyzhang
Fri Nov 20, 2020 8:25 pm
Forum: Basilisk II
Topic: System 6
Replies: 5
Views: 419

Re: System 6

I shared my configuration. It works for System 6.0.8 with Mac SE ROM (md5sum : 9fb38bdcc0d53d9d380897ee53dc1322) I bumped up the screen size to 1280x500. You can set an arbitrary one assuming you pull the source code from cebix Github. .basilisk_ii_prefs.system.6.0.8 displaycolordepth 1 disk /home/R...
by rickyzhang
Mon Nov 16, 2020 10:53 pm
Forum: Basilisk II
Topic: System 6
Replies: 5
Views: 419

Re: System 6

I recently improved BII virtual screen by stealing ROM hack from mini vMac. You could have a bigger virtual real estate in System 6.

But the sound has not patched yet.

See demo: https://youtu.be/aXzM8t_u3zI
by rickyzhang
Wed Jul 29, 2020 6:35 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 2115

Re: SDL2 scale up and scale down enhancement

Use cebix upstream, instead. I fixed the hang.
by rickyzhang
Tue Jul 28, 2020 2:01 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 2115

Re: SDL2 scale up and scale down enhancement

For 32 Bit ROM and System 7.x, an arbitrary guest OS resolution was possible long ago. This month, I ported arbitrary guest OS resolution ROM patch form mini vMac for 24Bit Mac SE ROM under System 6. See screen cast: https://www.youtube.com/watch?v=aXzM8t_u3zI&feature=emb_logo JIT is an overkill...
by rickyzhang
Mon Jul 27, 2020 6:22 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 2115

Re: SDL2 scale up and scale down enhancement

Sure. But please build with autoconf in Mac OS X. XCode changed too often. I don't have energy to patch it by clicking by mouse.

See https://github.com/cebix/macemu/wiki/Ba ... l-mac-os-x
or check the Travis CI YAML file for build instruction.
by rickyzhang
Fri Jul 17, 2020 1:12 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

My goal is not that ambitious. I want to print2bitmap and print2text.

I'm looking for a sample printer driver source code. I got inside macintosh volume ready. It should be a fun project.
by rickyzhang
Thu Jul 16, 2020 10:30 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

Sweet. :cool:

The more I talk to you, the more I find the gems I missed.
by rickyzhang
Thu Jul 16, 2020 12:16 am
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

A PR was sent. Now SDL1, SDL2 and XWindows can set arbitrary resolution in System 6 guest OS. See my screen cast demo: https://youtu.be/aXzM8t_u3zI I want to emulate the printer in Basilisk II. I need learn to write a printer driver in guest OS and output the bitmap format to the host. This will mak...
by rickyzhang
Mon Jul 13, 2020 11:06 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

Ah; I think you misunderstood me. Mini vMac does the guest screen draw outside regular emulation memory, which means while the default size is 512x342, you can set the resolution to anything you want it to be, as long as Mini vMac has enough memory available. I have a bunch of mine set to 1280x720 ...
by rickyzhang
Sun Jul 12, 2020 6:08 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

I was wrong. The source code indeed includes MacSE emulator.

The building process is pretty smooth.
by rickyzhang
Sun Jul 12, 2020 4:47 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

Mini vmac build system is quite unique. It is not autoconf or cmake.

The source code doesn’t include MacSE.
by rickyzhang
Sat Jul 11, 2020 10:09 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

I gave a try with different configuration like Mac SE and higher resolution. But it asked for donation, otherwise you can a demo. I passed... It is not that I don't respect his intellectual work. But I personally don't like the configuration in mini VMAC way's. If you have 32bit ROM and 24bit ROM pl...
by rickyzhang
Sat Jul 11, 2020 11:57 am
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

I realized that's a compile flag rather than command options. This is new to me.
by rickyzhang
Wed Jul 08, 2020 12:07 pm
Forum: Basilisk II
Topic: Use homebrew to build BII
Replies: 6
Views: 1311

Re: Use homebrew to build BII

I added gtk+3 like gedit in homebrew https://github.com/cebix/macemu/compare/master...rickyzhang82:pr-travis-ci-enable-gtk-for-mac-os But it didn't find the gtk in Travis. https://travis-ci.org/github/rickyzhang82/macemu/jobs/706118825#L232 Do you install homebrew in your Mac? Could you build BII wi...
by rickyzhang
Wed Jul 08, 2020 11:00 am
Forum: Basilisk II
Topic: Use homebrew to build BII
Replies: 6
Views: 1311

Re: Use homebrew to build BII

Thanks for your advice. Homebrew is quit different from Macports. It is built instruction is in form of JSON. I checked each of Wireshark's dependencies. None of them relates to X11 or gtk. Surprise. Surprise. Surprise. See below: https://formulae.brew.sh/api/formula/wireshark.json The Gnome App ged...
by rickyzhang
Tue Jul 07, 2020 10:12 pm
Forum: Basilisk II
Topic: 68000 CPU simulator
Replies: 3
Views: 925

Re: 68000 CPU simulator

I found Easy68k as an assembler and a simulator. But it is painful to type the assembly from ROM file and replicate the data in the code.

What version of MacBugs I should use for System 6?
by rickyzhang
Tue Jul 07, 2020 10:09 pm
Forum: Basilisk II
Topic: Use homebrew to build BII
Replies: 6
Views: 1311

Re: Use homebrew to build BII

I tried. But I can't find gtk2-devel from homebrew. I incorporated Mac OS X in the Travis CI. But I haven't added GUI UI in the CI due to the missing dependency. I only added SDL2 from homebrew. If your Mac OS X uses homebrew, please let me know how you add X11 and gtk libraries from homebrew. See b...
by rickyzhang
Tue Jul 07, 2020 10:05 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

That would be a hidden feature in mini VMac that I don't know.

I hit ctrl-h + m. I got 2x zoom on the guest OS. Can you explain what you do in mini VMAC?
by rickyzhang
Tue Jul 07, 2020 11:49 am
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Re: Patch SDL2 in upstream to support System6

512x342 is the guest OS resolution. Scaling up means for how the guest screen presents in the host OS. Mini vmac is also 512x342 in guest os. But it can scale up 2x in the host. My patch can scale up at any fractional factor by SDL2. I am working on patching Macintosh SE 24 Bit ROM, where the memory...
by rickyzhang
Mon Jul 06, 2020 9:15 pm
Forum: Basilisk II
Topic: 68000 CPU simulator
Replies: 3
Views: 925

68000 CPU simulator

I'm enhancing Basilisk II to run System 6. One task I struggled with is to read Macintosh SE 24 bit ROM to figure out how to override the compressed dispatch table directly before it get expanded by the ROM. I found the logic that expands the compressed dispatch table. But my progress is SLOW. I won...
by rickyzhang
Sat Jul 04, 2020 6:51 pm
Forum: Basilisk II
Topic: Patch SDL2 in upstream to support System6
Replies: 18
Views: 2354

Patch SDL2 in upstream to support System6

24 bit ROM in System 6 only supports small tiny windows 512x342.

I patched SDL2 to support System 6. Now you can scale up the guest OS by SDL2 acceleration. A PR was sent to upstream.

Please check out my screen case here: https://youtu.be/br5Hjt9F6X4
by rickyzhang
Thu Jul 02, 2020 10:41 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 2115

SDL2 scale up and scale down enhancement

Thanks to SDL2 features from David. I enhanced the scale up features in window mode. The user can change the scale factor at will by resizing the window. When user restore the window from minimize or maximize, it restores the scale ratio to 1. I can tell the SDL2 employs the hardware acceleration in...