ST Video Modes: Difference between revisions
No edit summary |
(Added detailed information about the ST video modes) |
||
Line 1: | Line 1: | ||
'''ST Video Modes''' |
'''ST Video Modes''' |
||
+ | |||
− | * Describe video modes, make a table with below information, which machines support these |
||
+ | The ST has three main video modes: two colour modes which are designed for display on a CRT television or colour monitor; and one high-resolution but monochrome video mode designed for display on a monochrome monitor. |
||
− | ** [[ST Lows|Low resolution]]: 320 * 200, 4-bits per pixel (16 colours), 50hz or 60hz |
||
+ | The electrical signal characteristics of the colour modes and the monochrome mode are different enough that there was no monitor originally available that could display all three. These days, some VGA monitors or televisions are capable of displaying all the modes. |
||
− | ** [[ST Medium|Medium resolution]]: 640 * 200, 2-bits per pixel (4 colours), 50hz or 60 hz |
||
+ | |||
− | ** [[ST High|High resolution]]: 640 * 400, monochrome, 72hz? |
||
+ | Available modes depends on which monitor is connected to the video socket. If a monochrome monitor is detected then the machine will display monochrome mode only. Otherwise, the two colour modes are available (selectable in software). |
||
⚫ | |||
+ | |||
+ | Frame rate (50Hz or 60Hz) is switchable in software, but initially set on bootup by TOS - with the frequency depending on the TOS region. System clock speed is also slightly different depending on the region where the machine was sold: a 32.084988 MHz crystal is installed for PAL machines, and a 32.215905 MHz crystal for NTSC. |
||
+ | |||
+ | Every video mode displays, by default, exactly 32,000 bytes of data, with a trade-off of more displayed pixels with a smaller colour palette, or fewer pixels but a greater colour palette, as per the table below. |
||
+ | |||
+ | All video modes are displayed with a border on all four sides. This border is not accessible for displaying pixels the usual way, but software techniques make this possible. |
||
+ | |||
+ | {| class="wikitable" |
||
+ | |+ Standard modes |
||
+ | |- |
||
+ | ! Mode name !! Compatible monitor !! Resolution !! Displayable colours !! Frame rate |
||
+ | |- |
||
+ | | Low || Colour / TV || 320x200 || 16 (4 bits) || 50/60Hz |
||
+ | |- |
||
+ | | Medium || Colour / TV || 640x200 || 4 (2 bits) || 50/60Hz |
||
+ | |- |
||
+ | | High || Monochrome / VGA || 640x400 || 2 (1 bit) || 71.2 Hz |
||
+ | |} |
||
+ | |||
+ | {| class="wikitable" |
||
+ | |+ Video Frame Characteristics |
||
+ | |- |
||
+ | ! Mode !! Pixel clock rate !! Scanlines per frame !! CPU clocks / scanline !! HSync Freq |
||
+ | |- |
||
+ | | Low (50Hz) || 8MHz || 313 || 512 || 15.666 KHz |
||
+ | |- |
||
+ | | Low (60Hz) || 8MHz || 262 || 508 || 15.666 KHz |
||
+ | |- |
||
+ | | Medium (50Hz) || 16MHz || 313 || 512 || 15.666 KHz |
||
+ | |- |
||
+ | | Medium (60Hz) || 16MHz || 262 || 508 || 15.666 KHz |
||
+ | |- |
||
+ | | High (71.2Hz) || 32MHz || 501 || 224 || 35.809 KHz |
||
+ | |- |
||
+ | |} |
||
+ | <small>HSync timing is given for PAL machines, for NTSC machines they will be about 100Hz faster due to the faster crystal.</small> |
||
+ | |||
+ | '''TODO''' |
||
⚫ | |||
* See also [[Videl]] |
* See also [[Videl]] |
||
* How to set video mode in desktop |
* How to set video mode in desktop |
||
* How to set video mode in asm, GFA etc |
* How to set video mode in asm, GFA etc |
||
+ | * How to connect an ST up to a monitor, or a modern VGA alternative |
||
<br /> |
<br /> |
Latest revision as of 09:39, 30 December 2023
ST Video Modes
The ST has three main video modes: two colour modes which are designed for display on a CRT television or colour monitor; and one high-resolution but monochrome video mode designed for display on a monochrome monitor. The electrical signal characteristics of the colour modes and the monochrome mode are different enough that there was no monitor originally available that could display all three. These days, some VGA monitors or televisions are capable of displaying all the modes.
Available modes depends on which monitor is connected to the video socket. If a monochrome monitor is detected then the machine will display monochrome mode only. Otherwise, the two colour modes are available (selectable in software).
Frame rate (50Hz or 60Hz) is switchable in software, but initially set on bootup by TOS - with the frequency depending on the TOS region. System clock speed is also slightly different depending on the region where the machine was sold: a 32.084988 MHz crystal is installed for PAL machines, and a 32.215905 MHz crystal for NTSC.
Every video mode displays, by default, exactly 32,000 bytes of data, with a trade-off of more displayed pixels with a smaller colour palette, or fewer pixels but a greater colour palette, as per the table below.
All video modes are displayed with a border on all four sides. This border is not accessible for displaying pixels the usual way, but software techniques make this possible.
Mode name | Compatible monitor | Resolution | Displayable colours | Frame rate |
---|---|---|---|---|
Low | Colour / TV | 320x200 | 16 (4 bits) | 50/60Hz |
Medium | Colour / TV | 640x200 | 4 (2 bits) | 50/60Hz |
High | Monochrome / VGA | 640x400 | 2 (1 bit) | 71.2 Hz |
Mode | Pixel clock rate | Scanlines per frame | CPU clocks / scanline | HSync Freq |
---|---|---|---|---|
Low (50Hz) | 8MHz | 313 | 512 | 15.666 KHz |
Low (60Hz) | 8MHz | 262 | 508 | 15.666 KHz |
Medium (50Hz) | 16MHz | 313 | 512 | 15.666 KHz |
Medium (60Hz) | 16MHz | 262 | 508 | 15.666 KHz |
High (71.2Hz) | 32MHz | 501 | 224 | 35.809 KHz |
HSync timing is given for PAL machines, for NTSC machines they will be about 100Hz faster due to the faster crystal.
TODO
- Talk about VBL's, HBL's, Video shifter
- See also Videl
- How to set video mode in desktop
- How to set video mode in asm, GFA etc
- How to connect an ST up to a monitor, or a modern VGA alternative