24-08-2019 Qemu 4.1 for W64 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: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

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

Post by Cat_7 »

Hi,

A highly experimental version of Qemu for Windows with some ATI Rage 128 Pro support is available.
viewtopic.php?f=34&t=9028
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.exe -L pc-bios -boot c -m 512 -M mac99,via=pmu ^
-prom-env "vga-ndrv?=true" ^
-prom-env "auto-boot?=true" ^
-sdl ^
-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:
---A small error has creeped into the readme accompanying the download for Windows. The readme says to use "-bios openbios-qemu-activedevice-v3-pci-map-in_rage128pd.elf ^" This file, however, is not provided. Please use "-bios openbios-pci-map-in_rage128pd.elf". This has been fixed in the instruction below. ---

qemu-system-ppc.exe -L pc-bios -boot c -m 512 -M mac99,via=pmu ^
-bios openbios-pci-map-in_rage128pd.elf ^
-prom-env "vga-ndrv?=false" ^
-prom-env "auto-boot?=false" ^
-sdl ^
-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:05 pm, edited 1 time in total.
darthnvader
Mac Mechanic
Posts: 178
Joined: Sun Feb 07, 2016 4:40 pm

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

Post by darthnvader »

A few notes here GTK seems to be broken in this build, mouse leaves emulated screen and the system is unusable.

Add -sdl to the qemu command.

Also there is no point in loading the Rage128.rom, the disk based 'NDRV' is all you need, and loading the FCode ROM doesn't give you any more functionality.

Tho the ATI Driver Update needs to be version 1.9.5 from the Mac OS 9.2.1 install CD to properly work with our ATY,Rage128Pd.

The ATI Driver Update extension controls 'NDRV's for OEM Apple cards and the Pd is an OEM card. The ATI ROM Xtender extension controls 'NDRV's for Retail ATI Mac Edition cards.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

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

Post by adespoton »

If anyone needs comparisons, there's been lots of work lately on the Radeon 9200 due to it being in the G4 Mini. I've got one set up with OS 9 and one set up with 10.4, so if anyone needs to test dat flow, instructions, or hardware/EFI config, let me know.
Post Reply