User Tools

Site Tools


jdm:pc9801:textmode

This is an old revision of the document!


NEC PC-9801 - Text mode

Screen layout

By default, video memory is stored at A000h:offset for characters and A200h:offset for attributes - both are stored as 16-bit words.

Attribute bits

  • bit 0 - rendered (1), hidden (0)
  • bit 1 - blink (1)
  • bit 2 - reverse video (1)
  • bit 3 - underline (1)
  • bit 4 - VL/BG ???
  • bit 5 - blue (1)
  • bit 6 - red (1)
  • bit 7 - green (1)

Bits 5-7 will function as effective 8-level grayscale on monochrome displays, with values 0 through 7 respectively providing brighter grayscale levels.

jdm/pc9801/textmode.1640444895.txt.gz · Last modified: 2021/12/25 15:08 by asie