VBITBLIT.ASM 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ;
  2. ; Command & Conquer Red Alert(tm)
  3. ; Copyright 2025 Electronic Arts Inc.
  4. ;
  5. ; This program is free software: you can redistribute it and/or modify
  6. ; it under the terms of the GNU General Public License as published by
  7. ; the Free Software Foundation, either version 3 of the License, or
  8. ; (at your option) any later version.
  9. ;
  10. ; This program is distributed in the hope that it will be useful,
  11. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ; GNU General Public License for more details.
  14. ;
  15. ; You should have received a copy of the GNU General Public License
  16. ; along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. ;
  18. ;***************************************************************************
  19. ;** C O N F I D E N T I A L --- W E S T W O O D A S S O C I A T E S **
  20. ;***************************************************************************
  21. ;* *
  22. ;* Project Name : Westwood 32 bit Library *
  23. ;* *
  24. ;* File Name : VBITBLIT.ASM *
  25. ;* *
  26. ;* Programmer : Phil W. Gorrow *
  27. ;* *
  28. ;* Start Date : June 8, 1994 *
  29. ;* *
  30. ;* Last Update : January 16, 1995 [PWG] *
  31. ;* *
  32. ;*-------------------------------------------------------------------------*
  33. ;* Functions: *
  34. ;* Linear_Blit_To_Vesa -- copies graphic buffer to vesa screen *
  35. ;* Vesa_Blit_To_Linear -- Copies vesa screen to graphic buffer *
  36. ;* Vesa_Blit_To_Vesa -- Copies a section of vesa screen to vesa screen *
  37. ;* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
  38. IDEAL
  39. P386
  40. MODEL USE32 FLAT
  41. INCLUDE "mcgaprim.inc"
  42. INCLUDE ".\gbuffer.inc"
  43. GLOBAL Linear_Blit_To_Vesa :NEAR
  44. GLOBAL Vesa_Blit_To_Linear :NEAR
  45. GLOBAL Vesa_Blit_To_Vesa :NEAR
  46. CODESEG
  47. ;***************************************************************************
  48. ;* LINEAR_BLIT_TO_VESA -- copies graphic buffer to vesa screen *
  49. ;* *
  50. ;* INPUT: *
  51. ;* *
  52. ;* OUTPUT: *
  53. ;* *
  54. ;* PROTO: *
  55. ;* *
  56. ;* WARNINGS: *
  57. ;* *
  58. ;* HISTORY: *
  59. ;* 01/16/1995 PWG : Created. *
  60. ;*=========================================================================*
  61. PROC Linear_Blit_To_Vesa C near
  62. ret
  63. ENDP Linear_Blit_To_Vesa
  64. ;***************************************************************************
  65. ;* VESA_BLIT_TO_LINEAR -- Copies vesa screen to graphic buffer *
  66. ;* *
  67. ;* *
  68. ;* *
  69. ;* INPUT: *
  70. ;* *
  71. ;* OUTPUT: *
  72. ;* *
  73. ;* PROTO: *
  74. ;* *
  75. ;* WARNINGS: *
  76. ;* *
  77. ;* HISTORY: *
  78. ;* 01/16/1995 PWG : Created. *
  79. ;*=========================================================================*
  80. PROC Vesa_Blit_To_Linear C near
  81. ret
  82. ENDP Vesa_Blit_To_Linear
  83. ;***************************************************************************
  84. ;* VESA_BLIT_TO_VESA -- Copies a section of vesa screen to vesa screen *
  85. ;* *
  86. ;* INPUT: *
  87. ;* *
  88. ;* OUTPUT: *
  89. ;* *
  90. ;* PROTO: *
  91. ;* *
  92. ;* WARNINGS: *
  93. ;* *
  94. ;* HISTORY: *
  95. ;* 01/16/1995 PWG : Created. *
  96. ;*=========================================================================*
  97. PROC Vesa_Blit_To_Vesa C near
  98. ret
  99. ENDP Vesa_Blit_To_Vesa
  100. END