EGA DIP Switch Settings
| SW1 | SW2 | SW3 | SW4 | Primary Card | EGA Monitor Type | DIP Hex |
|---|---|---|---|---|---|---|
| 0 (ON) | 0 (ON) | 0 (ON) | 0 (ON) | MDA Primary + EGA | Color (40x25) | 0 |
| 1 (OFF) | 0 (ON) | 0 (ON) | 0 (ON) | MDA Primary | Color (80x25) | 1 |
| 0 (ON) | 1 (OFF) | 0 (ON) | 0 (ON) | MDA Primary + EGA | Enhanced Color (in Normal Color Mode) | 2 |
| 1 (OFF) | 1 (OFF) | 0 (ON) | 0 (ON) | MDA Primary + EGA | Enhanced Color (in Enhanced Color Mode) | 3 |
| 0 (ON) | 0 (ON) | 1 (OFF) | 0 (ON) | CGA Primary + EGA | Monochrome (CGA Color (40x25)) | 4 |
| 1 (OFF) | 0 (ON) | 1 (OFF) | 0 (ON) | CGA Primary + EGA | Monochrome (CGA Color (80x25)) | 5 |
| 0 (ON) | 1 (OFF) | 1 (OFF) | 0 (ON) | EGA Primary + MDA | Color (40x25) | 6 |
| 1 (OFF) | 1 (OFF) | 1 (OFF) | 0 (ON) | EGA Primary + MDA | Color (80x25) | 7 |
| 0 (ON) | 0 (ON) | 0 (ON) | 1 (OFF) | EGA Primary + MDA | Enhanced Color (in Normal Color Mode) | 8 |
| 1 (OFF) | 0 (ON) | 0 (ON) | 1 (OFF) | EGA Primary + MDA | Enhanced Color (in Enhanced Color Mode) | 9 |
| 0 (ON) | 1 (OFF) | 0 (ON) | 1 (OFF) | EGA Primary + CGA | Monochrome (CGA Color (40x25)) | A |
| 1 (OFF) | 1 (OFF) | 0 (ON) | 1 (OFF) | EGA Primary + CGA | Monochrome (CGA Color (80x25)) | B |
| 0 (ON) | 0 (ON) | 1 (OFF) | 1 (OFF) | reserved | reserved | reserved |
| 1 (OFF) | 0 (ON) | 1 (OFF) | 1 (OFF) | reserved | reserved | reserved |
| 0 (ON) | 1 (OFF) | 1 (OFF) | 1 (OFF) | reserved | reserved | reserved |
| 1 (OFF) | 1 (OFF) | 1 (OFF) | 1 (OFF) | reserved | reserved | reserved |
Most EGA clone cards used the same settings - perhaps defining special interpretations of the last four unused settings on the original IBM EGA.
VGA cards or other cards without such DIP switches emulated the closest appropriate DIP HEX value to store in the BDA.
Note that DIP switches are read by the PC logically reversed. A switch that is ON reads logical low (0) while a switch that is OFF reads logically high (1).
Primary Emulation Resources
- (minuszerodegrees.net) IBM EGA - Switch Settings
- (minuszerodegrees.net) IBM EGA - Installation Instructions