English Amiga Board


Go Back   English Amiga Board > Support > support.Games

 
 
Thread Tools
Old 21 May 2023, 01:51   #1
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Civilization instability...WTF?!?

Please note this applies *ONLY* to the _original_ Civilization, NOT the AGA release, and _NOT_ to the WHDLoad version.

I'm at a complete loss with this game. No matter what I do, sooner or later, one of the following WILL happen (in rough order of likelihood):

- Guru 0000 0003 or 8000 0003 (the latter being FAR more likely)
- Freeze on the city production management screen when trying to present the suggestion from the domestic advisor
- Freeze during computer opponent movement calculation (flashing white/gray cursor in the bottom left)
- Soft reset of Amiga

Problems can occur literally during game start (i.e. before you even select an input method) or can take hours of play to manifest, but again, they WILL happen...it is impossible to complete a full game (unless you lose).

I've tried both original and cracked versions of the 855.01 and 855.04 English game executables, all with the same ultimate result.

The specs are VERY modest - 1M required, that's it. A hard drive is needed for practical play of the game, but can be played without.

Here are things I've tried without success:

- Changing the hard drive controller type. I've gone through A590 XT, A2091 SCSI, AdIDE, and plain old UAE hardfile controller configurations in RDB mode (with every firmware version of each and trying 1.3 and 2.0 FastFileSystems in RDB)...the only interesting thing I learned from all this is that the A590/2091 with DMAC-01 ends up with bizarre colors during actual gameplay but DMAC-02 is OK (and the same happens with Star Control), but I also can't explain what the DMAC version would possibly have to do with that
- Playing entirely from floppy
- Using an emulated A2620 accelerator (as seen in the A2500, listed on the game box as compatible)
- Having 2MB of fast RAM on the emulated motherboard, on the accelerator card, and on the hard drive controller (and both enabling and disabling DMA with each configuration)
- Having only 512KB of chip and 512KB of slow RAM
- Having only 1MB of chip RAM
- Trying Cycle-exact and non CE (with and without cycle-exact DMA)
- Trying OCS, ECS Agnus, full ECS and AGA chipsets
- Trying Kickstart 1.3 and 2.04
- Trying an emulated Quickstart A1200 with native IDE controller HD attached
- Trying with and without SetPatch loaded (either 1.3 or 2.0 version)

As you might have guessed...I've played a *hell of a lot* of this game trying all the various combinations, so I'm quite sure that all of the above _do not work_. =)

Ordinarily, I'd say the game itself is just bugged, except I played MANY hours of this in college on an A500 w/1M chip, 2.04, AdRAM 540 and an AdIDE without issue whatsoever. I don't recall anything like this ever happening...which _suggests_ it's a problem with emulation, except...

- The WHDLoad version works great (the only indication of why possibly being "DMA wait fixed")
- The AGA version works flawlessly on an emulated A1200HD (and I used the *exact same configuration*, simply swapping the drive image, to test the behavior of the OCS version on an AGA machine and it crashed just like it did on a Kickstart 1.3 machine)

I'm completely at a loss. I don't even know how to file a competent bug report because it takes potentially hours to trigger the problem (and also knowing how to actually play the game while having patience to do so) and it's so random that it's impossible to capture a savestate just beforehand.

If anyone has any viable suggestions at all (besides "just play the WHDLoad and/or AGA version" *laughs*), I'd be most grateful.
rhester72 is offline  
Old 21 May 2023, 03:35   #2
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 952
There's this, but I don't know whether it's one of the versions you've already tried. Or whether it's even an official update. (Ah, the good old days when stuff was posted to BBSes with no documentation whatsoever.)

I'd get rid of the 2620. Try 1MB chip, 2091 w/ 2MB, fresh install of 2.04 or 2.1, no UAE ROM. Basically as close to a stock (later-model) A2000HD as you can get.
Matt_H is offline  
Old 21 May 2023, 05:34   #3
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Matt_H View Post
There's this, but I don't know whether it's one of the versions you've already tried. Or whether it's even an official update. (Ah, the good old days when stuff was posted to BBSes with no documentation whatsoever.)

I'd get rid of the 2620. Try 1MB chip, 2091 w/ 2MB, fresh install of 2.04 or 2.1, no UAE ROM. Basically as close to a stock (later-model) A2000HD as you can get.
That update is the official Microprose game engine update to version 855.04 - so yes, it's been tried (cracked and uncracked). =) [And amen on the way patches were distributed back in the day! lol]

I've tried the config you've described...in terms of raw configs, I've covered the following:

- A500 w/1.2, OCS, no hard drive
- A500 w/1.3, OCS, A590 XT [with and without RAM]
- A500 w/1.3, OCS, A590 SCSI [with and without RAM]
- A500 w/2.0, ECS, A590 [XT and SCSI, with and without RAM]
- A500 w/2.0, ECS, AdIDE and AdRAM 540
- A1200 w/3.0 and 40MB IDE hard drive [with and without fast RAM]

with various permutations of 512KB chip/512KB slow and 1MB chip thrown in.

Ironically, that's what I thought the root of the problem was initially - that I'd tried *too* hard to simulate actual hardware and created some sort of unexpected incompatibility.
rhester72 is offline  
Old 21 May 2023, 06:18   #4
Matt_H
Registered User
 
Matt_H's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 952
Strange! You're sure it was stable on real hardware? I remember the AGA version crashing on me a number of times. Never played the ECS version, though.

Is there a reference card/insert for the Amiga version that might have some hints? Nothing's made it onto HOL and my AGA copy doesn't have one.

You might have to get into the advanced monitoring tools of WinUAE to figure this out. One more idea: have you tried a different version of UAE? Maybe a bug was accidentally introduced in a recent version...?
Matt_H is offline  
Old 21 May 2023, 09:52   #5
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,184
Quote:
Originally Posted by Matt_H View Post
Is there a reference card/insert for the Amiga version that might have some hints? Nothing's made it onto HOL and my AGA copy doesn't have one.
Yep, would be good to have the 'technical supplement' for Amiga that the manual mentions on HOL.
TCD is offline  
Old 21 May 2023, 13:56   #6
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,393
i don't want to troll but that's exactly why whdload can run emulated kickstart games.
jotd is offline  
Old 21 May 2023, 14:50   #7
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Matt_H View Post
Strange! You're sure it was stable on real hardware? I remember the AGA version crashing on me a number of times. Never played the ECS version, though.
Very. I'd guess I probably went through 3-4 dozen campaigns back then with zero crashes.

Quote:
Originally Posted by Matt_H View Post
Is there a reference card/insert for the Amiga version that might have some hints? Nothing's made it onto HOL and my AGA copy doesn't have one.
Possible. My actual box is in storage, but I'll check. I don't recall anything specific about that - back then, I just installed and played.

Quote:
Originally Posted by Matt_H View Post
You might have to get into the advanced monitoring tools of WinUAE to figure this out. One more idea: have you tried a different version of UAE? Maybe a bug was accidentally introduced in a recent version...?
It's possible - I've been using the 5.0 beta series. I'll go back a couple of releases and see if anything's different.
rhester72 is offline  
Old 21 May 2023, 14:52   #8
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by jotd View Post
i don't want to troll but that's exactly why whdload can run emulated kickstart games.
tbh, I fully agree on real hardware - but on emulation, it's kind of pointless, especially when the game itself directly supports hard drive install.

Granted, WHDLoad is *VERY* convenient for play-right-now platforms like the Mini and Retroarch (with built-in direct support for archives and a convenient UI that can handle tons of titles), so my love for it is real...but I think at this point I'm still doggedly pursuing it because a) it should work, and b) it may well indicate a bug in the emulator that would be useful to find and fix if possible.
rhester72 is offline  
Old 21 May 2023, 16:48   #9
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,393
I would say game bug that triggers with your memory layout or conflict with a workbench component.

Guru 8003 means word read on unaligned address for instance.

Did you try without startup sequence ? That's what whdload basically does. It boots up a fresh virtual system without anything, so memory is unfragmented, free as much as possible, and no other process is running.
jotd is offline  
Old 21 May 2023, 20:19   #10
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by jotd View Post
I would say game bug that triggers with your memory layout or conflict with a workbench component.
Ordinarily I'd agree - but I've tried five major different major memory layouts (.5C/.5S, 1C, .5C/.5S/2F/1C2F, 2C) without success.

Quote:
Did you try without startup sequence ? That's what whdload basically does. It boots up a fresh virtual system without anything, so memory is unfragmented, free as much as possible, and no other process is running.
Yes, both with and without SetPatch. The only commands run are the necessary Assigns and the game itself.
rhester72 is offline  
Old 21 May 2023, 20:26   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,577
Try increasing stack before starting the game. (stack 10000 or similar, default 4096 is quite small)
Toni Wilen is online now  
Old 22 May 2023, 01:54   #12
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Toni Wilen View Post
Try increasing stack before starting the game. (stack 10000 or similar, default 4096 is quite small)
Went all the way up to 64K...no joy. (The Workbench icon doesn't override default stack and the Startup-Sequence on the first floppy doesn't change it either, so I'm guessing this is an app that sets its own stack to whatever is needed.)
rhester72 is offline  
Old 22 May 2023, 03:11   #13
QuikSanz
Registered User
 
QuikSanz's Avatar
 
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
Works great on my A2000. Using the real thing helps.
Chris
QuikSanz is offline  
Old 22 May 2023, 03:12   #14
m1ckey
Registered User
 
Join Date: Mar 2021
Location: Funland
Posts: 17
That´s the copy protection kicking in.

Try alternative adf´s, ipf´s, what-the-fuck-not´s.
m1ckey is offline  
Old 22 May 2023, 15:44   #15
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by m1ckey View Post
That´s the copy protection kicking in.

Try alternative adf´s, ipf´s, what-the-fuck-not´s.
The only copy protection is a simple pass/fail check soon after game start, but the crash happens in exactly the same way even on unaltered binaries (both the release and bugfixed versions).
rhester72 is offline  
Old 22 May 2023, 15:44   #16
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by QuikSanz View Post
Works great on my A2000. Using the real thing helps.
That tallies with my experience from back in the day...so it is an emulation issue of some kind. Good to know, thank you!
rhester72 is offline  
Old 22 May 2023, 17:14   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,577
I still don't this means anything (similar situations have happened many times already..)

But at least seeing what gets logged when it crashes could help. Guru 00000003 should include some log message which usually does not help much but it can give some hints.

Run with -log command line, enable also "Log illegal memory accesses" misc option before starting.

Only if 68000? What if 68020?
Toni Wilen is online now  
Old 22 May 2023, 19:31   #18
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Toni Wilen View Post
But at least seeing what gets logged when it crashes could help. Guru 00000003 should include some log message which usually does not help much but it can give some hints.

Run with -log command line, enable also "Log illegal memory accesses" misc option before starting.
Will test.

Quote:
Only if 68000? What if 68020?
Both crash.
rhester72 is offline  
Old 22 May 2023, 19:52   #19
rhester72
Registered User
 
Join Date: Feb 2008
Location: New York / USA
Posts: 361
Quote:
Originally Posted by Toni Wilen View Post
Run with -log command line, enable also "Log illegal memory accesses" misc option before starting.
civ_crash.zip in The Zone
rhester72 is offline  
Old 22 May 2023, 21:29   #20
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,668
For a moment I thought from the title that this thread was a bit of political commentary
Karlos is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dpaint instability stevelord support.Apps 1 24 September 2021 14:23
Vampire 500 2+ and instability meckert support.Hardware 22 08 November 2017 13:26
Diagnosing A4000 instability (RAM?) zero support.Hardware 4 15 July 2017 20:36
A1200 + Blizzard + PCMCIA instability Druon support.Hardware 1 07 February 2015 21:25
Instability issues, A2000 Iznougoud Hardware mods 15 27 February 2009 17:10

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:31.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09995 seconds with 13 queries