English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 July 2023, 12:08   #1021
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
I can confirm, there can be small potential problems with the intro initialization code and I understand why in rare cases it can crash on startup.

However even if it has nothing to do with the crash I'd be curious to know why the coder used that weird manual interlace setting via VPOSW

Quote:
Originally Posted by rutra80 View Post
No I start it via mounting the archive as floppy. I might record video of how it is - are you interested in A500, A1200 issue, or both?
Well, if it's not a problem, post the video(s).
But are there different issues? Or is it the same for A500 and A1200?

However I really don't think they are problems related to the emulation, but to some display settings (or due to the 'inversion' of the LOF in the intro).
ross is offline  
Old 28 July 2023, 13:25   #1022
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Seems like usual bug, KS vblank interrupt is running and if KS 3.1+ (and no system level interlace screen active): LOF bit is set in KS routine.

Not sure if LOF "detection" position was confirmed (or it was display specific?)

(2023 and there are still wrong right border copper waits..)
Toni Wilen is offline  
Old 28 July 2023, 13:26   #1023
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Here are some explanations:
https://www.pouet.net/prod.php?which=94588

My A500 config seems to have no issues from what you say, I'll post video of my A1200 config with unexpected scanlines and supposedly LOF inversion problem.

EDIT: Toni - if quickconfig for A1200 uses KS3.0 then it might be it - my manual A1200 config uses KS3.1 IIRC (though would inversion of the LOF generate scanlines?), I'll post more in the evening...

Last edited by rutra80; 28 July 2023 at 13:37.
rutra80 is offline  
Old 28 July 2023, 14:01   #1024
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Quote:
Originally Posted by Toni Wilen View Post
Seems like usual bug, KS vblank interrupt is running and if KS 3.1+ (and no system level interlace screen active): LOF bit is set in KS routine.
Yep, this, plus more.

Quote:
Originally Posted by rutra80 View Post
if quickconfig for A1200 uses KS3.0 then it might be it - my manual A1200 config uses KS3.1
Yes, this.

But maybe a full fix for the intro is better.
It's not complicated, I'll do it tonight.
ross is offline  
Old 28 July 2023, 21:40   #1025
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Into the Zone! Capsule-SyntroN fix.

Patches:
- AGA and ECS proper recognition
- KS31 bad LOF fix
- No more crash on KS13 and NTSC
- Sine scroll centered
- border as it should be
- some fixex on copper list
- a bit less glitchy (not much, there is a memory leak somewhere)

It should work on any configuration...but i haven't tested it much.
Please test it.
ross is offline  
Old 28 July 2023, 21:53   #1026
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Ok everything confirmed - there's LOF inversion problem on KS3.1
I think there's no need for video as it's enough to switch A1200 quickconfig to KS3.1 and Fullscreen with proper scaling (integer) and you shall see that scanlines of unknown to me origin.
rutra80 is offline  
Old 28 July 2023, 21:59   #1027
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Quote:
Originally Posted by rutra80 View Post
Ok everything confirmed - there's LOF inversion problem on KS3.1
I think there's no need for video as it's enough to switch A1200 quickconfig to KS3.1 and Fullscreen with proper scaling (integer) and you shall see that scanlines of unknown to me origin.
Does the fix work correctly?

I forgot to mention that I also eliminated the wacky VPOSW interlacing for a normal BPLCON0 LACE bit
ross is offline  
Old 28 July 2023, 22:03   #1028
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
KS: 3.1
Line mode: Double
Interlaced line mode: Double frames
Scaling: Integer

All seems fine except that isometrics seem borked:
Attached Thumbnails
Click image for larger version

Name:	original.png
Views:	86
Size:	39.7 KB
ID:	79757   Click image for larger version

Name:	fixed.png
Views:	87
Size:	52.7 KB
ID:	79758  
rutra80 is offline  
Old 28 July 2023, 22:14   #1029
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Quote:
Originally Posted by rutra80 View Post
All seems fine except that isometrics seem borked:
It doesn't 'seems', it is.
It depends on where it loads the hunks, or the use of fast-ram, and there are (little) differences.
It's the memory leak I was talking about, it's lucky that it doesn't crash or glitch very badly.

But I won't fix that, in case the coder will take care of it
In any case he clearly specified that it is not a finished product, so that's okay.
ross is offline  
Old 28 July 2023, 22:24   #1030
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Yeah too many bugs making me wonder if it's intro or WinUAE, everything is explained now. Hope at least you had some fun with it
rutra80 is offline  
Old 29 July 2023, 20:26   #1031
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Quote:
Originally Posted by ross View Post
Into the Zone! Capsule-SyntroN fix.

Patches:
- AGA and ECS proper recognition
- KS31 bad LOF fix
- No more crash on KS13 and NTSC
- Sine scroll centered
- border as it should be
- some fixex on copper list
- a bit less glitchy (not much, there is a memory leak somewhere)

It should work on any configuration...but i haven't tested it much.
Please test it.
Real unexpanded KS 3.1 A1200 results:

Original: OSSC won't sync, OSSC display flickers between two different refresh rates (impossible to see values because display updates continuously)

Fix: works, middle isometric cube structure part looks ugly (swapped fields?). Otherwise it looks ok. Bottom scroller first few topmost lines jumping horizontally slightly, the rest of scroller is smooth. Also some random pixels appears and disappears mid screen, these don't appear in UAE.

Looks almost identical to A1200 WinUAE in fields+ mode.
Toni Wilen is offline  
Old 15 August 2023, 16:03   #1032
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,558
Go 64! v2.0 - import (Crack Intro) by World Of Wonders => http://janeway.exotica.org.uk/release.php?id=23517

Check the intro "WOW-CrGo64V2.adf" file from the above link...
There is a boot block and it seems WinUAE has some problem with F7 PAL <=> NTSC option !? (it freezes)



264 Line Object (Demo) by Northstar => http://janeway.exotica.org.uk/release.php?id=14124

Some distortion in the music after a while! (need to listen a little longer)



2nd Demo (Demo) by Mafia => http://janeway.exotica.org.uk/release.php?id=89678

Some top line glitches on the screen! (QS 1.2 OCS 512) EDIT: No glitches if disk is inserted after WB floppy screen!
Ps. No glitches on Denise! (same config)

Last edited by amilo3438; 15 August 2023 at 17:17.
amilo3438 is offline  
Old 15 August 2023, 18:03   #1033
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Quote:
Originally Posted by amilo3438 View Post
Check the intro "WOW-CrGo64V2.adf" file from the above link...
There is a boot block and it seems WinUAE has some problem with F7 PAL <=> NTSC option !? (it freezes)
This is due to some dumb code that expects a custom write-only register to return 0 as the value (write-only registers must not be read, content is undefined!).
WinUAE return $FFFF and the very same value is written in BEAMCON0 -> NOSYNC video state.
ross is offline  
Old 15 August 2023, 18:12   #1034
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,558
Quote:
Originally Posted by ross View Post
This is due to some dumb code that expects a custom write-only register to return 0 as the value (write-only registers must not be read, content is undefined!).
WinUAE return $FFFF and the very same value is written in BEAMCON0 -> NOSYNC video state.
I wonder how it behaves on a real machine? (maybe the solution is to make it to return 0 as the value)

Last edited by amilo3438; 15 August 2023 at 18:17.
amilo3438 is offline  
Old 15 August 2023, 18:31   #1035
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,223
Quote:
Originally Posted by amilo3438 View Post
I wonder how it behaves on a real machine? (maybe the solution is to make it to return 0 as the value)
On A1200 it seems like just reading from $dff1dc modifies the register! On plain A1200
move.w $dff1dc,d0
sets NTSC mode! Likely "bus noise" is written, since move.w #$20,$dff1dc before and it's "fine". With 060 enabled monitor looses sync from plain write (again probably due to bus noise thing), if I do move.w #$20,$dff180 / move.w $dff1dc,d0 it's also fine. Move 0 to color0 and it changes to NTSC mode.
paraj is offline  
Old 15 August 2023, 18:43   #1036
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,498
Quote:
Originally Posted by paraj View Post
On A1200 it seems like just reading from $dff1dc modifies the register! On plain A1200
move.w $dff1dc,d0
sets NTSC mode! Likely "bus noise" is written, since move.w #$20,$dff1dc before and it's "fine". With 060 enabled monitor looses sync from plain write (again probably due to bus noise thing), if I do move.w #$20,$dff180 / move.w $dff1dc,d0 it's also fine. Move 0 to color0 and it changes to NTSC mode.
The ADF does a single bset #5,BEAMCON0, used as a toggle..
So nice
ross is offline  
Old 15 August 2023, 18:46   #1037
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Reading write-only register always causes write. What CPU reads and what gets written to register (they are not same) depends on many things, for example what DMA or CPU did in previous cycle, hardware model, chipset model, CPU type. There is no simple generic solution.

EDIT: A500 68000 should have been mostly correct already, need to check this later..

Last edited by Toni Wilen; 16 August 2023 at 08:13.
Toni Wilen is offline  
Old 18 August 2023, 15:23   #1038
amilo3438
Amiga 500 User
 
Join Date: Jun 2013
Location: EU
Posts: 1,558
New 3D Intro (Demo) by Phalanx ... http://janeway.exotica.org.uk/release.php?id=2117

JFI... Another bitplane/refresh cycle conflict side-effect! (bad only in ECS)


Demo Disk 51 Intro (Intro) by Ipec Elite ... http://janeway.exotica.org.uk/release.php?id=21764

Not sure what happened here!? (Note: From pack disks works!)

Last edited by amilo3438; 18 August 2023 at 16:02.
amilo3438 is offline  
Old 20 September 2023, 20:49   #1039
PiCiJi
Registered User
 
PiCiJi's Avatar
 
Join Date: Sep 2003
Location: germany
Age: 45
Posts: 455
Jim Power "Two Live Crew" crack hangs. it modifies the blitter while it's running and disables "Skip B" and "Skip Y" same time.
When this happens and Stage X is active, the crack intro expects "probably" Stage A to be active in addition to Stage Y.
At least another "shifter bit" is necessary so that the blitter counts down faster.

Last edited by PiCiJi; 21 September 2023 at 08:07.
PiCiJi is offline  
Old 21 September 2023, 13:58   #1040
Zarnal
Registered User
 
Join Date: Feb 2018
Location: France
Posts: 509
http://ftp.amigascne.org/pub/amiga/G...C-CrTrJimPower
Zarnal 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
Problematic GVP A530 Turbo Mogsy support.Hardware 22 13 November 2012 19:12
Problematic thread? prowler project.EAB 5 28 October 2011 00:06
Problematic Holiday Lemmings 94 demo disk MethodGit support.Games 19 08 November 2010 03:56
Problematic slaves list keropi project.Killergorilla's WHD packs 44 28 November 2008 12:46
Looking for two demos... eternalcrusader request.Demos 3 01 August 2006 08:57

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

Top

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