View Single Post
Old 19 June 2023, 18:54   #19
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 397
Quote:
The core idea is to use SHRES pixels to simulate dots on a display screen. Each dot is made up of four pixels arranged in a 2x2 matrix. These pixels can be assigned RGBW values, representing red, green, blue, and white elements of the dot. The eye perceives these pixels as a single dot with a color determined by the mix of the pixel colors.

To represent the dots on a screen, a raster matrix is used. The dots are stored as bytes in a linear buffer, and two bitplanes are used to display each dot. The bits in the byte determine the elements (A, B, C, D) of the dot, and additional selector bitplanes are used to distinguish between the elements. The combination of base colors and selector bitplanes creates a palette of dot colors.

However, there are spurious bits between the desired dots, which cannot be eliminated without additional processing. To address this, an extra selector bitplane is added to differentiate between desired dots and middle dots. The middle dots are mixes of the adjacent desired dots, and their colors need to be adjusted to achieve the desired visual effect.

Different color models, like RGBW, can be used to assign values to the base colors. The combinations of base colors and selector bitplanes result in a total of 256 dot color combinations. The proposed solution involves eliminating the third selector bitplane and assigning the same RGB values to the bit pairs %01 and %10, which reduces the scanlines-like effect and avoids the need for additional DMA slots.

Overall, this method allows for the simulation of dots using pixels and the creation of a dots palette with various color combinations on display screens like CRT, LCD, and LED.
So what do you think, is ChatGPT more or less right in its analysis?
pixie is online now  
 
Page generated in 0.06382 seconds with 10 queries