English Amiga Board


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

 
 
Thread Tools
Old 19 March 2017, 11:25   #41
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,772
Quote:
Originally Posted by ross View Post
So LACE bit in BPLCON0 is an autotoggle.
Yes. I think it was exactly 2 cycles before end of field LOF bit toggles if LACE bit is set. Thats all LACE bit does, it does not "enable" anything, at least not directly.

EDIT: In other words: short field length - 1 in VTOTAL is correct in interlaced modes. Technically also correct in non-lace modes if LOF bit is used to select between short and long. Of course nothing prevents you to set long field - 1 in VTOTAL and leave LOF cleared.

Last edited by Toni Wilen; 19 March 2017 at 12:11.
Toni Wilen is online now  
AdSense AdSense  
Old 19 March 2017, 14:08   #42
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
With all the (imprecise) information scattered everywhere i surely missed it.
You have a link?
So there is a reference to right value for HBxxxx?
Important AGA/AAA-information can be found in this tread: http://www.a1k.org/forum/showthread....+Architecture.

Just register at http://www.a1k.org/forum/forumdisplay.php?f=23 to become a member and then you can download the file "AAA_spec.pdf" at: http://www.a1k.org/forum/attachment.php?attachmentid=40656&d=1309986249
This is the file where I found the values for a programmed PAL display (Page 70 of 5.3 Interlaced NTSC and PAL Display Modes"

Or try this link for the AGA registers: http://coppershade.org/articles/Code...Register_List/
dissident is offline  
Old 20 March 2017, 11:58   #43
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
Quote:
Originally Posted by Toni Wilen View Post
Yes. I think it was exactly 2 cycles before end of between short and long. Of course nothing prevents you to set long field - 1 in VTOTAL and leave LOF cleared.
Toni, the right sentence would be: "Of course nothing prevents you to set long field - 1 in VTOTAL and leave LOF set" (setting LACE=0 toggle LOF=1, the default behavior)
[and yes, You can set LACE=0 and force LOF=0 and set VTOTAL=max ]

The logic is: line count from 0 to VTOTAL+LOF (included)
so in laced mode the count was from ($0 to $137+0) and ($0 to $137+1) (312+313=625)


Last edited by ross; 20 March 2017 at 12:00. Reason: spelling...
ross is offline  
Old 20 March 2017, 12:04   #44
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
Quote:
Originally Posted by dissident View Post
Important AGA/AAA-information can be found in this tread: http://www.a1k.org/forum/showthread....+Architecture.

Just register at http://www.a1k.org/forum/forumdisplay.php?f=23 to become a member and then you can download the file "AAA_spec.pdf" at: http://www.a1k.org/forum/attachment.php?attachmentid=40656&d=1309986249
This is the file where I found the values for a programmed PAL display (Page 70 of 5.3 Interlaced NTSC and PAL Display Modes"

Or try this link for the AGA registers: http://coppershade.org/articles/Code...Register_List/
Hi dissident, you can zone it or is a violation of some rule?

Thanks!
ross
ross is offline  
Old 20 March 2017, 20:21   #45
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
dissident, probably i've understood why You've been fooled by all this lace/LOF/VTOTAL stuff

You've launched your test from >3.0 WB and some laced video mode?
if You LoadView(null) and take over the system You can end-up with a short frame (312 line) active if previously on laced screen!

At first LACE=0 write the problem is gone, but if You count the number of lines first..

bye,
ross is offline  
Old 20 March 2017, 20:26   #46
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
Hi dissident, you can zone it or is a violation of some rule?

Thanks!
ross
What do you mean with the verb "zone"? Are there any problems with your registration?
dissident is offline  
Old 20 March 2017, 20:34   #47
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
Quote:
Originally Posted by dissident View Post
What do you mean with the verb "zone"? Are there any problems with your registration?
no, it's not a problem, but I felt 'wrong' to register just to download a file

The Zone:
http://eab.abime.net/showthread.php?t=26201

ross is offline  
Old 20 March 2017, 20:55   #48
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
no, it's not a problem, but I felt 'wrong' to register just to download a file

The Zone:
http://eab.abime.net/showthread.php?t=26201

Why not? The file of this thread is for members only. And you want to use it, so the only way is to register there. I showed you the direct filelink, because this thread is in German thus to make it easier for you.
Anyway, feel free to introduce yourself in the english section of a1k.org and post something. People there might answer your questions, too.
dissident is offline  
Old 20 March 2017, 23:14   #49
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
Quote:
Originally Posted by dissident View Post
Why not? The file of this thread is for members only. And you want to use it, so the only way is to register there. I showed you the direct filelink, because this thread is in German thus to make it easier for you.
Anyway, feel free to introduce yourself in the english section of a1k.org and post something. People there might answer your questions, too.
"Systemmeldung:
Lieber User, bis zum 01.04.2017 sind NEU-Registrierungen nicht möglich."

Trotzdem dankeschön dissident, ich habe keine eile

Tschüss!
ross is offline  
Old 22 March 2017, 21:52   #50
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
dissident, probably i've understood why You've been fooled by all this lace/LOF/VTOTAL stuff

You've launched your test from >3.0 WB and some laced video mode?
if You LoadView(null) and take over the system You can end-up with a short frame (312 line) active if previously on laced screen!

At first LACE=0 write the problem is gone, but if You count the number of lines first..

bye,
No, I work with a standart non-interlaced hires WB-Screen on OS3.0/3.1/3.5. And here the LOF-Bit in VPOS is always set.

But you are right. I've tested it with WB 1.3. The LOF-Bit in VPOS is only set, if the WB-screen is really an interlace-screen.
dissident is offline  
Old 23 March 2017, 14:51   #51
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
If You think that this thread is derailing to much i can open a new one.


Ok, got the table:
Code:
				NTSC            PAL
Parameter                AGNUS   ANDREA  AGNUS   ANDREA
              
BRSTSTART                  27      09C     27      09C  (Burst start)
BRSTSTOP                   30      0C0     30      0C0  (Burst stop)
EQU1STOP                   1C      070     1C      070
EQU2STOP                   8D~     236     8D      236
HSSTRTX                    12      048     12      048
HSSTOPX                    23      08C     23      08C
HBSTRTX                    08      020     08      020
HBSTOPX                    2B~     0AE     2B~     0AE
HCENTERX                   71~     1C6     71~     1C6
HTOTALX                    E3      38D     E3      38D
SER1STOP                           1D2             1D2
SER2STOP                           00C             00C
CLCNTR                             1CC             1CC
MLSYNC                             214             214
VBSTRT                             000             000
VBSTOP                             014             019
VSSTRT                             003            8002  (line 2 and 1/2)
VSSTOP                             006            8005  (line 5 and 1/2)
VTOTAL                             106 (525 half   138  (625 half
				        lines per        lines per
					field)           field)
VEQUSTART                          000             000  (hardwire, no reg.)
VEQUSTOP                           009 (line 9)   8007  (line 7 and 1/2)

Note: set the NTSC or PAL bit in BEAMCON0.
~ These events actually occurred the half count after that value.
Something strange here.
It can be something seen: occasionally the US documents have the wrong PAL values.

Why HTOTALX is the same in NTSC and PAL? (38D, PAL should be 38B)
How BRSTSTOP (colour burst ) can terminate after HBSTOP? (visible noise in line..)
The other values should be right for NTSC, for PAL i have some doubt...

Comments?
Bye,

Last edited by ross; 23 March 2017 at 17:22. Reason: more polite :)
ross is offline  
Old 23 March 2017, 21:49   #52
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
If You think that this thread is derailing to much i can open a new one.
Please open your own thread. This theme gets more and more complex and has nothing to do with my start-theme.
dissident is offline  
Old 23 March 2017, 23:06   #53
ross
Omnia fert aetas

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 47
Posts: 514
Quote:
Originally Posted by dissident View Post
Please open your own thread. This theme gets more and more complex and has nothing to do with my start-theme.
You are right, please accept my apology.

ross is offline  
Old 25 March 2017, 10:37   #54
dissident
Registered User

 
Join Date: Sep 2015
Location: Germany
Posts: 74
Quote:
Originally Posted by ross View Post
You are right, please accept my apology.

Apology accepted, ross.
dissident 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
Colourswitching with BPLCON4 register in HAM-Mode (AGA) dissident Coders. Asm / Hardware 14 23 January 2017 23:21
A4000 IDE registers mark_k Coders. Asm / Hardware 6 11 May 2015 18:05
Using FPU registers? oRBIT Coders. General 16 26 April 2010 14:34
Amiga Inc. registers new brands in Germany viddi Amiga scene 7 27 February 2007 01:35
Gayle Hardware Registers bluea support.Hardware 5 09 July 2006 18:07

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 23:25.


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