Post by willymanilly on Oct 6, 2018 0:34:01 GMT
Hi all,
Has anyone had any success in displaying more than 82 non repeating characters on a single line?
When horizontal display (VDC register 1) is greater than 82, the characters at horizontal position 82 and higher seems to repeat starting at character position 42. See examples below.
For the tests I just used sys dec("cdcc"),hd,1 and then just readjusted the position of the test string so the first '1' is in the first column of the screen. The following results show only the first line of output. The + at the top of each result shows the column where the characters are replaced. The - shows which characters are used for the replacement.
For the tests I just used sys dec("cdcc"),hd,1 and then just readjusted the position of the test string so the first '1' is in the first column of the screen. The following results show only the first line of output. The + at the top of each result shows the column where the characters are replaced. The - shows which characters are used for the replacement.
The test string is "12345678901234567890123456789012345678901234567890123456789012345678901234567890ABCDEFGHIJ"
Changing the total horizontal positions, having attributes on or off, or changing the number of DRAM refresh cycles doesn't seem to affect these results.
I'd be very interested to get my hands on any examples where more than 82 horizontally displayed characters are used on the VDC.
reference:
1 2 3 4 repeat 5 6 7 8 MAX (replace chars from position 42 onwards with these when HD>82)
12345678901234567890123456789012345678901234567890123456789012345678901234567890ABCDEFGHIJ
Horizontal Displayed=80 (Default Screen - obviously will display as expected)
sys dec("cdcc"),80,1
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890
actual : 12345678901234567890123456789012345678901234567890123456789012345678901234567890
Horizontal Displayed=82 (Matches)
sys dec("cdcc"),82,1
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890AB
actual : 12345678901234567890123456789012345678901234567890123456789012345678901234567890AB
Horizontal Displayed=83
sys dec("cdcc"),83,1 + -
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890ABC
actual : 12345678901234567890123456789012345678901C34567890123456789012345678901234567890ABC
Horizontal Displayed=85
sys dec("cdcc"),85,1 +++ ---
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890ABCDE
actual : 12345678901234567890123456789012345678901CDE567890123456789012345678901234567890ABCDE
Horizontal Displayed=88
sys dec("cdcc"),88,1 ++++++ ------
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890ABCDEFGH
actual : 12345678901234567890123456789012345678901CDEFGH890123456789012345678901234567890ABCDEFGH
Horizontal Displayed=90
sys dec("cdcc"),90,1 ++++++++ --------
expected: 12345678901234567890123456789012345678901234567890123456789012345678901234567890ABCDEFGHIJ
actual : 12345678901234567890123456789012345678901CDEFGHIJ0123456789012345678901234567890ABCDEFGHIJ