cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.37k stars 284 forks source link

Illegal instruction while trying to run HoMM3 Complete Demo #269

Open ghost opened 1 year ago

ghost commented 1 year ago

Steps to reproduce:

  1. Get a working OS9.
  2. Download https://archive.org/download/heroes_3_complete_demo/heroes_3_complete_demo.sit
  3. Install.
  4. Run.
  5. Click either "new game" or "quit". It will get the same result.

SheepShaver hangs with the following message spamming the logs:

Illegal instruction at 5046d304, opcode = 0f040000

This is happening in SheepShaver 2.5 from https://github.com/Korkman/macemu-appimage-builder/commit/1f0b70046cc32539d130a0d4d63fc47ea82f9519

Korkman commented 1 year ago

Good news @kerneliusz . I found the issue is caused by using the "wrong" ROM for OS9. This one works:

1999 PowerPC (New World 1.6) [8.6].rom md5: be65e1c4f04a3f2881d6e8de47d66454

ghost commented 1 year ago

I'm unable to repeat the tests due to another obstacle: https://github.com/cebix/macemu/issues/270

ghost commented 1 year ago

@Korkman it's still manifesting with that ROM.

ghost commented 1 year ago

I've disabled JIT, JIT68k and QuickDraw acceleration - nothing helped. Maybe we can find a clue in the game's readme?

The 3DO Company and New World Computing
Heroes of Might and Magic� III Complete Demo
Version 4.0
December 2000

Thank you for downloading the Heroes of Might and Magic III Complete demo for the Mac.  We recommend that you read this file to get the most up-to-date information about installing, running, and maximizing performance of the Heroes of Might and Magic III Complete demo.  This document contains information you might find useful, and we think will help you to get as much enjoyment out of this game as possible.

The full version of Heroes of Might and Magic III Complete for the Mac has additional features for immersive and highly-addictive gameplay, including:

�  Over 200 challenging single scenario maps.
�  Over 20 engaging and interwoven campaigns.
�  9 unique types of towns, 100+ heroes, 100+ monsters to command and 100+ artifacts.
�  Support for up to 8 players via LAN or the Internet.

Buy the full version at you favorite Mac game retailer, or order directly from The 3DO Direct Online Store at <http://store.3do.com> or call 3DO Direct Sales at (800) 336-3506 in the United States (other countries call (650) 385-3187).

Note: The information within this document is accurate as of the date of the release of this product.

------------------------- TABLE OF CONTENTS ----------------------------

1.  System Requirements
2.  Key Use and other Keyboard Information
3.  Gameplay
4.  Virtual Memory settings and other System Information
5.  Purchasing 3DO Software
6. Contacting Customer Support                                                                                                                                                                                                               

------------------------------------------------------------------------                                                                                                                                                                     

1.   System Requirements                                                                                                                                                                                                                     

The following are minimum system requirements to play the Heroes� III Complete demo.  If these requirements are not met, the Heroes III Complete demo may not work properly.                                                                 

Computer System:                                                                                                                                                                                                                             
iMac�, iBook�, Power Macintosh� G3, Power Macintosh G4, and the PowerBook� G3                                                                                                                                                                

Operating System:                                                                                                                                                                                                                            
MacOS 8.1 or better.                                                                                                                                                                                                                         

Memory:                                                                                                                                                                                                                                      
64 MB of RAM with Virtual Memory set to 96 MB.                                                                                                                                                                                               

Free Hard Disk Space:
110 MB of hard disk space.

Peripherals:
Keyboard and mouse. 

Support Software:
Requires Apple Game Sprockets and Apple QuickTime� 3.0 or better

----------------------------------------------------------------------------

2.   Key Use and other Keyboard Information

F4 key or Command + F to switch between full screen and windowed display modes.

Command + Q will exit the program.

You may use either Enter or Return for Okay, Yes or Accept.

You may use the Esc key to back out of the current screen.

The 'T' hot key cycles through each town button on the adventure map.

The 'I' hot key displays Scenario Info from the adventure map.

The 'P' hot key displays the Puzzle Map from the adventure map.

The 'V' hot key shows the View World display from the adventure map.

The 'D' hot key tells the current hero to dig for the grail. 

To split armies, click on the army to split, hold down the Shift key, then click on an empty slot.

------------------------------------------------------------------------

3.  Gameplay

The terms used for monster quantities:
     Few       1      to 4
     Several  5      to 9
     Pack      10    to 19
     Lots       20    to 49
     Horde     50    to 99
     Throng   100  to 249
     Swarm    250 to 499
     Zounds    500 to 999
     Legion    1000+

If a hero currently stands on a trigger of an Adventure Object, players can revisit the location by pressing the space bar.

You can drop off creatures at your mines to guard them.  Whenever you revisit a mine that belongs to you, you may choose creatures to guard it.  

------------------------------------------------------------------------

4.  Virtual Memory settings and other System Information

Open the Memory control panel and make sure you have Virtual Memory set to at least 96MB. If you need to make any changes to the Virtual Memory setting, you will need to restart your machine before they take effect.  Virtual Memory does not need to be on if your machine has 96MB RAM or more.

On some computers, the game may seem to pause for a moment (usually 1-3 seconds) in which the computer becomes unresponsive.  This is normally caused by the MacOS Finder running in the background.  To alleviate this problem, enter windowed mode (Command + F) if necessary, and select the Quit the Finder item under the Options menu.  A check will appear next to the item when it is selected.

If the Heroes III Complete game is running slow, be sure to close any programs open in the background. You may also use the Quit the Finder option as described above.  As a last resort, you can open the Extensions Manager and disable extensions that are not in use. Consult the Mac OS Help. (Command + ?) for instructions.

------------------------------------------------------------------------

5.  Purchasing 3DO Software

You can order other 3DO software directly from 3DO through our order web page at http://www.3do.com/direct, or you can call the 3DO Direct line at 800-336-3506 (outside the United States at 650-385-3187).

------------------------------------------------------------------------

6. Contacting Customer Support

For technical problems or questions:

3DO Customer Support Website:
http://www.3do.com/support (includes an email question form)

E-mail:
customer-support@3do.com 

Phone:
Monday through Friday from 9 a.m. to 12 noon and 2 p.m. to 5 p.m. Pacific Time, at (650)385-3193

Fax number:
(650) 385-3181

------------------------------------------------------------------------

� 2000  The 3DO Company.  All Rights Reserved.  3DO, Armageddon's Blade, Heroes, Heroes of Might and Magic, Shadow of Death, New World Computing, and their respective logos, are trademarks and/or service marks of The 3DO Company in the U.S. and other countries.  Mac and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.  All other trademarks belong to their respective owners.  New World Computing is a division of The 3DO Company.

--The End--
Korkman commented 1 year ago

Another way to crash it is when you don't have sound enabled. Just noticed that with a fresh 9.0.4 install (but old nvram). Go to sounds control panel, output and click on "Built-in". Then use the volume slider, it should emit a beep. Then try launching the game again.