English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 20 July 2018, 01:14   #41
FSizzle
Registered User
 
Join Date: Nov 2017
Location: Los Angeles
Posts: 49
Quote:
updated with experimental subpixel display emulation support.
Thanks Toni! - I confirm that with this version, the delay in WinUAE matches my real A1200. You are a machine!

I'd love hear your thoughts on the "early BRDRBLNK" issue if you have chance to think about it. Very odd.
FSizzle is offline  
Old 20 July 2018, 10:32   #42
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
"Broken" border blank confirmed, single (looks like it is hires) pixel of border color is visible just before horizontal bitplane start.

AGA only, does not happen when using ECS Denise.

Odd that no one has noticed it (or at least mentioned it) previously because this is IMHO actual bug because borderblank is (was) documented as blanking the border color.. Other horizontal hires pixel issues are more like implementation details and not fully documented.
Toni Wilen is offline  
Old 20 July 2018, 11:07   #43
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
I remember having seen that border line at the left of the screen on my A1200 many years ago. Thought it was "known fact", but apparently it isn't.
meynaf is offline  
Old 20 July 2018, 12:51   #44
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
- AGA borderblank behavior is now emulated (again, only in subpixel mode)
- Not all internal variables were updated when subpixel mode/resolution was changed on the fly causing missing bitplane data in right side of display.


Quote:
Originally Posted by meynaf View Post
I remember having seen that border line at the left of the screen on my A1200 many years ago. Thought it was "known fact", but apparently it isn't.
Many probably saw it but I am not sure if anyone actually examined it and only wanted to hide it any way possible
Toni Wilen is offline  
Old 20 July 2018, 13:45   #45
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
Is it really necessary to implement these hardware 'bugs'? I'm sure the original Amiga hardware guys would much rather the machine emulated as it was designed to 'be' without all the little gremlins that sneaked their way in. Maybe bug emulation should be an option?
Steve is offline  
Old 20 July 2018, 13:51   #46
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by Steve View Post
Is it really necessary to implement these hardware 'bugs'?

Yes. It is very useful to have these hardware bugs emulated!




Quote:
Originally Posted by Steve View Post
Maybe bug emulation should be an option?

Emulation should be as close as possible to the "real deal" including all bugs and "hidden features".

Last edited by StingRay; 20 July 2018 at 16:13.
StingRay is offline  
Old 20 July 2018, 14:17   #47
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
I'm for a name change for the thread, something like:

"AGA chipset: half low-res pixel delay and related oddities"
ross is offline  
Old 20 July 2018, 14:30   #48
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by Steve View Post
Is it really necessary to implement these hardware 'bugs'? I'm sure the original Amiga hardware guys would much rather the machine emulated as it was designed to 'be' without all the little gremlins that sneaked their way in. Maybe bug emulation should be an option?
Yes. Absolutely. Accuracy is main goal.

Nothing would work (not even KS 1.x boot screen would look correct, it assumes undocumented blitter behavior) if emulation was based on documented behavior, not actual chipset behavior!

Program written under emulation should create identical output on matching real hardware configuration and vice versa. It is really annoying to code something and later notice it looks wrong on emulation/real hardware. Which is not acceptable. (I don't talk about CPU/bus speed differences, it also varies in real world. Chipset speed and behavior does not depend on CPU speed or bus speed or whatever. It is always the same.)
Toni Wilen is offline  
Old 20 July 2018, 14:48   #49
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
I'm not for emulating this kind of bug. No program will ever crash because of this.
If it's about emulation accuracy then it should be under some "more compatible" setting, not by default.

Anyway it's still not accurate this way. I remember my A1200 missing one hires (maybe shres) column at the right of the display under normal 640x256 setting (which an emulated mirror copy of the system does not do).
meynaf is offline  
Old 20 July 2018, 14:51   #50
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
I already have mentioned it is not enabled by default (because it requires much more CPU power and it is rarely needed).

Quote:
I remember my A1200 missing one hires (maybe shres) column at the right of the display under normal 640x256 setting (which an emulated mirror copy of the system does not do).
Any hires/shres "trick" wasn't even possible until now so maybe later..
Toni Wilen is offline  
Old 20 July 2018, 16:32   #51
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Ok then.

Does A4000 also show the behavior or is it only A1200 ?
meynaf is offline  
Old 20 July 2018, 17:16   #52
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by meynaf View Post
Does A4000 also show the behavior or is it only A1200 ?
Yes (just tested). Possibly there are other Lisa (this behavior is 100% Lisa internal) revision that could work differently? Or it works as designed..

My A1200 and A4000s have have same Lisa: 391227-01 (1204 R0) HP manufactured. Another A1200 has non-HP Lisa, same PN but (1207 R0).

btw, AGA borderblank extra border pixel is lores wide when I checked it on A4000 with Indivision AGA (which reads Lisa digital RGB outputs directly without any processing so it should be 100% accurate). A1200 is connected to crappy LCD via Scart with not that sharp image. (I have Indivision for A1200 too but it is currently somewhere unknown..)

So I'll change it to lores pixel unless someone else finds something else. Non-borderblank related color change delay was clearly hires wide.
Toni Wilen is offline  
Old 20 July 2018, 18:27   #53
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Tested and works properly

I need eventually DIWHIGH(STRT/STOP, H1/H0) emulation, this new visible delay hurt my patch
Or this is a WinUAE fix that need also BLPCON1 (H1/H0) (PF1!=PF2) emulation?
ross is offline  
Old 20 July 2018, 19:28   #54
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Thanks for reminding, I didn't remember that DIWHIGH H0/H1 bits are still being ignored...

Implementing this may much more complex than previous updates because DIW values are in lores pixels everywhere. But it needs to be done..

Quote:
Or this is a WinUAE fix that need also BLPCON1 (H1/H0) (PF1!=PF2) emulation?
No, this is already implemented in "subpixel" mode.
Toni Wilen is offline  
Old 21 July 2018, 02:50   #55
FSizzle
Registered User
 
Join Date: Nov 2017
Location: Los Angeles
Posts: 49
Quote:
I have Indivision for A1200 too but it is currently somewhere unknown..
@Toni. For completeness, all the tests I have done on my real A1200 have been via an Indivision Mk2. I actually thought for a while that this might somehow be responsible for some of these issues, so I also tested everything over scart. All issues noted in this thread are present in both cases.
FSizzle is offline  
Old 21 July 2018, 03:03   #56
FSizzle
Registered User
 
Join Date: Nov 2017
Location: Los Angeles
Posts: 49
Quote:
So I'll change it to lores pixel unless someone else finds something else. Non-borderblank related color change delay was clearly hires wide.
The early BRDRBLNK is a hires pixel (70ns) before bitplane data (3rd row), same width as the color delay shown on row 2.

Click image for larger version

Name:	grab.JPG
Views:	116
Size:	20.1 KB
ID:	58953
FSizzle is offline  
Old 21 July 2018, 03:49   #57
FSizzle
Registered User
 
Join Date: Nov 2017
Location: Los Angeles
Posts: 49
Upon closer analysis, it looks like the BRDRBLNK also ends 70ns early. i.e. the BRDRBLNK starts and stops 70ns early.

Click image for larger version

Name:	RightSide.jpg
Views:	110
Size:	12.7 KB
ID:	58954
FSizzle is offline  
Old 21 July 2018, 09:01   #58
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Quote:
Originally Posted by FSizzle View Post
Upon closer analysis, it looks like the BRDRBLNK also ends 70ns early. i.e. the BRDRBLNK starts and stops 70ns early.
This is reassuring, at the end the bug is "consistent".
Well, knowing it, a right DIW setup can solve everything.
ross is offline  
Old 21 July 2018, 09:09   #59
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
Quote:
Originally Posted by meynaf View Post
Anyway it's still not accurate this way. I remember my A1200 missing one hires (maybe shres) column at the right of the display under normal 640x256 setting (which an emulated mirror copy of the system does not do).
After WinUAE latest emulation update can be interesting to test in your "missing pixel" setup to search where the problem lies.
Probably system that wrongly calculate screenshift/DIWHIGH association.

[EDIT, little OT] I just don't understand the "screen opening" on line-1 (near start of vb..) by KS30+. This can generate some undesired side effect.
Maybe a patch for some prototype chipset or an aid to a hardware probe? Who knows..
Just yesterday I was trying out the new AGA emulation code and I did not understand why I've had some "first frame" garbage on screen. Then I remembered.
So system video copper list can be "wrong" or bad applied.

Last edited by ross; 21 July 2018 at 10:05.
ross is offline  
Old 21 July 2018, 16:41   #60
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by FSizzle View Post
Upon closer analysis, it looks like the BRDRBLNK also ends 70ns early. i.e. the BRDRBLNK starts and stops 70ns early.
This is also emulated now.

Quote:
Originally Posted by ross View Post
[EDIT, little OT] I just don't understand the "screen opening" on line-1 (near start of vb..) by KS30+. This can generate some undesired side effect.
Maybe a patch for some prototype chipset or an aid to a hardware probe? Who knows..
You meant that unexplained tiny DIWSTRT/DIWSTOP DDFSTRT/DDFSTOP region set at the beginning of copper list? Yes, I agree that it must be some buggy chipset workaround.
Toni Wilen 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
Alien Breed II title pixel by pixel logo removal dex project.Sprites 17 06 May 2020 15:23
Needed: A1200 Delay Line & Bandpass Filter PARALAX support.Hardware 0 04 December 2016 18:44
A1200 reset delay Cobe support.Hardware 18 09 May 2016 18:31
Problem running copper master demo on A1200 whitebird support.Demos 26 17 August 2014 17:41
Wanted - A1200 Tin Shield Bottom Half - NEW Peter MarketPlace 0 15 September 2010 17:06

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

Top

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