Anonymous

ULAplus: Difference between revisions

From Sinclair Wiki
59 bytes added ,  10 April 2011
m
no edit summary
mNo edit summary
Line 23: Line 23:
     01 - mode group
     01 - mode group


           This group ignores the sub-group.</pre>
           The sub-group must be zero. Sub-group entries 1-63 are reserved for mode specific controls.</pre>


0xFF3B is the data (read/write)
0xFF3B is the data (read/write)
Line 67: Line 67:
Each colour palette has 16 entries (8 for INK, 8 for PAPER). Bits 0 to 2 (INK) and 3 to 5 (PAPER)&nbsp;of the attribute byte will be used as indexes to retrieve colour data from the selected palette.
Each colour palette has 16 entries (8 for INK, 8 for PAPER). Bits 0 to 2 (INK) and 3 to 5 (PAPER)&nbsp;of the attribute byte will be used as indexes to retrieve colour data from the selected palette.


With the standard Spectrum display, the BORDER colour is the same as the PAPER colour in the first CLUT. For example BORDER 0 would set the border to the same colour as PAPER 0 (with the BRIGHT and FLASH bits not set).
With the standard Spectrum display, the BORDER colour is the same as the PAPER colour in the first CLUT. For example BORDER 0 would set the border to the same colour as PAPER 0 (with the BRIGHT and FLASH bits not set).  


The complete index can be calculated as
The complete index can be calculated as