English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 17 December 2010, 11:47   #1
finkel
Registered User
 
Join Date: Aug 2010
Location: x
Posts: 36
All New World of Lemmings (AGA)

Is there some WinUAE configuration that will make this fantastic game work?

The problem manifests as game freezing up after one of the levels is chosen in the menu (one of the lemmings is clicked on). Configuration I'm using is:
- 68020
- AGA chipset, Chipset extra A1200
- Advanced Chipset: Compatible Settings
- KS ROM v3.1 (A1200) rev 40.68 (512k) [391773-01/391774-01]
- RAM: CHIP = 2MB, Fast = 4MB
- Workbench 3.1
- WHDLoad version of the game

I've tried different variations of Cycle-exact, More compatible, and JIT settings, but no success so far.

If this should be considered as a bug report, here are some (more useful ) details.

I noticed the same problem in UAE4ALL, and I was able to get rid of it by reordering instruction emulation and interrupt handling in m68k_emulate(). Here are some comments that I kept in UAE4ALL code, so hopefully, they may be of some help. To avoid confusion, Cruise for a Corpse works perfectly in WinUAE, it's just Lemmings that seems to be having this problem.

/* ... code may miss out
* on the change to VBL (bit 5 of intreq).
*
* Example: Cruise for a Corpse
* - game uses a tight MOVE/BTST/BEQ loop to test for VBL
* - vsync_handler() sets VBL at some point during emulation
* - m68k_emulate() is called next
* - since line 3 is active, ROM interrupt code is called,
* and it clears VBL bit
* - MOVE/BTST/BEQ misses out on the change to VBL,
* resulting in an infinite loop
*/

/* Different behavior for 68000 (KS 2.0) and 68020 (KS 3.1 A1200).
* First requires interrupts to be handled after the first
* emulated instruction (Cruise for a Corpse, 68000),
* second requires handling them before (All New World of Lemmings, 68020).
*/
finkel is offline  
Old 17 December 2010, 12:02   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
I don't care much about whdload versions unless it also happens on confirmed working disk images using basic a500 or a1200 quickstart modes.

Interrupts are emulated nearly correct in cycle-exact mode (100% 68000 interrupt timing would require partial 68000 microcode emulation..). It is impossible to have correct interrupt "delay" behavior without cycle exact emulation.

There are 2 delay types:

- Paula interrupt bit change -> CPU interrupt level pins state change. (This is very important, many A500 demos do that stupid testing with interrupts enabled..)
- CPU detecting interrupt change (68000 does this in microcode, not all instructions have same "delay"..)
- 68020+, no one knows how it exactly works.
Toni Wilen is offline  
Old 17 December 2010, 12:29   #3
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Quote:
Originally Posted by finkel View Post
- 68020
- AGA chipset, Chipset extra A1200
- Advanced Chipset: Compatible Settings
- KS ROM v3.1 (A1200) rev 40.68 (512k) [391773-01/391774-01]
- RAM: CHIP = 2MB, Fast = 4MB
- Workbench 3.1
- WHDLoad version of the game
*/
I'm using the exact same config and the game works fine.

Have you tried changing the the misc/graphics API:?

I use Windowed display with directdraw.

What HD are you using, Directory, HDF or real HD?
Arnie is offline  
Old 17 December 2010, 12:57   #4
finkel
Registered User
 
Join Date: Aug 2010
Location: x
Posts: 36
Quote:
Originally Posted by Arnie View Post
Have you tried changing the the misc/graphics API:?

I use Windowed display with directdraw.

What HD are you using, Directory, HDF or real HD?
Display is set to Primary Display Driver (that should probably mean DirectX), Native Mode Windowed, but I don't think that's the problem. The mouse still works in the menu, and can be moved around, it's just that nothing is happening.

I'm using directory HD, so I'll try to move it to HDF and try again.

What's important is that game works for someone, so it's obviously not WinUAE problem.

Quote:
Originally Posted by Toni Wilen View Post
I don't care much about whdload versions unless it also happens on confirmed working disk images using basic a500 or a1200 quickstart modes.
Any link to get hold of those working images?

Edit: Never mind... Found some floppy images, and yep, they work. It's WHDLoad version that somehow messes things up.

Last edited by TCD; 17 December 2010 at 13:14. Reason: Back-to-back posts merged. Use multi-quote.
finkel is offline  
Old 17 December 2010, 16:42   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
WHDLoad version works fine here, even with JIT enabled, 68020 CPU, lots of RAM and stuff.
Toni Wilen is offline  
Old 17 December 2010, 17:50   #6
ck1200
CBM & Retro Mad
 
ck1200's Avatar
 
Join Date: Nov 2009
Location: North Wales/Wirral Uk
Age: 42
Posts: 611
Send a message via MSN to ck1200 Send a message via Yahoo to ck1200
I have the game fully working through uae , hope you get it sorted
ck1200 is offline  
Old 18 December 2010, 12:37   #7
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
What WHDload version are you using? I use the one from the KillerGorilla packs.
Arnie is offline  
Old 18 December 2010, 18:26   #8
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
This game is okay, even launched from WB.
There was a cracked version widley spread that freezes loading the Ninja Lemmings level. It was a missing file problem....
hexaae is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
On the Ball - World Cup Edition AGA djcasey request.Old Rare Games 4 25 January 2013 12:39
Samba World cup 98 AGA/ECS lolafg Games images which need to be WHDified 21 25 November 2012 14:05
On The Ball: World Cup Edition AGA CodyJarrett request.Old Rare Games 11 27 May 2003 06:14
Lemmings AGA mikec support.Games 11 20 August 2002 08:55

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 06:33.

Top

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