Changeset 94642 in vbox
- Timestamp:
- Apr 20, 2022 8:27:48 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/BIOS/vgatables.h
r94354 r94642 236 236 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 237 237 }, 238 #if 0 239 /* XENIX 2.2 uses mode entries Bh/Ch when loading EGA fonts. If they are 240 * all zeros, fonts can't be set. However, some versions (XENIX 2.2.3b) 241 * end up programming garbage into the fonts. We're better off with 242 * cut off VGA fonts than with complete garbage, so we leave these 243 * mode table entries zeroed. 244 */ 245 { 246 /* index=0x0b EGA font load fake mode (color) */ 247 80, 24, 8, 0x1000, /* tw, th-1, ch, slength */ 248 0x01, 0x04, 0x00, 0x07, /* sequ_regs */ 249 0x23, /* miscreg */ 250 0x70, 0x4f, 0x5c, 0x2f, 0x5f, 0x07, 0x04, 0x11, 251 0x00, 0x07, 0x06, 0x07, 0x00, 0x00, 0x00, 0x00, 252 0xe1, 0x24, 0xc7, 0x28, 0x08, 0xe0, 0xf0, 0xa3, 253 0xff, /* crtc_regs */ 254 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 255 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 256 0x00, 0x00, 0x0f, 0x00, /* actl_regs */ 257 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0xff, /* grdc_regs */ 258 }, 259 { 260 /* index=0x0c EGA font load fake mode (mono) */ 261 80, 24, 14, 0x1000, /* tw, th-1, ch, slength */ 262 0x01, 0x04, 0x00, 0x07, /* sequ_regs */ 263 0xa6, /* miscreg */ 264 0x60, 0x4f, 0x56, 0x3a, 0x51, 0x60, 0x70, 0x1f, 265 0x00, 0x0d, 0x0b, 0x0c, 0x00, 0x00, 0x00, 0x00, 266 0x5e, 0x2e, 0x5d, 0x28, 0x0d, 0x5e, 0x6e, 0xa3, 267 0xff, /* crtc_regs */ 268 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 269 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 270 0x00, 0x00, 0x0f, 0x08, /* actl_regs */ 271 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0xff, /* grdc_regs */ 272 }, 273 #else 238 274 { 239 275 /* index=0x0b no mode defined */ … … 258 294 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 259 295 }, 296 #endif 260 297 { 261 298 /* index=0x0d vga mode 0x0d */
Note:
See TracChangeset
for help on using the changeset viewer.