Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Component/Console
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox component | component = Console | type = io | subtype = display }} Console is a 80x24 text display. [[File:Component Console Multiple.png|thumb|361x361px|4 Console screens put together for bigger resolution]] [[File:Component Console filled CP850.png|thumb|Console full of text (Normal Mode)]]Inputs: # '''Offset''' (32 bit) - This input dictates the address offset for the screen. It's useful when your video memory is allocated at some offset of PC's RAM and not in a separate RAM component.It's also useful when you want to put multiple Console screens together to achieve bigger resolutions. === Working with Console === Firstly, connect a {{Component|RAM}} component to the Console using the [[Link Components]] button on the right-top side. Then, you need to choose the display mode: [[File:Component Console Color Mode.png|thumb|298x298px|Console (Color Mode)]] ==== Normal Mode ==== In this mode, every byte of RAM is representing a character defined by the [[Code Page]]. ==== Color Mode ==== In this mode, each character takes 7 bytes. (It's 8 byte aligned for convenience.) The first byte is the same as in Normal Mode. Next 3 bytes represent the character color (in "RRRRRRRR GGGGGGGG BBBBBBBB" format). And the last 3 bytes represent the character's background color (same format). ''<sup>Note: If you're using 64 bit cells for your RAM, then the lowest byte will be the character and highest the blue component of background.</sup>''
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Component
(
edit
)
Template:Infobox/styles.css
(
edit
)
Template:Infobox component
(
edit
)
Template:Truthtable/styles.css
(
edit
)