SVGAPRIM.INC 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ;
  2. ; Copyright 2020 Electronic Arts Inc.
  3. ;
  4. ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
  5. ; software: you can redistribute it and/or modify it under the terms of
  6. ; the GNU General Public License as published by the Free Software Foundation,
  7. ; either version 3 of the License, or (at your option) any later version.
  8. ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. ; in the hope that it will be useful, but with permitted additional restrictions
  10. ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. ; distributed with this program. You should have received a copy of the
  12. ; GNU General Public License along with permitted additional restrictions
  13. ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>.
  14. ;***************************************************************************
  15. ;** 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 **
  16. ;***************************************************************************
  17. ;* *
  18. ;* Project Name : Westwood 32 bit Library *
  19. ;* *
  20. ;* File Name : SVGAPRIM.INC *
  21. ;* *
  22. ;* Programmer : Phil W. Gorrow *
  23. ;* *
  24. ;* Start Date : December 8, 1994 *
  25. ;* *
  26. ;* Last Update : December 8, 1994 [PWG] *
  27. ;* *
  28. ;*-------------------------------------------------------------------------*
  29. ; Externs from VIDEO.CPP module of the VIDEO library
  30. GLOBAL BankTable :DWORD
  31. GLOBAL VesaFunc :DWORD
  32. GLOBAL XRes :DWORD
  33. GLOBAL YRes :DWORD
  34. GLOBAL CurrentMode :DWORD
  35. global cpu_video_page :dword
  36. global cpu_page_limit :dword
  37. ; Externs from VESA.ASM module of the SVGAPRIM library
  38. GLOBAL Vesa_Asm_Set_Win :NEAR
  39. GLOBAL Vesa_Asm_Next_Win :NEAR
  40. ; Externs from VGETPIX.ASM module of the SVGA/MCGAPRIM library
  41. GLOBAL Vesa_Get_Pixel :NEAR
  42. ; Externs from VPUTTPIX.ASM module of the SVGA/MCGAPRIM library
  43. GLOBAL Vesa_Put_Pixel :NEAR
  44. ; Externs from VCLEAR.ASM module of the MCGA/SVGAPRIM library
  45. GLOBAL Vesa_Clear :NEAR
  46. ; Externs from VBITBLIT.ASM module of the MCGA/SVGAPRIM library
  47. GLOBAL Linear_Blit_To_Vesa :NEAR
  48. GLOBAL Vesa_Blit_To_Linear :NEAR
  49. GLOBAL Vesa_Blit_To_Vesa :NEAR
  50. ; Externs from VTOBUFF.ASM module of the SVGA/MCGAPRIM library
  51. GLOBAL Vesa_To_Buffer :NEAR
  52. ; Externs from VTOPAGE.ASM module of the SVGA/MCGAPRIM library
  53. GLOBAL Vesa_Buffer_To_Page :NEAR
  54. ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library
  55. GLOBAL Linear_Scale_To_Vesa :NEAR
  56. GLOBAL Vesa_Scale_To_Linear :NEAR
  57. GLOBAL Vesa_Scale_To_Vesa :NEAR
  58. ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library
  59. GLOBAL Vesa_Print :NEAR