modes.ppi 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1993,97 by the Free Pascal development team.
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. const
  12. {$ifndef TEST_24BPP}
  13. VESANumber=13;
  14. {$else TEST_24BPP}
  15. VESANumber=17;
  16. {$endif TEST_24BPP}
  17. VESAModes : Array[0..VESANumber-1] of word=
  18. ( $100 { 640x400x256 }
  19. ,$101 { 640x480x256 }
  20. ,$110 { 640x480x32K }
  21. ,$111 { 640x480x64k }
  22. ,$103 { 800x600x256 }
  23. ,$113 { 800x600x32k }
  24. ,$114 { 800x600x64k }
  25. ,$105 { 1024x768x256 }
  26. ,$116 { 1024x768x32k }
  27. ,$117 { 1024x768x64k }
  28. ,$107 { 1280x1024x256 }
  29. ,$119 { 1280x1024x32K }
  30. ,$11A { 1280x1024x64K }
  31. {$ifdef TEST_24BPP}
  32. ,$112 { 640x480x16M }
  33. ,$115 { 800x600x16M }
  34. ,$118 { 1024x768x16M }
  35. ,$11B { 1280x1024x16M }
  36. {$endif TEST_24BPP}
  37. );
  38. {
  39. $Log$
  40. Revision 1.4 1998-11-19 15:09:39 pierre
  41. * several bugfixes for sector/ellipse/floodfill
  42. + graphic driver mode const in interface G800x600x256...
  43. + added backput mode as in linux graph.pp
  44. (clears the background of textoutput)
  45. Revision 1.3 1998/11/18 09:34:36 pierre
  46. * wrong VesaNumber with 24 bit modes
  47. Revision 1.2 1998/11/18 09:31:38 pierre
  48. * changed color scheme
  49. all colors are in RGB format if more than 256 colors
  50. + added 24 and 32 bits per pixel mode
  51. (compile with -dDEBUG)
  52. 24 bit mode with banked still as problems on pixels across
  53. the bank boundary, but works in LinearFrameBufferMode
  54. Look at install/demo/nmandel.pp
  55. Revision 1.1.1.1 1998/03/25 11:18:42 root
  56. * Restored version
  57. Revision 1.5 1998/01/26 11:58:22 michael
  58. + Added log at the end
  59. Working file: rtl/dos/ppi/modes.ppi
  60. description:
  61. ----------------------------
  62. revision 1.4
  63. date: 1997/12/04 08:52:35; author: florian; state: Exp; lines: +14 -13
  64. + vesa mode 1280x1024x256 added
  65. ----------------------------
  66. revision 1.3
  67. date: 1997/12/03 15:24:20; author: florian; state: Exp; lines: +2 -2
  68. Graph.SetGraphMode for DOS added
  69. ----------------------------
  70. revision 1.2
  71. date: 1997/12/01 12:21:31; author: michael; state: Exp; lines: +14 -0
  72. + added copyright reference in header.
  73. ----------------------------
  74. revision 1.1
  75. date: 1997/11/27 08:33:51; author: michael; state: Exp;
  76. Initial revision
  77. ----------------------------
  78. revision 1.1.1.1
  79. date: 1997/11/27 08:33:51; author: michael; state: Exp; lines: +0 -0
  80. FPC RTL CVS start
  81. =============================================================================
  82. }