SVGAPRIM.INC (3251B)
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 9 ; TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 10 ; in the hope that it will be useful, but with permitted additional restrictions 11 ; under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 12 ; distributed with this program. You should have received a copy of the 13 ; GNU General Public License along with permitted additional restrictions 14 ; with this program. If not, see [https://github.com/electronicarts/CnC_Remastered_Collection]>. 15 16 ;*************************************************************************** 17 ;** 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 ** 18 ;*************************************************************************** 19 ;* * 20 ;* Project Name : Westwood 32 bit Library * 21 ;* * 22 ;* File Name : SVGAPRIM.INC * 23 ;* * 24 ;* Programmer : Phil W. Gorrow * 25 ;* * 26 ;* Start Date : December 8, 1994 * 27 ;* * 28 ;* Last Update : December 8, 1994 [PWG] * 29 ;* * 30 ;*-------------------------------------------------------------------------* 31 32 ; Externs from VIDEO.CPP module of the VIDEO library 33 GLOBAL BankTable :DWORD 34 GLOBAL VesaFunc :DWORD 35 GLOBAL XRes :DWORD 36 GLOBAL YRes :DWORD 37 GLOBAL CurrentMode :DWORD 38 global cpu_video_page :dword 39 global cpu_page_limit :dword 40 41 42 ; Externs from VESA.ASM module of the SVGAPRIM library 43 GLOBAL Vesa_Asm_Set_Win :NEAR 44 GLOBAL Vesa_Asm_Next_Win :NEAR 45 46 ; Externs from VGETPIX.ASM module of the SVGA/MCGAPRIM library 47 GLOBAL Vesa_Get_Pixel :NEAR 48 49 ; Externs from VPUTTPIX.ASM module of the SVGA/MCGAPRIM library 50 GLOBAL Vesa_Put_Pixel :NEAR 51 52 53 ; Externs from VCLEAR.ASM module of the MCGA/SVGAPRIM library 54 GLOBAL Vesa_Clear :NEAR 55 56 ; Externs from VBITBLIT.ASM module of the MCGA/SVGAPRIM library 57 GLOBAL Linear_Blit_To_Vesa :NEAR 58 GLOBAL Vesa_Blit_To_Linear :NEAR 59 GLOBAL Vesa_Blit_To_Vesa :NEAR 60 61 ; Externs from VTOBUFF.ASM module of the SVGA/MCGAPRIM library 62 GLOBAL Vesa_To_Buffer :NEAR 63 64 ; Externs from VTOPAGE.ASM module of the SVGA/MCGAPRIM library 65 GLOBAL Vesa_Buffer_To_Page :NEAR 66 67 ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library 68 GLOBAL Linear_Scale_To_Vesa :NEAR 69 GLOBAL Vesa_Scale_To_Linear :NEAR 70 GLOBAL Vesa_Scale_To_Vesa :NEAR 71 72 73 ; Externs from VSCALE.ASM module of the SVGA/MCGAPRIM library 74 GLOBAL Vesa_Print :NEAR