Mode 13h

320x200320×200320×200 at 256 coloursone non-planar mode
Mode 13h is the standard 256-color mode on VGA graphics hardware introduced in 1987 with the IBM PS/2.wikipedia
33 Related Articles

Video Graphics Array

VGAVGA graphicsVGA card
Mode 13h is the standard 256-color mode on VGA graphics hardware introduced in 1987 with the IBM PS/2.

Planar (computer graphics)

planarbit planebit-plane format
Mode 13h is something of a curiosity, because the VGA is a planar device from a hardware perspective, and not suited to chunky graphics operation.
The later VGA includes one non-planar mode which sacrifices memory efficiency for more convenient access.

Mode X

Video tweakingX-Modes
This is more complicated for the programmer, but allows access to all of the available video memory and other benefits (see Mode X).
The primary advantage of Mode X is that it has square pixels: a resolution of 320×240 instead of the standard VGA Mode 13h which is 320×200.

INT 10H

INT 1010hVideoBIOS
In x86 assembly language the mode is entered when AL is 13h, AH is 0 and BIOS INT 10h is executed.

Graphics hardware

video hardwarecomputer graphics hardwarecomputer-graphics hardware
Mode 13h is the standard 256-color mode on VGA graphics hardware introduced in 1987 with the IBM PS/2.

IBM Personal System/2

PS/2IBM PS/2Personal System/2
Mode 13h is the standard 256-color mode on VGA graphics hardware introduced in 1987 with the IBM PS/2.

Pixel

megapixelpxMP
It has a resolution of 320×200 pixels.

PC game

computer gamecomputer gamesPC
It was used extensively in computer games and art/animation software of the late 1980s and early to mid-1990s.

Art

artisticart formart design
It was used extensively in computer games and art/animation software of the late 1980s and early to mid-1990s.

Computer animation

computer-animatedcomputer animatedCGI
It was used extensively in computer games and art/animation software of the late 1980s and early to mid-1990s.

BIOS

ROM BIOSSystem BIOSBasic Input/Output System
"13h" refers to the number of the mode in the VGA BIOS.

Hexadecimal

hex0x16
The "h" stands for hexadecimal; it is actually mode 19 in decimal.

Programmer

software developercomputer programmerdeveloper
Mode 13h provides programmers with a linear 320x200 block of video memory, where each byte represents one pixel.

Dynamic random-access memory

DRAMvideo memorydynamic RAM
Mode 13h provides programmers with a linear 320x200 block of video memory, where each byte represents one pixel.

Aspect ratio (image)

4:3aspect ratio16:9
Given the aspect ratio of a 320×200 resolution screen for use on a 4:3 display, Mode 13h does not have square pixels.

Display resolution

resolutionscreen resolutionVideo resolution
Given the aspect ratio of a 320×200 resolution screen for use on a 4:3 display, Mode 13h does not have square pixels.

Pixel aspect ratio

square pixelaspect ratiosquare pixels
Given the aspect ratio of a 320×200 resolution screen for use on a 4:3 display, Mode 13h does not have square pixels.

Hardware store

hardwarehardware storeshardware shop
Mode 13h is something of a curiosity, because the VGA is a planar device from a hardware perspective, and not suited to chunky graphics operation.

Kibibyte

KiBKBkibibytes
The VGA has 256 KiB of video memory consisting of 4 banks of 64 KiB, known as planes (or 'maps' in IBM's documentation).

Multi-Color Graphics Array

MCGAMulticolor Graphics Adapter (MCGA)
Unlike SVGA and higher color depths, Mode 13h, part of the MCGA set of video modes, has 18 bits of color, 6 per channel.

Digital-to-analog converter

DACDACsD/A
The palette data is not stored in memory per se, but rather modified, read and written to by low level I/O port calls, to the DAC registers.

Data

statistical datascientific datadatum
The color palette data was often copied from the low level ports one at a time to a spot in memory after the screen data so the colors could be saved along with the pixels they belonged to.

X86 assembly language

x86 assemblyIntel syntaxassembly language
In x86 assembly language the mode is entered when AL is 13h, AH is 0 and BIOS INT 10h is executed.

QuickBASIC

Microsoft QuickBASICQuick BasicQuickBASIC 4.00
However, the "h" is sometimes dropped for languages that don't support that method of notation; for example, it is known as screen mode 13 in QuickBasic and its spinoffs.

C (programming language)

CC programming languageC language
In C, hexadecimal 13 is written 0x13.