version 1.4 | version 1.5 | |||
---|---|---|---|---|
|
| |||
ubyte is_graphics_mode() | ubyte is_graphics_mode() | |||
{ | { | |||
byte tmp; | sbyte tmp; | |||
tmp = inp( 0x3DA ); // Reset flip-flip | tmp = inp( 0x3DA ); // Reset flip-flip | |||
outp( 0x3C0, 0x30 ); // Select attr register 10 | outp( 0x3C0, 0x30 ); // Select attr register 10 | |||
tmp = inp( 0x3C1 ); // Get graphics/text bit | tmp = inp( 0x3C1 ); // Get graphics/text bit |
Legend: | |
line(s) removed in v.1.4 | |
line(s) changed | |
line(s) added in v.1.5 |