Changes

Gate Array

1,970 bytes removed, 21:31, 28 January 2010
/* Note */
The firmware keeps track of the colours it is using. Every VSYNC (assuming interrupts are enabled) the firmware sets the colours. This enables the user to have flashing colours. If the user selects a new colour using the gate array, the new colour will flash temporarily and then return to its original colour. This is due to the firmware resetting the colour. When using the firmware, use its routines to select the colour, and the colour will remain.
 
{| class="FCK__ShowTableBorders"
|-
| ''Firmware Colour Number''
| ''Colour Name''
| ''Hardware Number''
| ''Quick reference colour value''
| ''Colour''
|-
| 0
| Black
| 20
| &54
| bgcolor="#000000" |
|-
| 1
| Blue
| 4
| &44
| bgcolor="#000080" |
|-
| 2
| Bright Blue
| 21
| &55
| bgcolor="#0000ff" |
|-
| 3
| Red
| 28
| &5C
| bgcolor="#800000" |
|-
| 4
| Magenta
| 24
| &58
| bgcolor="#800080" |
|-
| 5
| Mauve
| 29
| &5D
| bgcolor="#8000ff" |
|-
| 6
| Bright Red
| 12
| &4C
| bgcolor="#ff0000" |
|-
| 7
| Purple
| 5
| &45
| bgcolor="#ff0080" |
|-
| 8
| Bright Magenta
| 13
| &4D
| bgcolor="#ff00ff" |
|-
| 9
| Green
| 22
| &56
| bgcolor="#008000" |
|-
| 10
| Cyan
| 6
| &46
| bgcolor="#008080" |
|-
| 11
| Sky Blue
| 23
| &57
| bgcolor="#0080ff" |
|-
| 12
| Yellow
| 30
| &5E
| bgcolor="#808000" |
|-
| 13
| White
| 0
| &40
| bgcolor="#808080" |
|-
| 14
| Pastel Blue
| 31
| &5F
| bgcolor="#8080ff" |
|-
| 15
| Orange
| 14
| &4E
| bgcolor="#ff8000" |
|-
| 16
| Pink
| 7
| &47
| bgcolor="#ff8080" |
|-
| 17
| Pastel Magenta
| 15
| &4F
| bgcolor="#ff80ff" |
|-
| 18
| Bright Green
| 18
| &52
| bgcolor="#00ff00" |
|-
| 19
| Sea Green
| 2
| &42
|-
| 20
| Bright Cyan
| 19
| &53
| bgcolor="#00ffff" |
|-
| 21
| Lime
| 26
| &5A
| bgcolor="#80ff00" |
|-
| 22
| Pastel Green
| 25
| &59
| bgcolor="#80ff80" |
|-
| 23
| Pastel Cyan
| 27
| &5B
| bgcolor="#80ffff" |
|-
| 24
| Bright Yellow
| 10
| &4A
| bgcolor="#ffff80" |
|-
| 25
| Pastel Yellow
| 3
| &43
| bgcolor="#ffff80" |
|-
| 26
| Bright White
| 11
| &4B
| bgcolor="#ffffff" |
|}
 
This chart also gives a quick reference guide for programming the colours. The number is the colour number which can be sent directly, once the pen has been selected, to get the colour wanted.
Example:
ret
</pre>
 
==== Palette R,G,B definitions ====
6,388
edits