SVGAPRIM.INC 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 S T U D I O S **
  20. ;***************************************************************************
  21. ;* *
  22. ;* Project Name : Westwood 32 bit Library *
  23. ;* *
  24. ;* File Name : SVGAPRIM.INC *
  25. ;* *
  26. ;* Programmer : Phil W. Gorrow *
  27. ;* *
  28. ;* Start Date : December 8, 1994 *
  29. ;* *
  30. ;* Last Update : December 8, 1994 [PWG] *
  31. ;* *
  32. ;*-------------------------------------------------------------------------*
  33. ; Externs from VIDEO.CPP module of the VIDEO library
  34. GLOBAL BankTable :DWORD
  35. GLOBAL VesaFunc :DWORD
  36. GLOBAL XRes :DWORD
  37. GLOBAL YRes :DWORD
  38. GLOBAL CurrentMode :DWORD
  39. global cpu_video_page :dword
  40. global cpu_page_limit :dword
  41. ; Externs from VESA.ASM module of the SVGAPRIM library
  42. GLOBAL Vesa_Asm_Set_Win :NEAR
  43. GLOBAL Vesa_Asm_Next_Win :NEAR
  44. ; Externs from VGETPIX.ASM module of the SVGA/MCGAPRIM library
  45. GLOBAL Vesa_Get_Pixel :NEAR
  46. ; Externs from VPUTTPIX.ASM module of the SVGA/MCGAPRIM library
  47. GLOBAL Vesa_Put_Pixel :NEAR
  48. ; Externs from VCLEAR.ASM module of the MCGA/SVGAPRIM library
  49. GLOBAL Vesa_Clear :NEAR
  50. ; Externs from VBITBLIT.ASM module of the MCGA/SVGAPRIM library
  51. GLOBAL Linear_Blit_To_Vesa :NEAR
  52. GLOBAL Vesa_Blit_To_Linear :NEAR
  53. GLOBAL Vesa_Blit_To_Vesa :NEAR
  54. ; Externs from VTOBUFF.ASM module of the SVGA/MCGAPRIM library
  55. GLOBAL Vesa_To_Buffer :NEAR
  56. ; Externs from VTOPAGE.ASM module of the SVGA/MCGAPRIM library
  57. GLOBAL Vesa_Buffer_To_Page :NEAR
  58. ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library
  59. GLOBAL Linear_Scale_To_Vesa :NEAR
  60. GLOBAL Vesa_Scale_To_Linear :NEAR
  61. GLOBAL Vesa_Scale_To_Vesa :NEAR
  62. ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library
  63. GLOBAL Vesa_Print :NEAR