Search found 152 matches

by mcayland
Wed Mar 20, 2024 10:08 am
Forum: QEMU
Topic: qemu-system-m68k, vsync and Lemmings audio (trying to understand...)
Replies: 5
Views: 228

Re:

Well, there's a few things going on here. One is, audio emulation (in Mini vMac II and in QEMU-system-m68k) aren't fully functional; so under emulation, you're going to have audio sync issues. This has more to do with the audio buffer not being flushed at exactly the right time than it does with vs...
by mcayland
Wed Mar 20, 2024 10:05 am
Forum: QEMU
Topic: qemu-system-m68k, vsync and Lemmings audio (trying to understand...)
Replies: 5
Views: 228

Re: qemu-system-m68k, vsync and Lemmings audio (trying to understand...)

Hi there! I am happily using qemu-system-m68k on GNU/Linux, built from latest Qemu GIT sources, to emulate a Quadra 800. Just to confirm this is the latest QEMU upstream sources at https://gitlab.com/qemu-project/qemu rather than my personal fork at github? Currently all outstanding QEMU 68k patche...
by mcayland
Wed Dec 27, 2023 8:08 pm
Forum: QEMU
Topic: Is there a way to make QEMU PPC faster?
Replies: 10
Views: 3488

Re: Is there a way to make QEMU PPC faster?

In addition to that, can you also tell us the specs of your host? Best, Cat_7 Currently Windows 10 x64. I'll see if I can go 11 later. 8gb RAM. Core i7 4.00GHz That should be more than enough to run QEMU at a reasonable speed (my desktop workstation is about 8 years old), so you'll need to investig...
by mcayland
Wed Dec 20, 2023 3:19 pm
Forum: QEMU
Topic: Is there a way to make QEMU PPC faster?
Replies: 10
Views: 3488

Re: Is there a way to make QEMU PPC faster?

35 secs to an open an app? That sounds completely broken: here on x86_64 the performance is good enough to provide a usable experience. Can you provide more information: - What host architecture/OS are you using? - What OS version are you attempting to boot? Where did you get the image from? - What...
by mcayland
Wed Dec 06, 2023 2:18 pm
Forum: General Macintosh Emulation
Topic: Programming my own Mac emulator
Replies: 87
Views: 39631

Re: Programming my own Mac emulator

So, it turns out the reason icons and the text won't show up is because the ntrb QuickDrawText trap isn't properly working (i.e. StdTxMeas, StdText). With this deleted, the text does show up. However, to delete it, you have to edit the PowerPC Enabler. I suspect there may be some CPU error with the...
by mcayland
Wed Dec 06, 2023 12:46 pm
Forum: QEMU
Topic: Is there a way to make QEMU PPC faster?
Replies: 10
Views: 3488

Re: Is there a way to make QEMU PPC faster?

Hello, I've been thinking if I can make QEMU PPC fast, I tried everything. Well, when I go with the memory towards 1008MB, It does an immediate kernel panic on boot. Does anyone know how can i fasten it? I've heard that Windows PPC is slow, but I can change the CPU model. I did that, but it still t...
by mcayland
Sat Aug 19, 2023 12:29 pm
Forum: QEMU
Topic: cannot compile screamer (qemu ppc patched with audio) on fedora 38 linux [solved]
Replies: 6
Views: 2619

Re: cannot compile screamer (qemu ppc patched with audio) on fedora 38 linux [solved]

I think screamer branch is behind upstream qemu a bunch of commits, and has some bugs related to the build. I got it to build doing this: 0. Install needed depedencies (can vary from distro to distro) 1. git clone -b screamer https://github.com/mcayland/qemu.git qemu-screamer (do not do -r recursiv...
by mcayland
Sat Aug 19, 2023 12:27 pm
Forum: QEMU
Topic: Qemu + Q800 + EMILE
Replies: 1
Views: 2325

Re: Qemu + Q800 + EMILE

Sorry, I am having a memory lane attack, and saw on mailing list for the q800 patch (https://lists.nongnu.org/archive/html/qemu-devel/2023-07/msg00114.html) that linux should be able to boot via EMILE. Has anyone figured out how to get it to boot, I can't get the toolbox rom (or qemu) to boot with ...
by mcayland
Sat Aug 19, 2023 12:06 pm
Forum: QEMU
Topic: Mouse issues under Windows and modifying keycodes (SOLVED)
Replies: 15
Views: 3571

Re: Mouse issues under Windows and modifying keycodes (SOLVED)

If you can find out which line the NMI on cuda should toggle and let me know, it's a reasonably trivial piece of coding to get this working. From user powermax: That depends on the I/O controller Cuda is attached to. NMI signal is active low on PC2. Cuda's PC2 output pin is usually attached directl...
by mcayland
Fri Aug 11, 2023 11:43 am
Forum: QEMU
Topic: Mouse issues under Windows and modifying keycodes (SOLVED)
Replies: 15
Views: 3571

Re: Mouse issues under Windows and modifying keycodes (SOLVED)

Even when setting directories via the command line, I just can't seem to get QEMU to read from share/keymaps. It doesn't even throw a code. Last time I built and tested on Windows I seem to recall that some of the paths were different compared to Linux - it has been a while though, so that issue is...
by mcayland
Thu Jul 27, 2023 3:36 pm
Forum: QEMU
Topic: Unexpected MacsBug behaviour when stepping PPC code (SOLVED: patch inside!)
Replies: 5
Views: 2261

Re: Unexpected MacsBug behaviour when stepping PPC code

I'm running QEMU 8.1.0-rc1, but this problem has been around for at least a couple of years. Using MacsBug 6.6.3, there is a problem when stepping through PPC code. Note that 68k code does not have this bug. Whenever a branch is reached, MacsBug will jump to the address after the intended branch ad...
by mcayland
Tue Jul 18, 2023 11:34 am
Forum: Basilisk II
Topic: How to restore a corrupted hard disk image?
Replies: 17
Views: 3975

Re: How to restore a corrupted hard disk image?

The reason for the difference between BII and real hardware I suspect comes down to how BII handles disk images -- meaning, none of the actual hardware is emulated, and not even the actual disk structure is maintained -- BII works against the HFS partition directly. This means that all the SCSI int...
by mcayland
Mon Jul 17, 2023 8:22 am
Forum: Basilisk II
Topic: How to restore a corrupted hard disk image?
Replies: 17
Views: 3975

Re: How to restore a corrupted hard disk image?

You can always try booting to a minimal system with a copy of Disk FirstAid and try to repair the broken disk from there. It never worked for me, but it's worth trying. Was it common to wreck your system partition upon a crash or improper shutdown on real Macs? Or perhaps Basilisk is prone to this,...
by mcayland
Thu Jul 13, 2023 5:39 am
Forum: QEMU
Topic: The UTM Thread
Replies: 120
Views: 57065

Re: The UTM Thread

... okay, that's weird. Instead of using UTM, I decided to try it using qemu from homebrew, using the same command line you used and it took... 39 seconds with -accel tcg, almost exactly the same as yours. With -accel kvm I get an error message: "qemu-system-x86_64: -accel kvm: invalid acceler...
by mcayland
Thu Jul 13, 2023 5:31 am
Forum: QEMU
Topic: The UTM Thread
Replies: 120
Views: 57065

Re: The UTM Thread

Just tried firing up my UTM VM on my i9 and timing it; it took approximately 8 minutes 20 seconds. It looks like UTM uses -accel hvf when "Use Hypervisor" is selected. With "Use Hypervisor" turned off, it switches to -accel tcg. There doesn't seem to be an obvious way to force i...
by mcayland
Wed Jul 12, 2023 1:54 pm
Forum: QEMU
Topic: The UTM Thread
Replies: 120
Views: 57065

Re: The UTM Thread

I suspect that something Osy's done with version 4 has forced x86 hosts to use the TCG emulator as well. And with the switch to QEMU 8 for 4.3.x (still in beta), it appears all sorts of things have broken (PPC and x86_64 emulators). Some of those things appear to be broken in QEMU though, not speci...
by mcayland
Wed Jul 12, 2023 1:48 pm
Forum: QEMU
Topic: The UTM Thread
Replies: 120
Views: 57065

Re: The UTM Thread

Yeah, and the x86 code for the TCG emulator must be bad. I know the M1 Max is faster than the old Core i9 Macs, but not this much faster. QEMU's JIT is quite advanced, including its own optimiser, and is well-known to be one of the quickest around. What sort of numbers are you seeing? I have a test...
by mcayland
Wed Apr 05, 2023 9:12 pm
Forum: General Macintosh Emulation
Topic: Looking for 68k Mac emulation with multiple network interfaces
Replies: 7
Views: 2794

Re: Looking for 68k Mac emulation with multiple network interfaces

Mark, is the SDLC mode on the Modem port for 68k the same as in non-GeoPort pre-USB PPC Macs? Just thinking that this may be useful in a more mainline architecture that's already stable, and so may be able to get more eyeballs for non-OT serial communications. I think it is, however QEMU uses the s...
by mcayland
Wed Apr 05, 2023 8:30 pm
Forum: General Macintosh Emulation
Topic: Looking for 68k Mac emulation with multiple network interfaces
Replies: 7
Views: 2794

Re: Looking for 68k Mac emulation with multiple network interfaces

- Qemu (see above, the serial port spits out data if LocalTalk is configured, but I wasn't able to read proper LocalTalk frames yet) (Disclaimer: I am the author of the QEMU 68k patches for booting MacOS) The issue with QEMU and LocalTalk is that the ESCC serial emulation doesn't support synchronou...
by mcayland
Wed Jan 25, 2023 11:48 am
Forum: QEMU
Topic: A/UX 3.0.1 white screen in QEMU 7.2.0
Replies: 11
Views: 5198

Re: A/UX 3.0.1 white screen in QEMU 7.2.0

Latest commit seems to be commit f25b3476ee2621a637251439eaebf357970f7638 (HEAD -> q800.upstream2-vm, origin/q800.upstream2-vm) i think that's the latest release on github too Host os is Linux Mint 21.1, cpu is Ryzen 7 7700X ran that exact same script, background was green this time but same result...
by mcayland
Tue Jan 24, 2023 8:13 am
Forum: QEMU
Topic: A/UX 3.0.1 white screen in QEMU 7.2.0
Replies: 11
Views: 5198

Re: A/UX 3.0.1 white screen in QEMU 7.2.0

It seems to be an issue with the cdrom, I get to the "you need a cdrom screen" with the floppy however when I add the cdrom it gets to that same grey screen. Can you confirm the branch and version you are using with "git log", along with your host OS and CPU? I just did a test b...
by mcayland
Thu Mar 24, 2022 8:46 am
Forum: QEMU
Topic: No keyboard input in OSX guest
Replies: 2
Views: 3117

Re: No keyboard input in OSX guest

I'm trying to rename the hard drive in my Mac OS X guest, but when I try to type the name, QEMU doesn't take the keyboard input at all. Config: qemu-system-ppc.exe ^ -L pc-bios ^ -cpu G4 ^ -M mac99 ^ -m 512 ^ --drive file=macosx100.img,format=qcow2,index=0,media=disk ^ -drive file=macosx100.toast,f...
by mcayland
Thu Mar 24, 2022 8:43 am
Forum: QEMU
Topic: Installing Mac OS X DP1: Initialization failed
Replies: 12
Views: 5524

Re: Installing Mac OS X DP1: Initialization failed

Hi, This will get us to "this image is not for the platform" The installation instructions say DP1 can run on a G3 But when using g3beige we still get "this image is not for the platform" When setting auto-boot to false and setting " PowerMac1,1" encode-string " m...
by mcayland
Tue Mar 22, 2022 9:25 pm
Forum: QEMU
Topic: Installing Mac OS X DP1: Initialization failed
Replies: 12
Views: 5524

Re: Installing Mac OS X DP1: Initialization failed

Okay I can see a few things there that could be an issue - firstly that combination of usb options is wrong, and like to cause problems with the mouse. And overriding the default CPU to a different one is going to cause a difference in behaviour compared with basic testing. As a starting point: For ...
by mcayland
Tue Mar 22, 2022 8:37 pm
Forum: QEMU
Topic: Installing Mac OS X DP1: Initialization failed
Replies: 12
Views: 5524

Re: Installing Mac OS X DP1: Initialization failed

I'm trying to install Mac OS X DP1 in QEMU, but when I try to initialize the disk with a Mac OS X partition (Mac OS UFS), it works normally for a couple seconds, but then says that the initialization failed. Am I doing anything wrong? (I'm using the Windows version of QEMU.) Some users have reporte...