ijor wrote:ljbk wrote:Sorry, but i am quite sure of what i am saying.
I suspect we are talking about different things.
Are you saying that there are multiple spots for putting GLUE back in 50 Hz (the time of the initial switch to 60Hz is not important), and yet mantain the total scan length of 512 cycles (and not 508)?
Or are you saying that you do are making the line 508 cycles (which is what I mean by altering sync), but you don't mind because you get no distorsion?
Or are you talking about yet a different method to obtain +2 bytes?
If is the first case, which is what I was talking about all the time, then can you please post code or screen that shows it.
Hi !
I am talking about 60/50 timings to get a +2 bytes line no mater if it results in a 508 cycles or 512 cycles line.
To get a 512 cycles line you need a precise timing and there are not many combinations to do so.
To get a 508 cycles is much more easy but again, the first lines will bend to the left and so bitmap is distorted for about 8 lines.
Here are some examples for Glue wake up 2 using my scale (number of dots/cycles before the PAL screen starts) to get a +2 bytes line:
-41/-29 -> you get a 512 cycles line
-41/-27..-19 -> you get a 508 cycles line
-45/-29 -> you get a 512 cycles line
-45/-27..-23 -> you get a 508 cycles line
As there are more cases, it looks possible to have a code synchronized with a STOP, so with a synchro delta between 0 to 12 cycles, that could always trigger a +2 bytes line for the 1st line.
The problem is the bitmap bending.
Hope i was clear now.
Edit:
A rule working for both GLUE wake up states, to get a 508 cycles line with +2 bytes, is: "set 60 before pixel -29 and do not return to 50 before pixel -25".
So you can have your code synchronized with an HBL with a STOP leading always to a +2 bytes line with 508 cycles but with bending bitmap in case 320 pixels lines follow (i do not know yet what occurs if fullscreen lines follow: i have to test it).
By the way, this trick only allows 56 bytes and 162 bytes lines for the first line. As we only have 508 cycles, if you remove the right border, you will read 2 bytes less (42 instead of 44), leading to the same 204 bytes and not 206.
So from my point of view, without full sync, a 206 bytes lines is not possible for the 1st line, not even altering sync.
Edit2:
Bitmap bending also occurs if fullscreens lines follow a +2 bytes 60 Hz 508 cycles line.