24-08-2019 Qemu 4.1 for OSX Experimental ATI Rage 128 Pro

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

24-08-2019 Qemu 4.1 for OSX Experimental ATI Rage 128 Pro

Post by Cat_7 »

Hi,

A highly experimental version of Qemu for OSX with some ATI Rage 128 Pro support is available.
viewtopic.php?f=34&t=8848
Let us know how you get on....

Best,
Cat_7

From the READ ME:

Running Mac OS 9.2 in Qemu with some ATI Rage 128 Pro support.

#### Warning: this is totally untested, and buggy. Do not expect any support. ####

Note: ATI Rage 128 Pro support is far from complete. Only some of the hardware is emulated. For Mac OS 9 some 2D support is available, no 3D support is available at all. Mac OSX will not display the desktop. There is no pass-through to your graphics card for any acceleration. It is uncertain whether/what future development will happen.

These instructions assume you are using a clean installation of Mac OS 9.2.

First option:

1. Find an ATY Rage 128 Pd rom (version 136). Search the internet for:
"OEM Rage 128 Pro 136 AGP 2x 118/140 MHz 16MB TSOP SDR 128KB"

Name the file "136.rom" and place it in a folder called "rom" on the Mac OS 9.2 hard disk image. Start Mac OS 9.2 once with the normal vga driver:

./qemu-system-ppc -L pc-bios -boot c -m 512 -M mac99,via=pmu \
-prom-env 'vga-ndrv?=true' \
-prom-env 'auto-boot?=true' \
-drive file=9.2.img,format=raw,media=disk

2. Disable all ATI extensions using the extensions manager (in Mac OS 9.2).
Click restart, then quit Qemu.

3. Boot the test version with:

./qemu-system-ppc -L pc-bios -boot c -m 512 -M mac99,via=pmu \
-bios openbios-qemu-activedevice-v3-pci-map-in_rage128pd.elf \
-prom-env 'vga-ndrv?=false' \
-prom-env 'auto-boot?=false' \
-drive file=9.2.img,format=raw,media=disk \
-device ati-vga,guest_hwcursor=true

4. At the openbios prompt enter:
" /pci/@f" select-dev
load hd:,\rom\136.rom
4000040 1 byte-load

5. At the garbled openbios screen blindly type:
boot

6. Mac OS will start with a high resolution screen. Open the monitors control panel and click a suitable resolution. Note that you can change the color depth, but that the screen will not fully change. If so, use the tab key to get into the resolution part of the control panel and use the arrow-up and arrow-down keys once to correct the screen.

7. If you make an error with disabling/enabling extensions, quit Qemu and temporarily remove "-device ati-vga,guest_hwcursor=true" from the command line and start Qemu. Correct your error and quit. Then add the ati device again and boot. A typical sign of an error is a desktop with a moveable mouse pointer, on which no clicks are recognised.

Second option

A second option to try is to run without loading the rom, but with following extensions disabled:
-ATI Radeon 3D Accelerator,
-ATI Rage 128 3D Accelerator,
-ATI Video Acccelerator

./qemu-system-ppc -L pc-bios -boot c -m 512 -M mac99,via=pmu \
-bios openbios-qemu-activedevice-v3-pci-map-in_rage128pd.elf \
-prom-env 'vga-ndrv?=false' \
-prom-env 'auto-boot?=true' \
-drive file=9.2.img,format=raw,media=disk \
-device ati-vga,guest_hwcursor=true
Last edited by Cat_7 on Sat Aug 24, 2019 4:03 pm, edited 1 time in total.
Reason: Added second option to try
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: 24-08-2019 Qemu 4.1 for OSX Experimental ATI Rage 128 Pr

Post by 24bit »

Thanks for the detailed instructions!
I´ll sure give it a whirl with my existing 9.2 instance on Mojave.
Will the third item from the picture below be the needed one?

Image
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: 24-08-2019 Qemu 4.1 for OSX Experimental ATI Rage 128 Pr

Post by Cat_7 »

Yes, that is the one you should find ;-)

Best,
Cat_7
Post Reply