CPCWiki forum

General Category => Programming => Topic started by: ThomH on 14:35, 25 June 18

Title: CRTC comprehension: are the BASIC display modes lopsided?
Post by: ThomH on 14:35, 25 June 18
Per the wiki's entry on the CRTC (http://www.cpcwiki.eu/forum/www.cpcwiki.eu/index.php/CRTC):
QuoteWhen HSYNC is active Gate-Array outputs the palette colour black. If the HSYNC is set to 14 characters then black will be output for 14us.

It also provides BASIC's selections for various CRTC registers, specifically:So to me that suggests:Therefore there are six columns of border on the right but only four on the left.

Is my understanding correct? Is 48 columns the maximum width that an appropriately-calibrated monitor can show while keeping BASIC centred?
Title: Re: CRTC comprehension: are the BASIC display modes lopsided?
Post by: Longshot on 16:39, 25 June 18
Yes your understanding is correct.
About 48 : On a CTM monitor probably, but not on other monitors.
50 is probably the best way to no longer have a border on any monitor. ;D
Title: Re: CRTC comprehension: are the BASIC display modes lopsided?
Post by: ThomH on 14:08, 26 June 18
Quote from: Longshot on 16:39, 25 June 18
Yes your understanding is correct.
About 48 : On a CTM monitor probably, but not on other monitors.
50 is probably the best way to no longer have a border on any monitor. ;D
That surprises me, because but if it's what the numbers mean then so be it.

Mapping that to the other dimension, I had a quick run through CPC games that are in my memory as being 'tall' and the tallest I could find was Donkey Kong at 256 lines. Mathematically I think it should just barely fit if you assume a vertical retrace period at the slightly speedier end of the usual range — or, with the same outcome, if horizontal and vertical sizes are calibrated very slightly differently.

So I guess the largest display that would make sense for a CTM is 48 columns by 256 lines. And, as you say, for other monitors maybe a shade larger than that.
Powered by SMFPacks Menu Editor Mod