English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 18 August 2014, 20:21   #1
Diz_57
Registered User
 
Join Date: Dec 2010
Location: Lancashire / England
Posts: 62
Problem with ReSource 6.06

With the newer versions of WinUAE ReSource 6.06 crashes (software failure, error: 80000004) when you turn on the 'New Syntax' option. Not sure exactly when this problem appeared but it does not happen with old version 2.3.0.0 (the only older version I had!). The problem happens when CPU is 060, it does not affect the 040!
Diz_57 is offline  
AdSense AdSense  
Old 19 August 2014, 13:14   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,542
That does not prove anything (68060 emulation was mostly faked 68040 long time ago), it still could be normal software incompatibility with 68060. You do have proper 68060 libraries installed?
Toni Wilen is offline  
Old 19 August 2014, 17:58   #3
Diz_57
Registered User
 
Join Date: Dec 2010
Location: Lancashire / England
Posts: 62
Yeah I have all the proper libraries. How can it be software incompatibility when it works fine in older versions of WinUAE like 2.3.0.0?
Diz_57 is offline  
Old 19 August 2014, 18:33   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,542
Quote:
Originally Posted by Diz_57 View Post
Yeah I have all the proper libraries. How can it be software incompatibility when it works fine in older versions of WinUAE like 2.3.0.0?
Because there has been lots of examples where later emulator versions have "broken" something that should not even have worked because emulation was not accurate enough in old versions.

What is the exact illegal instruction log message? (run winuae with -log parameter to see log window in real time)
Toni Wilen is offline  
Old 19 August 2014, 20:52   #5
Diz_57
Registered User
 
Join Date: Dec 2010
Location: Lancashire / England
Posts: 62
exact illegal instruction message;

15-828 [2848 104-049]: Illegal instruction: 04f6 at 118084AE -> 27F07522
Diz_57 is offline  
Old 20 August 2014, 19:41   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,542
04f6 probably isn't valid opcode (chk.l, highly unlikely that resource uses it). Could you include short step-by-step instructions to duplicate this crash? (What commands to use in resource to trigger it, assume me not knowing nothing at all about resource!)

What is the exact version of resource ("version full exename") and file size?
Toni Wilen is offline  
Old 21 August 2014, 05:49   #7
Diz_57
Registered User
 
Join Date: Dec 2010
Location: Lancashire / England
Posts: 62
Full version info: 'ReSource 6.06 (07/02/1995)'. File is 185524 bytes

OK... so, in ReSource's 'Project' menu click 'Open load file' and pick 'C:AddBuffers'.

Click 'Options 1' button at the lower right of screen.

Click 'New Syntax' option in the 'Show' section of the new window for an instant crash!

It is always the same opcode: 04f6 (cmp2.l) no matter what files i have tried it with. I enclosed a pic of the end result too!
Attached Thumbnails
Click image for larger version

Name:	Snap1.jpg
Views:	122
Size:	93.8 KB
ID:	41162  
Diz_57 is offline  
Old 21 August 2014, 12:31   #8
dlfrsilver
CaptainM68K-SPS France
dlfrsilver's Avatar
 
Join Date: Dec 2004
Location: Melun nearby Paris/France
Age: 40
Posts: 7,063
Send a message via MSN to dlfrsilver
pick the same file and load it from elsewhere than C:
dlfrsilver is offline  
Old 21 August 2014, 19:54   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,542
Thanks, that was the important bit: execution didn't jump to some random address but instruction really was cmp2.l (I didn't check second opword and assumed it was chk2, not much difference anyway).

When emulation of 68060 unimplemented integer instructions was added ("Unimplemented CPU emu" checkbox), instructions that 68060 does not support at all accidentally become unimplemented even if unimplemented checkbox is set. (CHK2/CMP2/CAS2/MOVEP). Others that only have some unimplemented variants worked correctly (64-bit MUL/DIV etc..)

68060.library software emulation also didn't work because "Unimplemented" checkbox by design does makes them look like generic unknown instructions, not unimplemented..

Anyway, that was boring explanation.. http://www.winuae.net/files/b/winuae.zip should fix it ("Unimplemented" set and 68060: all 68060 unimplemented instructions are emulated fully)
Toni Wilen is offline  
Old 21 August 2014, 20:52   #10
Diz_57
Registered User
 
Join Date: Dec 2010
Location: Lancashire / England
Posts: 62
That does indeed fix it! Thanx!
Diz_57 is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource problem jimbobrocks92 support.Apps 2 24 December 2010 02:48
ReSource 6.06 yoki request.Apps 6 04 November 2009 17:29
Resource 6.06 display problem BippyM support.Apps 8 14 February 2007 08:39
resource library problem Rod_cl support.Hardware 8 10 July 2006 15:20
ReSource v6.06 A.I request.Apps 3 08 October 2005 21:25

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 03:39.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17398 seconds with 12 queries