Commit b0622631 authored by deuce's avatar deuce
Browse files

Add two new modes... ST132X37_16_9 and ST132X52_5_4

These are 132 column modes which use 8x16 fonts and have 16:9 and 5:4
aspect ratios respectively... DigitalMan hates them!  ;-)
parent 7aea2490
......@@ -184,9 +184,16 @@ enum text_modes
MONO28,
MONO43,
MONO50,
MONO60,
MONO60, // 38
C4350 = C80X50, /* this is actually "64" in the "real" conio */
/* New modes we've added 'cause they're cool */
ST132X37_16_9,
ST132X52_5_4,
/* Cruft... */
C4350 = C80X50, /* this is actually "64" in the "real" conio */
_ORIGMODE = 65, /* original mode at program startup */
......
......@@ -109,6 +109,9 @@ struct video_params vparams[] = {
{VESA_132X50, COLOUR_PALETTE, 132, 50, 7, 7, 8, 8, 1},
/* VESA 60x132 mode */
{VESA_132X60, COLOUR_PALETTE, 132, 60, 7, 7, 8, 8, 1},
/* Awesome modes */
{ST132X37_16_9, COLOUR_PALETTE, 132, 40, 14, 15, 16, 8, 1},
{ST132X52_5_4, COLOUR_PALETTE, 132, 40, 14, 15, 16, 8, 1},
};
uint32_t palettes[5][16] = {
......
......@@ -108,7 +108,7 @@ enum {
,ATARI_PALETTE
};
extern struct video_params vparams[50];
extern struct video_params vparams[52];
#define NUMMODES (sizeof(vparams) / sizeof(struct video_params))
extern uint32_t palettes[5][16];
extern struct dac_colors dac_default[TOTAL_DAC_SIZE];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment