Search found 193 matches

by rickyzhang
Wed Jul 29, 2020 6:35 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 1659

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: 1659

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 for...
by rickyzhang
Mon Jul 27, 2020 6:22 pm
Forum: Basilisk II
Topic: SDL2 scale up and scale down enhancement
Replies: 10
Views: 1659

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: 1888

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: 1888

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: 1888

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: 1888

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: 1888

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: 1888

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: 1888

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: 1888

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: 1052

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: 1052

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: 733

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: 1052

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: 1888

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: 1888

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: 733

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: 1888

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: 1659

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...
by rickyzhang
Tue Jun 30, 2020 4:15 pm
Forum: Basilisk II
Topic: My fork of Basilisk II
Replies: 19
Views: 8157

Re: My fork of Basilisk II

https://i.ibb.co/58LG59v/bii-performance.png I benchmark two addressing: direct and memory banks. As I expected, the memory banks is a little bit slower than direct. But in general, there are no noticeable issues at all to run any Apps in BII under direct or memory banks. But what makes the huge pe...
by rickyzhang
Tue Jun 30, 2020 10:25 am
Forum: Basilisk II
Topic: My fork of Basilisk II
Replies: 19
Views: 8157

Re: My fork of Basilisk II

Okay, it seems like the random hang on startup is caused by the SDL2 code. See https://github.com/cebix/macemu/issues/203 I proposed several solutions in the issue. I will go for the solution that use memory banks addressing. But I dont know the performance hit, compared to direct addressing. I dow...
by rickyzhang
Tue Jun 30, 2020 10:20 am
Forum: Basilisk II
Topic: This disk (CD-ROM) is unreadable by this Macintosh
Replies: 56
Views: 4492

Re: This disk (CD-ROM) is unreadable by this Macintosh

Ronald P. Regensburg wrote:I described a way to create a disk image from a HFS CD-ROM in Catalina in a separate new topic: https://www.emaculation.com/forum/viewt ... =1&t=10709
Great Jobs, Ron! I forgot there is dd command in macOS.
by rickyzhang
Mon Jun 29, 2020 1:12 pm
Forum: Basilisk II
Topic: My fork of Basilisk II
Replies: 19
Views: 8157

Re: My fork of Basilisk II

If you compile with addressing mode in memory banks in configure, it should workaround the hangs.

Code: Select all

--enable-addressing=banks
I'm working on the permanent fix now.
by rickyzhang
Mon Jun 29, 2020 4:04 am
Forum: Basilisk II
Topic: This disk (CD-ROM) is unreadable by this Macintosh
Replies: 56
Views: 4492

Re: This disk (CD-ROM) is unreadable by this Macintosh

I think you are good. I used to RIP CD/DVD by Toast Titanium. However, after the recent 32 bit binary ban in Mac OS X, I can not use Toast Titanium any more. If you have Linux, you could try dd command to rip the CD into ISO. A command below should work: dd if=/dev/[your cdrom device in Linux] of=my...