Changes

Jump to: navigation, search

Gate Array

35 bytes added, 20:34, 30 March 2008
Fixed some formating more works needs to be done!
</pre>
<br>conversion ==== Conversion chart<br>The hardware colour number is different to the colour range used by the firmware, so a conversion chart is provided for the corresponding firmware/hardware colour values and the corresponding colour name.====
== Note ==The hardware colour number is different to the colour range used by the firmware, so a conversion chart is provided for the corresponding firmware/hardware colour values and the corresponding colour name.
===== 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 it's original colour. This is due to the firmware re- setting the colour. When using the firmware, use it's routines to select the colour, and the colour will remain. <br> {|{{Prettytable|width: 700px; font-size: 2em;}}|''Firmware Colour Number ''||''Colour Name ''||''Hardware Colour Number ''||''Quick reference hardware colour select value <br>'' |-|0 ||Black ||20 ||&amp;54 <br>|-|1 ||Blue ||4 ||&amp;44 <br>|-|2 ||Bright Blue ||21 ||&amp;55 <br>|-|3 ||Red ||28 ||&amp;5C <br>|-|4 ||Magenta ||24 ||&amp;58 <br>|-|5 ||Mauve || 29 ||&amp;5D <br>|-|6 ||Bright Red ||12 || &amp;4C <br>|-|7 ||Purple || 5 ||&amp;45 <br>|-|8 ||Bright Magenta ||13 ||&amp;4D <br>|-|9 ||Green ||22 ||&amp;56 <br>|-|10 ||Cyan ||6 ||&amp;46 <br>|-|11 ||Sky Blue ||23 ||&amp;57 <br>|-|12 ||Yellow ||30 ||&amp;5E <br>|-|13 ||White ||0 ||&amp;40 <br>|-|14 ||Pastel Blue ||31 ||&amp;5F <br>|-|15 ||Orange ||14 ||&amp;4E <br>|-|16 ||Pink ||7 ||&amp;47 <br>|-|17 ||Pastel Magenta ||15 ||&amp;4F <br>|-|18 ||Bright Green ||18 ||&amp;52 <br>|-|19 ||Sea Green ||2 ||&amp;42 <br>|-|20 ||Bright Cyan ||19 ||&amp;53 <br>|-|21 ||Lime ||26 ||&amp;5A <br>|-|22 ||Pastel Green ||25 ||&amp;59 <br>|-|23 ||Pastel Cyan ||27 ||&amp;5B <br>|-|24 ||Bright Yellow ||10 ||&amp;4A <br>|-|25 ||Pastel Yellow ||3 ||&amp;43 <br>|-|26 ||Bright White ||11 ||&amp;4B|-|}
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.
12,273
edits