sys7.1-doc-wip/Internal/Asm/ComVideoEqu.a
2019-07-27 22:37:48 +08:00

103 lines
4.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;
; File: ComVideoEqu.a
;
; Contains: The “extra” equates needed to complete the regular “XXXDepVideoEqu.a” files. The
; reason these equates are put here is two fold. First, the way in which a declaration
; ROM is built is generally as one assembly. As a result, it is very easy for the
; writers of declaration ROMs to spread needed equates across various files. So, this
; file keeps the original files in tact, and adds the equates that come from the other
; files that we dont need here (in the CPU ROM or System Disk).
;
; Written by: Mike Puckett
;
; Copyright: © 1991-1992 by Apple Computer, Inc., all rights reserved.
;
; This file is used in these builds: ROM
;
; Change History (most recent first):
;
; <1> 1/7/92 RB first checked in
;
; ============================== Terror History ============================
;
; <4> 6/17/91 jmp Eliminated support for PAL displays & encoder boxes since the
; version of the 4•8 & 8•24 cards that were patching out dont
; have the sRsrcs for them.
; <3> 4/4/91 jmp Started using a subversion number scheme for JMFB due to some
; impending changes in the shipping version of the card.
; <2> 2/25/91 jmp Need to fix check-in comments.
; <1> 2/25/91 jmp first checked in
;
; To Do:
;
;---------------------------------------------------
; TFB Equates
;---------------------------------------------------
CurTFBDrvrVersion EQU 6 ;This number should be coordinated with Reality.
;---------------------------------------------------
; JMFB Equates
;---------------------------------------------------
; The following are from JMFB make file…
;
ProtoVRAM Equ 0
RAMVersion Equ 0
; The following are directly from the JMFB ROM File…
;
sRsrc_Board Equ 1 ;Board sResource {May be any number in [0..127]}
sRsrc_Vid100A Equ $83 ;Video sResource ID for 1152x870, standard memory
sRsrc_Vid100B Equ $A3 ;Video sResource ID for 1152x870, expanded memory
sRsrc_Vid100C Equ $93 ;24 bit sResource duplicate of sRsrc_Vid100A
sRsrc_Vid100D Equ $B3 ;24 bit sResource duplicate of sRsrc_Vid100B
sRsrc_Vid57A Equ $81 ;Video sResource ID for 640x870, standard memory
sRsrc_Vid57B Equ $A1 ;Video sResource ID for 640x870, expanded memory
sRsrc_Vid57C Equ $91 ;24 bit sResource duplicate of sRsrc_Vid57A
sRsrc_Vid57D Equ $B1 ;24 bit sResource duplicate of sRsrc_Vid57B
sRsrc_Vid30A Equ $86 ;Video sResource ID for 640x480, standard memory
sRsrc_Vid30B Equ $A6 ;Video sResource ID for 640x480, expanded memory
sRsrc_Vid30C Equ $96 ;24 bit sResource duplicate of sRsrc_Vid30A
sRsrc_Vid30D Equ $B6 ;24 bit sResource duplicate of sRsrc_Vid30B
sRsrc_Vid16A Equ $82 ;Video sResource ID for Rubik, standard memory
sRsrc_Vid16B Equ $A2 ;Video sResource ID for Rubik, expanded memory
sRsrc_Vid16C Equ $92 ;24 bit sResource duplicate of sRsrc_Vid16A
sRsrc_Vid16D Equ $B2 ;24 bit sResource duplicate of sRsrc_Vid16B
sRsrc_Vid12A Equ $8C ;Video sResource ID for NTSC, standard memory
sRsrc_Vid12B Equ $AC ;Video sResource ID for NTSC, expanded memory
sRsrc_Vid12C Equ $9C ;24 bit sResource duplicate of sRsrc_Vid12A
sRsrc_Vid12D Equ $BC ;24 bit sResource duplicate of sRsrc_Vid12B
sRsrc_Vid12Au Equ $84 ;Video sResource ID for NTSC underscan, standard memory
sRsrc_Vid12Bu Equ $A4 ;Video sResource ID for NTSC underscan, expanded memory
sRsrc_Vid12Cu Equ $94 ;24 bit sResource duplicate of sRsrc_Vid12A
sRsrc_Vid12Du Equ $B4 ;24 bit sResource duplicate of sRsrc_Vid12B
If ForROM Then
sRsrc_NumModes Equ 12 ; 6 monitor sizes * 2 memory sizes (24 bit vs. 32 bit doesn't count)
Else
sRsrc_Vid14A Equ $88 ;Video sResource ID for PAL, standard memory
sRsrc_Vid14B Equ $A8 ;Video sResource ID for PAL, expanded memory
sRsrc_Vid14C Equ $98 ;24 bit sResource duplicate of sRsrc_Vid14A
sRsrc_Vid14D Equ $B8 ;24 bit sResource duplicate of sRsrc_Vid14B
sRsrc_Vid14Au Equ $80 ;Video sResource ID for PAL underscan, standard memory
sRsrc_Vid14Bu Equ $A0 ;Video sResource ID for PAL underscan, expanded memory
sRsrc_Vid14Cu Equ $90 ;24 bit sResource duplicate of sRsrc_Vid14A
sRsrc_Vid14Du Equ $B0 ;24 bit sResource duplicate of sRsrc_Vid14B
sRsrc_NumModes Equ 16 ; 8 monitor sizes * 2 memory sizes (24 bit vs. 32 bit doesn't count)
EndIf
; To keep things sane, I (jmp) have added an equate for versions (since the 8•24 Display is
; still shipping and undergoing change)…
;
CurJMFBDrvrVersion Equ $0110 ;For versisons 1.1 and below.