Search found 32 matches

by SolraBizna
Wed Mar 27, 2024 5:29 pm
Forum: QEMU
Topic: Qemu-system-m68k macOS to run Mac OS 7-8 /AUX3.x /NetBSD
Replies: 60
Views: 21165

Re: Qemu-system-m68k macOS to run Mac OS 7-8 /AUX3.x /NetBSD

Is A/UX compatible with Mac games? Let's say I want to run Prince of Persia, or Lemmings, etc.. under A/UX. Do you guys know if they should work? I have read that A/UX is compatible with Mac apps, but there isn't a single word about games on A/UX anywhere. Rule of thumb: If a game can run on System...
by SolraBizna
Mon Feb 05, 2024 9:32 pm
Forum: QEMU
Topic: Qemu m68k virtio drivers for MacOS 7.1-8.1
Replies: 3
Views: 4038

Re: Qemu m68k virtio drivers for MacOS 7.1-8.1

Specifically, the nubus-virtio-mmio device needs to be in the first slot. You have to use "-M q800,fb=none", create the nubus-virtio-mmio device, and then do something like "-device nubus-qfb,width=960,height=600,depth=16" afterward.
by SolraBizna
Mon Jan 01, 2024 7:00 pm
Forum: QEMU
Topic: A/UX userspace emulation on QEMU?
Replies: 5
Views: 8150

Re: A/UX userspace emulation on QEMU?

My setup is still working, through Ventura and now Sonoma. There may have been something I needed to change but I didn't write it down if so. :(

I don't remember "newconfig nfs" needing any adjustments.
by SolraBizna
Thu Oct 13, 2022 7:34 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Becatto wrote: Thu Oct 13, 2022 3:24 pm not trying to bother you, but are you the same SolraBizna as seen on the OpenComputers forum? if so, good luck on all of your coding projects!
I am indeed. I'm surprised anyone remembers my brief presence there. Thanks. :)
by SolraBizna
Wed Sep 07, 2022 9:18 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

3 at least wouldn't matter for a Quadra 800 target. But, if I were to work on this feature, it would definitely be to implement it for every guest. I probably won't work much more on this particular problem, though. A big obstacle is that none of my Macs have multiple actual monitors. (My current Ma...
by SolraBizna
Sun Sep 04, 2022 10:49 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

My code currently ignores the PRAM entirely. The only use it should be seeing is from the Slot Manager using it to keep track of whether the same card is still present in the slot. Normally, one would use the PRAM to store the last set default mode, but "modern" QuickDraw just uses "s...
by SolraBizna
Sun Sep 04, 2022 7:17 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Heck. It doesn't build at my end, either. I must've built the wrong thing earlier. Revert that one and apply this one: diff --git a/hw/display/mac_qfb.c b/hw/display/mac_qfb.c index a88a9d6f8f..aa62df8b9e 100644 --- a/hw/display/mac_qfb.c +++ b/hw/display/mac_qfb.c @@ -233,6 +233,10 @@ static void q...
by SolraBizna
Sun Sep 04, 2022 12:09 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Very long wait for a very short patch, sorry. Does this patch alleviate the crashes? diff --git a/hw/display/mac_qfb.c b/hw/display/mac_qfb.c index a88a9d6f8f..8341d95bc7 100644 --- a/hw/display/mac_qfb.c +++ b/hw/display/mac_qfb.c @@ -233,6 +233,8 @@ static void qfb_draw_graphic(QfbState *s) DirtyB...
by SolraBizna
Fri Sep 02, 2022 6:24 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Not much to my command line. I use the same one on macOS and Linux: exec $QEMU \ -L ../qfb_driver/bin \ -m 128 \ -M q800,fb=none \ -serial stdio \ -bios Quadra800.rom \ -device nubus-qfb,width=960,height=600,depth=8 \ -net nic,model=dp83932 -net user \ -drive file=pram.dd,format=raw,if=mtd \ -device...
by SolraBizna
Fri Sep 02, 2022 7:23 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

It's quite possible I'm not handling the PRAM correctly. I hoped I could get away without touching it; Slot Manager PRAM stuff is spooky. I'm not able to reproduce any of this, though; my 8.1 machine handles the startup screen and the menu bar being flung around without any problems at all. >_< ERRO...
by SolraBizna
Fri Sep 02, 2022 6:56 am
Forum: QEMU
Topic: Qemu-system-m68k for macOS to run MacOS 7.1-8.1
Replies: 90
Views: 40066

Re: Qemu-system-m68k for macOS to run MacOS 7.1-8.1

marbre wrote: Thu Sep 01, 2022 10:02 pm This article describes how to connect a System 7 machine to a OS X file server. Would it work for vm?
Just tried it on MacOS 8.1. It works! But now I've accidentally enabled a desktop printer...

Edit: it works, but it is very slow and unreliable.
by SolraBizna
Thu Sep 01, 2022 8:37 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Running with valgrind was going to take multiple real days to get to the Finder, and be completely impossible to interact with to trigger a restart. So I ran it with address sanitizer. It convinced me to adjust my ROM patching routine so that it will work on architectures with stricter alignment rul...
by SolraBizna
Thu Sep 01, 2022 9:54 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

The second monitor will be found under the View menu. I believe there's no way to split it into a separate window on the Cocoa client.
by SolraBizna
Thu Sep 01, 2022 5:36 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Unfortunately, signs are pointing towards a bug on the QEMU side. That malloc error at the end, in particular, definitely originated from QEMU. I'll have to get out valgrind... (edit: To be clear, I'm not blaming QEMU. The likeliest source of this bug is the code I added to QEMU. It's just that it d...
by SolraBizna
Wed Aug 31, 2022 6:32 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

I can't reproduce it, and have no idea why that might happen. A/UX doesn't even close the driver or anything when it shuts down.

If you use the debug ROM, what are the last few messages it outputs before the hang?
by SolraBizna
Wed Aug 31, 2022 9:10 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Numbers are: 0000000F 00000033 Uh... That particular error code is listed as "Reserved for Macintosh compatibility". Whatever that means. So that's about as helpful as Sad Macs normally are. While making the debuggier debug ROM, I caught a problem that could easily explain some of the cra...
by SolraBizna
Tue Aug 30, 2022 7:02 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

Yep, moving the happy mac and menu bar solves the "two screens" issue. However, I never noticed restart issues. Now I get the sad mac with binary code below (I believe that started after I moved the happy mac). What are the numbers? I may be able to petition ancient magics and determine t...
by SolraBizna
Tue Aug 30, 2022 9:27 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

When using: -M q800,fb=qemu ^ -g 800x600x8 ^ A/UX starts with a large white screen which later on switches to the correct resolution but still is white. Qemu then crashes but I cannot see what's happening. :shock: With: -M q800,fb=mac ^ -device nubus-qfb,width=960,height=600,depth=16 ^ The initial ...
by SolraBizna
Mon Aug 29, 2022 7:21 pm
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

(Windows build) Doesn't like restart: main screen goes to max vertical resolution and starts flickering. Shut down and start again works OK. I've found restart to be unreliable in general, even without my driver. There's a small chance that this particular problem is caused by a bug I just found in...
by SolraBizna
Mon Aug 29, 2022 11:12 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Re: Arbitrary resolutions, multiple monitors, Thousands of colors

The possible-uninitialized-use warning I already caught and fixed (but forgot to push). Using "fclose" when I should have used "pclose" is somewhat embarrassing, especially since the only reason it came up was because I forgot to remove some debugging code. Fixes for both have be...
by SolraBizna
Mon Aug 29, 2022 7:49 am
Forum: QEMU
Topic: Arbitrary resolutions, multiple monitors, Thousands of colors
Replies: 45
Views: 14385

Arbitrary resolutions, multiple monitors, Thousands of colors

For unclear reasons, I burned a few weeks of my life on a project to support arbitrary video resolutions on QEMU's emulated Quadra 800. This involved poring over ancient Apple documentation and sample code, banging my head against QEMU and the Slot Manager, and having no visible result that could te...
by SolraBizna
Thu Aug 18, 2022 8:46 am
Forum: QEMU
Topic: Qemu-system-m68k for macOS to run AUX 3.x
Replies: 45
Views: 19055

Re: Qemu-system-m68k for macOS to run AUX 3.x

q800.upstream2 contains the latest code. Surprising, but true I tested everything I mentioned in my last post with that slightly newer code, no change. (I didn't test the ClarisWorks spreadsheet thing though.) One clear issue: Virtual Memory cannot be enabled for Mac OS guests. And yet A/UX, with i...
by SolraBizna
Sun Aug 14, 2022 7:17 pm
Forum: QEMU
Topic: Qemu-system-m68k for macOS to run AUX 3.x
Replies: 45
Views: 19055

Re: Qemu-system-m68k for macOS to run AUX 3.x

q800.upstream3
by SolraBizna
Sun Aug 14, 2022 9:45 am
Forum: QEMU
Topic: Qemu-system-m68k for macOS to run AUX 3.x
Replies: 45
Views: 19055

Re: Qemu-system-m68k for macOS to run AUX 3.x

Tried the newest(?) code, immediately appreciated that I no longer need separate builds for A/UX and MacOS 8. Following up on my earlier reports: System beeps, and WriteNow's "clicks", now sound perfect on A/UX. Still getting the corrupted graphics when exiting "startmac" onto a ...
by SolraBizna
Fri Nov 12, 2021 1:24 am
Forum: QEMU
Topic: Playing 3D games via QEMU and Mac OS X emulation....
Replies: 10
Views: 8789

Re: Playing 3D games via QEMU and Mac OS X emulation....

AFAIK, that Rage and Radeon support is *very* preliminary -- that is, so far, they've got as far as presenting an appropriate set of values to the OS so that it thinks there's a card available during boot. I haven't heard of any progress in actually emulating either card, nor in providing a transla...