Login  •  Register


The time is now: Sun May 26, 2019 5:35 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 11 posts ]
Print view Previous topic  |  Next topic
Author Message
 Post subject: 256 Color Mode
PostPosted: Thu Nov 02, 2017 12:30 am 
Offline
Space Cadet

Joined: Wed Nov 01, 2017 11:54 pm
Posts: 4
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


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Thu Nov 02, 2017 3:27 am 
Offline
Space Cadet

Joined: Wed Nov 01, 2017 11:54 pm
Posts: 4
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'.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Sun Nov 05, 2017 3:08 pm 
Offline
Apple Corer

Joined: Sun Jan 31, 2016 6:01 pm
Posts: 242
Where can I find the qemu_vga_256.ndrv file?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Sun Nov 05, 2017 5:23 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2559
Location: Emaculation.com
Qemu-64Bit_211Pre-MountainLion-16092017/vga-driver/qemu_vga_256.ndrv


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Sun Nov 05, 2017 6:42 pm 
Offline
Space Cadet

Joined: Wed Nov 01, 2017 11:54 pm
Posts: 4
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.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Sun Nov 05, 2017 11:22 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2559
Location: Emaculation.com
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.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Mon Nov 06, 2017 4:05 pm 
Offline
Apple Corer

Joined: Sun Jan 31, 2016 6:01 pm
Posts: 242
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?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Mon Nov 06, 2017 4:21 pm 
Offline
Apple Corer

Joined: Sun Jan 31, 2016 6:01 pm
Posts: 242
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 :)


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Mon Nov 06, 2017 7:42 pm 
Offline
Space Cadet

Joined: Wed Nov 01, 2017 11:54 pm
Posts: 4
Power Pete / Mighty Mike...I'll the Mini vMac II as adespoton suggested when I get the chance.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Mon Nov 06, 2017 10:44 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2559
Location: Emaculation.com
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.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: 256 Color Mode
PostPosted: Fri Nov 10, 2017 1:06 am 
Offline
Apple Corer

Joined: Sun Jan 31, 2016 6:01 pm
Posts: 242
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.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 11 posts ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group