X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=vgasrc%2Fvgabios.c;h=cd39cf1311a910e4e69ca6080d8a242bdabdab60;hb=efb4523d4b65999970fd3d07ac5db36b46a27daa;hp=84b112cb1483a075262c3bd8a6307ab7c0144caf;hpb=3471fdbe63f9e982ae979094b6b3e7562dae1021;p=seabios.git diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c index 84b112c..cd39cf1 100644 --- a/vgasrc/vgabios.c +++ b/vgasrc/vgabios.c @@ -1010,6 +1010,22 @@ handle_101a(struct bregs *regs) } +static u8 static_functionality[0x10] VAR16 = { + /* 0 */ 0xff, // All modes supported #1 + /* 1 */ 0xe0, // All modes supported #2 + /* 2 */ 0x0f, // All modes supported #3 + /* 3 */ 0x00, 0x00, 0x00, 0x00, // reserved + /* 7 */ 0x07, // 200, 350, 400 scan lines + /* 8 */ 0x02, // mamimum number of visible charsets in text mode + /* 9 */ 0x08, // total number of charset blocks in text mode + /* a */ 0xe7, // Change to add new functions + /* b */ 0x0c, // Change to add new functions + /* c */ 0x00, // reserved + /* d */ 0x00, // reserved + /* e */ 0x00, // Change to add new functions + /* f */ 0x00 // reserved +}; + struct funcInfo { struct segoff_s static_functionality; u8 bda_0x49[30];