B800 文本 - ModdingWiki

B800 Text:

  • Format type: Image, for CGA, EGA, VGA hardware with 4-bit colour depth and 80×25 cells size.
  • Palette: Unknown, with 16 colours from black to bright white.
  • Plane count: 2, no transparent or hitmap pixels.
  • File format: Direct dump of video memory (CGA text mode format), 4000 bytes long (80 columns × 25 rows × 2 bytes per cell), arranged in cells with each cell being 2 bytes (ASCII character + attribute byte). Attribute byte has 4 bits for background colour and 4 bits for foreground colour. Background colour intensity bit is used for flashing by default.
  • Rendering behavior: CGA/EGA/MCGA have 640 pixels horizontal resolution, while VGA has 720 pixels. VGA uses a trick where characters 192 to 223 have their eighth column duplicated for glyph width of 9 pixels to connect box and line drawing characters.
  • Detecting: Usually 80×25 with 2 bytes per cell (4000 bytes long). C# code to detect if array contains B800 related characters provided.
  • Tools: TheDraw (DOS-based text animation/screen editor running under DOSBox), TextPaint (DOS-based text screen editor), Shmansi (DOS-based text screen editor importing/exporting B800 text), ENDOOMER (DOS-based text screen editor importing/exporting B800 text with mouse support), B800 (.NET library for rendering B800 text).
  • See also: Wikipedia:Color Graphics Adapter and Wikipedia:ANSI art.
  • References: VGA-compatible text mode at http://en.wikipedia.org/wiki/... and 9th Pixel of 9x16 VGA Fonts at http://support.microsoft.com/...
阅读 8
0 条评论