English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 24 July 2018, 21:13   #1
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 266
PMC Mesmerized Demo - Fails before triangle/pyramid seq.

Whatever I do, I am unable to view the triangle/pyramid sequence of this demo.

It fails with an exception access fault, Byte read from ....

This happens on real A1200 with Blizzard 1260, but also WinUAE.

I have tried a lot of stuff in WinUAE 4 (WB3.1) without getting closer:

- changing CPU to 020 or 030, still fails
- removing commodities and patches
- running demo with early startup after setpatch with wbrun
- tried various tooltypes (nocache, novbrmove, nommu...)
With 030 and nommu, it does not crash, but the triangle/pyramid sequence
is not shown, only a black screen and the red stripes are visible while music is still playing. when the sequence is "done", it starts showing the other sequences over.
- tried both new (V18) and old version (V16) of WHDLoad
- downloaded original demo and slave, and installed it over again. new install behaved the same, and produced the same files as existing one
- both downloaded and read my original kick 1.2/1.3 roms - both was the same as I already have in devs/kickstarts
- booting from a setup floppy I have instead of hard disk (with setpatch and 060 libs) and running the demo from there

according to information in older threads the demo is supposed to work, just not for me atm.

can anyone please confirm it is fully working on real amiga, preferably with 060, or WHDLoad (any cpu)?
Yulquen74 is offline  
Old 24 July 2018, 22:51   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
It's a slave problem, it needs to be updated.
StingRay is offline  
Old 24 July 2018, 22:57   #3
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
I've only launched the exe (not have checked the slave) but it does not seem to have big problems.
Maybe the slave do not patch the wrong DIW values?
ross is offline  
Old 24 July 2018, 23:02   #4
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
There are invalid copperlist entries and other problems which haven't been fixed.
StingRay is offline  
Old 25 July 2018, 00:05   #5
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
Yes, checked the slave and the DIWs in copper list are not patched.
But there is a strangeness..
Yulquen74 specified that with WinUAE during the triangle sequence only a black screen and the red stripes are visible:
this is probably due to the illegal DIWSTRT=xx00 that on ECS/AGA doesn't open the display window.
But on copper list there is also DIWSTOP=xxff and on the latest WinUAE version (i've tried 4.0+) this open the video and the demo works.

So what is the exact behavior of these illegal DIW setup?

Logically patch is simple, both value need to be corrected and some other little detail in copper list also, but the 'emulation' question remain.

Yulquen74, what version of WinUAE do you use?
ross is offline  
Old 25 July 2018, 01:39   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
Galahad checks Mantis.... Zero reports.

Galahad opts to check crystal ball....... not getting anything from that either.

Galahad checks random thread on EAB...... oh, thats how we get bug reports on 16 year old WHDLoad slaves now.
Galahad/FLT is offline  
Old 25 July 2018, 01:41   #7
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
Quote:
Originally Posted by ross View Post
I've only launched the exe (not have checked the slave) but it does not seem to have big problems.
Maybe the slave do not patch the wrong DIW values?
I wrote the install on an A1200 with 060 card and 16 years later, there are issues with someones A1200 with an 060 card.

Galahad/FLT is offline  
Old 25 July 2018, 08:22   #8
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
Quote:
Originally Posted by Galahad/FLT View Post
I wrote the install on an A1200 with 060 card and 16 years later, there are issues with someones A1200 with an 060 card.

This is the Amigaaa Powaaa!


(checked on Ama*on, there are some really cheap crystal balls )
ross is offline  
Old 25 July 2018, 09:13   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by ross View Post
this is probably due to the illegal DIWSTRT=xx00 that on ECS/AGA doesn't open the display window.
Yes (it is not that simple in reality) but it can be timing sensitive, for example if display window is already open when demo switches to this copper list, window stays open, even if new DIWSTRT/STOP combination would not open it.
Toni Wilen is offline  
Old 25 July 2018, 10:11   #10
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
Quote:
Originally Posted by Toni Wilen View Post
Yes (it is not that simple in reality) but it can be timing sensitive, for example if display window is already open when demo switches to this copper list, window stays open, even if new DIWSTRT/STOP combination would not open it.
Very clear, thanks. This explains the divergent operations in the various cases
(between similar versions of real hardware and also for the different configurations of WinUAE).

This is due to the bad habits of the metal's bashers to strobe COPJMP.
That I will never understand why it is used and that generates the most various problems.
Of course, it can serve, but only in special and rare cases.
ross is offline  
Old 25 July 2018, 16:46   #11
Yulquen74
Registered User
 
Join Date: May 2013
Location: Kleppe / Norway
Posts: 266
Ross: I'm using WinUAE 4.0.0

Galahad: I see your point, and I appreciate that you took the time to read and reply to the thread, but please know that it was not meant as a formal bug report, if so I would have used your bugtracker. Since other users had gotten it working, I assumed that it was just a bit troublesome to get working on.

Update: My assumption yesterday was that I would always get it working somehow in WinUAE, so I did the bulk of the trial and error there, using the CF card from my A1200.
That assumtion was wrong, as I got it somehow working on my real A1200 today:

If I enable the NOMMU tooltype and start the demo, I first get a requester saying something like "The option NoMMU has been activated but ... the installed prog will prob not work, try a different 040/060 library".I click ignore, the demo starts, and all sequences are shown without crash, including the triangle and pyramids. But the side-effect of this tooltype set is no exit, and the converging circles effect does not display correctly (layers are like pulled apart, see picture, also happens in WinUAE with NOMMU) .

I pulled the CF card and used in WinUAE again to see if something had changed, but there was still no action during triangle/pyramid sequences.

Click image for larger version

Name:	mm.jpg
Views:	161
Size:	105.6 KB
ID:	58998
Yulquen74 is offline  
Old 25 July 2018, 17:19   #12
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
But the side-effect of this tooltype set is no exit, and the converging circles effect does not display correctly (layers are like pulled apart, see picture, also happens in WinUAE with NOMMU) .
There are several bugs in the demo (it for example accesses memory outside the 512K chip area; this causes the "byte read from $xxxx" error message), using NOMMU will only prevent WHDLoad from catching these problems but the bugs are of course not fixed. So don't expect miracles when using NOMMU.
StingRay is offline  
Old 25 July 2018, 18:29   #13
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
Quote:
Originally Posted by StingRay View Post
There are several bugs in the demo (it for example accesses memory outside the 512K chip area; this causes the "byte read from $xxxx" error message), using NOMMU will only prevent WHDLoad from catching these problems but the bugs are of course not fixed. So don't expect miracles when using NOMMU.
What is your Amiga specs so I can set Winuae to the same to capture them, this is the first time i've had any mention of bugs in 16 years
Galahad/FLT is offline  
Old 25 July 2018, 18:33   #14
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
Quote:
Originally Posted by Yulquen74 View Post
Ross: I'm using WinUAE 4.0.0

Galahad: I see your point, and I appreciate that you took the time to read and reply to the thread, but please know that it was not meant as a formal bug report, if so I would have used your bugtracker. Since other users had gotten it working, I assumed that it was just a bit troublesome to get working on.

Update: My assumption yesterday was that I would always get it working somehow in WinUAE, so I did the bulk of the trial and error there, using the CF card from my A1200.
That assumtion was wrong, as I got it somehow working on my real A1200 today:

If I enable the NOMMU tooltype and start the demo, I first get a requester saying something like "The option NoMMU has been activated but ... the installed prog will prob not work, try a different 040/060 library".I click ignore, the demo starts, and all sequences are shown without crash, including the triangle and pyramids. But the side-effect of this tooltype set is no exit, and the converging circles effect does not display correctly (layers are like pulled apart, see picture, also happens in WinUAE with NOMMU) .

I pulled the CF card and used in WinUAE again to see if something had changed, but there was still no action during triangle/pyramid sequences.

Attachment 58998
Dont stress dude, its just that if I didnt happen upon this thread by accident, I wouldnt have known it had bugs still, and that after all is what we are all trying to fix.

I've fixed all the DIW bugs in the copperlist, now I just to wait on Stingray for the access fault reports and we can get it 100% on your machine, just weird that it was done on my old A1200 tower with 060 card, and these bugs didnt manifest themselves at the time, especially as the bits that dont work on your machine I had to check as the demo uses Kickstart for the very things that don't work on your machine.
Galahad/FLT is offline  
Old 25 July 2018, 19:44   #15
sneeker
Registered User
 
Join Date: Mar 2008
Location: Manchester!
Posts: 308
Just tried this, A1200, Apollo 1240, whdload 18.3, ClassicWb 3.9.

I get Exception "Access Fault"($7008)
PC = $63E82
Byte Read frp, $2EF1764

Educated guess its at the same point as Yulquen as Ive never watched the demo before.
sneeker is offline  
Old 25 July 2018, 19:50   #16
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,657
Quote:
Originally Posted by Galahad/FLT View Post
Galahad checks Mantis.... Zero reports.

Galahad opts to check crystal ball....... not getting anything from that either.

Galahad checks random thread on EAB...... oh, thats how we get bug reports on 16 year old WHDLoad slaves now.
Hehe. I think I'm guilty of posting in this forum about slave errors too T'is true I do not play as much WHDLoad as a few years ago. What, pray, is this Mantis of which you speak?
Photon is offline  
Old 25 July 2018, 19:55   #17
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by Galahad/FLT View Post
now I just to wait on Stingray for the access fault reports and we can get it 100% on your machine

The reason for the "out of bounds" memory access is at offset $2fe8e in the binary (absolute location is $34000+$2fe8e=$63e8e) and should be easy to fix as just the cmp.l #$fffdff,a1 instruction needs to be corrected.



Also look out for missing BPLCON0 color bits in the copperlists, there are a few.



Quote:
Originally Posted by sneeker View Post
Just tried this, A1200, Apollo 1240, whdload 18.3, ClassicWb 3.9.

I get Exception "Access Fault"($7008)
PC = $63E82
Byte Read frp, $2EF1764

Educated guess its at the same point as Yulquen as Ive never watched the demo before.

It's the "demo accesses memory outside the 512k" problem I've mentioned above.
StingRay is offline  
Old 25 July 2018, 20:08   #18
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,136
Quote:
Originally Posted by Photon View Post
What, pray, is this Mantis of which you speak?
When you use the bug report form on the install page for the demo, it sooner or later ends up on the Mantis Bug Tracker.
You can also make a bug report directly on the Bug Tracker.
Retroplay is offline  
Old 25 July 2018, 20:49   #19
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
Quote:
Originally Posted by StingRay View Post
The reason for the "out of bounds" memory access is at offset $2fe8e in the binary (absolute location is $34000+$2fe8e=$63e8e) and should be easy to fix as just the cmp.l #$fffdff,a1 instruction needs to be corrected.
I'm for a rewrite for the "random generator" through ROM patterns.
Two bird with a stone: no more ROM required by the slave and no more dumb absolute address check (so no more Access Fault error).

Quote:
Also look out for missing BPLCON0 color bits in the copperlists, there are a few.
The little details I was mentioning
ross is offline  
Old 25 July 2018, 20:52   #20
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by ross View Post
I'm for a rewrite for the "random generator" through ROM patterns.
Two bird with a stone: no more ROM required by the slave and no more dumb absolute address check (so no more Access Fault error).

That's Galahad's decision. I would do it your way as well.



Quote:
The little details I was mentioning
I mentioned them in post #4 too, just a bit more subtle.
StingRay 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
Suggestion : Triangle Gigademo 3 Foul Games images which need to be WHDified 14 30 March 2015 08:47
One for PMC ;) h0ffman Coders. General 1 30 November 2010 12:51
Pinball Fantasies HD version by Triangle MethodGit request.Old Rare Games 0 04 November 2010 21:36
Dr T's Tiger Cub Music Seq. MANUAL please? grant request.Other 1 29 October 2009 09:36
Old (80s) Triangle Intro/Demo? Dunny request.Demos 28 09 July 2007 18:26

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 07:44.

Top

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