modes.ppi 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.1 1998-12-21 13:07:04 peter
  41. * use -FE
  42. Revision 1.4 1998/11/19 15:09:39 pierre
  43. * several bugfixes for sector/ellipse/floodfill
  44. + graphic driver mode const in interface G800x600x256...
  45. + added backput mode as in linux graph.pp
  46. (clears the background of textoutput)
  47. Revision 1.3 1998/11/18 09:34:36 pierre
  48. * wrong VesaNumber with 24 bit modes
  49. Revision 1.2 1998/11/18 09:31:38 pierre
  50. * changed color scheme
  51. all colors are in RGB format if more than 256 colors
  52. + added 24 and 32 bits per pixel mode
  53. (compile with -dDEBUG)
  54. 24 bit mode with banked still as problems on pixels across
  55. the bank boundary, but works in LinearFrameBufferMode
  56. Look at install/demo/nmandel.pp
  57. Revision 1.1.1.1 1998/03/25 11:18:42 root
  58. * Restored version
  59. Revision 1.5 1998/01/26 11:58:22 michael
  60. + Added log at the end
  61. Working file: rtl/dos/ppi/modes.ppi
  62. description:
  63. ----------------------------
  64. revision 1.4
  65. date: 1997/12/04 08:52:35; author: florian; state: Exp; lines: +14 -13
  66. + vesa mode 1280x1024x256 added
  67. ----------------------------
  68. revision 1.3
  69. date: 1997/12/03 15:24:20; author: florian; state: Exp; lines: +2 -2
  70. Graph.SetGraphMode for DOS added
  71. ----------------------------
  72. revision 1.2
  73. date: 1997/12/01 12:21:31; author: michael; state: Exp; lines: +14 -0
  74. + added copyright reference in header.
  75. ----------------------------
  76. revision 1.1
  77. date: 1997/11/27 08:33:51; author: michael; state: Exp;
  78. Initial revision
  79. ----------------------------
  80. revision 1.1.1.1
  81. date: 1997/11/27 08:33:51; author: michael; state: Exp; lines: +0 -0
  82. FPC RTL CVS start
  83. =============================================================================
  84. }