Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.9 KiB

  1. //
  2. // This code is temporary. When Insignia supplies rom support, it should
  3. // be removed.
  4. //
  5. /* x86 v1.0
  6. *
  7. * XBIOSVID.H
  8. * Guest ROM BIOS video emulation
  9. *
  10. * History
  11. * Created 20-Oct-90 by Jeff Parsons
  12. * 17-Apr-91 Trimmed by Dave Hastings for use in temp. softpc
  13. *
  14. * COPYRIGHT NOTICE
  15. * This source file may not be distributed, modified or incorporated into
  16. * another product without prior approval from the author, Jeff Parsons.
  17. * This file may be copied to designated servers and machines authorized to
  18. * access those servers, but that does not imply any form of approval.
  19. */
  20. /* BIOS video functions
  21. */
  22. #define VIDFUNC_SETMODE 0x00
  23. #define VIDFUNC_SETCURSORTYPE 0x01
  24. #define VIDFUNC_SETCURSORPOS 0x02
  25. #define VIDFUNC_QUERYCURSORPOS 0x03
  26. #define VIDFUNC_QUERYLPEN 0x04
  27. #define VIDFUNC_SETACTIVEPAGE 0x05
  28. #define VIDFUNC_SCROLLUP 0x06
  29. #define VIDFUNC_SCROLLDOWN 0x07
  30. #define VIDFUNC_READCHARATTR 0x08
  31. #define VIDFUNC_WRITECHARATTR 0x09
  32. #define VIDFUNC_WRITECHAR 0x0A
  33. #define VIDFUNC_SETPALETTE 0x0B
  34. #define VIDFUNC_WRITEPIXEL 0x0C
  35. #define VIDFUNC_READPIXEL 0x0D
  36. #define VIDFUNC_WRITETTY 0x0E
  37. #define VIDFUNC_QUERYMODE 0x0F
  38. #define VIDFUNC_EGASETPALETTE 0x10
  39. #define VIDFUNC_EGASELECTFONT 0x11
  40. #define VIDFUNC_EGASELECTMISC 0x12
  41. #define VIDFUNC_EGAWRITESTRING 0x13
  42. #define VIDFUNC_VGADISPLAYCODES 0x1A
  43. #define VIDFUNC_VGAQUERYSTATE 0x1B
  44. #define VIDFUNC_VGASAVERESTORE 0x1C
  45. #define VIDMODE_MONO 7
  46. /* BIOS Data Area video locations
  47. */
  48. #define VIDDATA_CRT_MODE 0x449
  49. #define VIDDATA_CRT_COLS 0x44A
  50. #define VIDDATA_CRT_LEN 0x44C
  51. #define VIDDATA_CRT_START 0x44E
  52. #define VIDDATA_CURSOR_POSN 0x450
  53. #define VIDDATA_CURSOR_MODE 0x460
  54. #define VIDDATA_ACTIVE_PAGE 0x462
  55. #define VIDDATA_ADDR_6845 0x463
  56. #define VIDDATA_CRT_MODE_SET 0x465
  57. #define VIDDATA_CRT_PALETTE 0x466