E-Maculation
https://www.emaculation.com/forum/

256 Color Mode
https://www.emaculation.com/forum/viewtopic.php?f=34&t=9518
Page 1 of 1

Author:  dmcblue [ Thu Nov 02, 2017 12:30 am ]
Post subject:  256 Color Mode

Hi, I'm new to Qemu.

I loaded Mac OS 9.2.2 with Qemu (Sept. 16 2017 release), trying to play a game. When I clicked on the game, it gave the message:

"Monitor cannot be set to 256 colors. Requires 256 colors to run."

I tried cutting the color depth with the -g option with:
-g 1024x768x8
But that just forced everything to grey scale.

In the Monitors Control Panel / VGA Display panel, the only color option is 'Millions'.

I am working on Windows 10.

I saw this post: http://www.emaculation.com/forum/viewtopic.php?f=34&t=7047&start=775#p53469 but I cannot figure out what I would be missing. Seems like all the changes listed there should be in the current release.

Here is my command:

qemu-system-ppc.exe -L pc-bios -boot c -m 256 -M mac99 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=MacOS9.2.img,format=raw,media=disk -device usb-mouse -device usb-kbd -sdl

There are some warnings:
(In the emulator)
MacOS: unable to find a usable NVRAM partition - using offset 0x1400
(Terminal)
Trying to write invalid spr 0 (0x000) at 00f113c0
Trying to read invalid spr 0 (0x000) at 00f113c8
Trying to write privileged spr 955 (0x3bb) at 00f168c8
Trying to write invalid spr 959 (0x3bf) at 00f16930
Trying to read invalid spr 959 (0x3bf) at 00f16938
Trying to write privileged spr 955 (0x3bb) at 00f168c8
Trying to write invalid spr 959 (0x3bf) at 00f16930
Trying to read invalid spr 959 (0x3bf) at 00f16938

Any ideas to get 256 color support?

Edit: Oh yes, using OpenBIOS v1.1

Author:  dmcblue [ Thu Nov 02, 2017 3:27 am ]
Post subject:  Re: 256 Color Mode

Figured it out.

First, had some files from another qemu source mixed in.

1. Deleted the Qemu installation. Reinstalled the official source. Closed all terminals.
2. In the command "-L pc-bios" => '-L "C:/absolute/path/to/qemu/pc-bios" -bios openbios-ppc'
3. Read the readme in the 'vga-driver' folder. Delete qemu_vga.ndrv in 'pc-bios'. Copy 'qemu_vga_256.ndrv' from 'vga-driver' into 'pc-bios' and rename 'qemu_vga.ndrv'.

Author:  Programmingkid [ Sun Nov 05, 2017 3:08 pm ]
Post subject:  Re: 256 Color Mode

Where can I find the qemu_vga_256.ndrv file?

Author:  adespoton [ Sun Nov 05, 2017 5:23 pm ]
Post subject:  Re: 256 Color Mode

Qemu-64Bit_211Pre-MountainLion-16092017/vga-driver/qemu_vga_256.ndrv

Author:  dmcblue [ Sun Nov 05, 2017 6:42 pm ]
Post subject:  Re: 256 Color Mode

Despite all this, the game runs extremely quickly. Nothing else in the emulation seems off, even the game menu. Not sure if there's any fix for this.

Author:  adespoton [ Sun Nov 05, 2017 11:22 pm ]
Post subject:  Re: 256 Color Mode

If the game requires 256 colors and doesn't have speed regulation, that means it's probably a 24-bit application, and would run better in Mini vMac II with System 7.5.

Author:  Programmingkid [ Mon Nov 06, 2017 4:05 pm ]
Post subject:  Re: 256 Color Mode

dmcblue wrote:
Despite all this, the game runs extremely quickly. Nothing else in the emulation seems off, even the game menu. Not sure if there's any fix for this.

Which game is it?

Author:  Programmingkid [ Mon Nov 06, 2017 4:21 pm ]
Post subject:  Re: 256 Color Mode

adespoton wrote:
Qemu-64Bit_211Pre-MountainLion-16092017/vga-driver/qemu_vga_256.ndrv

I see, you mean this file: http://www.open.ou.nl/hsp/downloads3/Qe ... 092017.zip

Thank you :)

Author:  dmcblue [ Mon Nov 06, 2017 7:42 pm ]
Post subject:  Re: 256 Color Mode

Power Pete / Mighty Mike...I'll the Mini vMac II as adespoton suggested when I get the chance.

Author:  adespoton [ Mon Nov 06, 2017 10:44 pm ]
Post subject:  Re: 256 Color Mode

Ah; Mighty Mike should run fine under OS 9; Power Pete won't run correctly under 32-bit clean Macs. I think I've got something about that on a different thread on here.

Author:  Programmingkid [ Fri Nov 10, 2017 1:06 am ]
Post subject:  Re: 256 Color Mode

dmcblue wrote:
Despite all this, the game runs extremely quickly. Nothing else in the emulation seems off, even the game menu. Not sure if there's any fix for this.


I had a game that ran too quickly in QEMU. To fix this problem I simply set the speed to 50% from the Speed menu.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/