Wired Console Screen
From GMod Wiki
Wiremod Tool | Back |
Brief
Allows messages to be shown using the CPU chip or expression chip (with some difficulty).
Instructions
Primary fire creates a screen.
Inputs
- Char - The Ascii code of the character you wish to write at the current XY position on the screen.
- CharParam - The background/forground color of the character.
- CharX - X position of the cursor.
- CharY - Y position of the cursor.
- Clk - On/Off
Outputs
- Memory - Hi-speed output. Connects to other hi-speed wire devices.
Useful hints
- Screens have min/max pixel addresses: 0 - 29 for X (horizontal), 0 - 17 for Y (vertical)
Example
Address Information
Address | Contents |
Even # - 0,2,4... | Character displayed. |
Odd # - 1,3,5... | Parameters - LBBBFFF. L is nonzero to make this character flash. BBB is background colour, one digit each for red, green and blue. FFF is background colour, same format. |
2031 | Low shift column |
2032 | High shift column |
2033 | Low shift row |
2034 | High shift row |
2035 | Charset, always 0 |
2036 | Brightness (-127..127) |
2037 | Shift cells * Obsolete * |
2038 | Shift rows (number of rows, >0 shift down, <0 shift up) |
2039 | Clear Row (Written value specifies the row) |
2040 | Clear Column (Written value specifies the column) |
2041 | Clear Screen |
2042 | Background Color (When BG color is 000, it will be replaced by this color.) |
2043 | Cursor Blink Rate, in seconds |
2044 | Cursor Size, in percent (.25 = 1/4 of the character height) |
2045 | Cursor Address |
2046 | Cursor Enabled (Default = 0)(Confirmation needed) |
2047 | Clk (Same as Clk input) |
Note: Information pulled from this topic.
Expression Gate 2 Support
This display screen can be used with the expression gate 2.
The command to use is: XWL:writeString(S,N,N(,N,N,N)) which you can learn more about on the Expression 2 page Wire_Expression2