rstubs::device

Module cga

source
Expand description

Access to the screen in text-mode (CGA)

Structsยง

  • Defines the style a cga character including its background and foreground colors.
  • Representation of a cga screen cell, that consists of a character and its styling.
  • Defines the rect of a Screen. The maximum cga boundaries are (0, 0, 80, 25).
  • The screen represents the cga screen or a part of it.

Enumsยง

  • Display Color for the foreground and background of a vga cell

Constantsยง

  • The maximum screen size
  • BUFFER ๐Ÿ”’
    Address of the memory mapped text buffer
  • COLUMNS ๐Ÿ”’
    Visible rows in text mode
  • DATA ๐Ÿ”’
    Read/Write selected register
  • INDEX ๐Ÿ”’
    Graphics card register selection
  • ROWS ๐Ÿ”’
    Visible columns in text mode