Skip to content

Commit

Permalink
Merge pull request #33 from techknight/add-cga-mode-5-palette
Browse files Browse the repository at this point in the history
Add CGA "mode 5"-style video palette
  • Loading branch information
fragglet authored Dec 3, 2023
2 parents 9f160e4 + aaa536d commit b37efb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ VideoPalette VideoPalettes[] = {
{{0, 0, 0}, {0, 255, 255}, {255, 0, 255}, {255, 255, 255}}},
{"CGA 2", // CGA black, red, green, yellow
{{0, 0, 0}, {0, 255, 0}, {255, 0, 0}, {255, 255, 0}}},
{"CGA 3", // CGA black, cyan, red, white (aka CGA mode 5)
{{0, 0, 0}, {0, 255, 255}, {255, 0, 0}, {255, 255, 255}}},
{"Mono Amber", // Shades of amber from a monochrome CGA display
{{0, 0, 0}, {255, 170, 16}, {242, 125, 0}, {255, 226, 52}}},
{"Mono Green", // Shades of green from a monochrome CGA display
Expand Down

0 comments on commit b37efb3

Please sign in to comment.