📄 bdg_3364.bsf
字号:
SKIP 3 bytes ; Skip block ID and size
#IF $Chipset == 0 ; $Chipset == ALMADOR
SKIP 333 bytes ; Skip data
#ELSEIF $Chipset == 1 ; $Chipset == BD-G
SKIP 237 bytes ; Skip data
#ELSEIF $Chipset == 2 ; $Chipset == MT-G
SKIP 333 bytes ; Skip data
#ELSEIF $Chipset == 3 ; $Chipset == SD-G
SKIP 229 bytes ; Skip data
#ELSEIF $Chipset >= 4 ; $Chipset == GD-G or ALVISO
SKIP 357 bytes ; Skip data
#ENDIF ; $Chipset == ALMADOR
;==============================================================================
; Block 7 - IO Software flag register table for initializaton
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 7 bytes ; Skip data
;==============================================================================
; Block 8 - MMIO Software flag register table for initializaton
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 61 bytes ; Skip data
#IF $Chipset == 0 ; $Chipset == ALMADOR
;==============================================================================
; Block 9 - Dot Clock Table.
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 264 bytes ; Skip data
#ENDIF ; $Chipset == ALMADOR
;==============================================================================
; Block 10 - Modes Removal Table.
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
SKIP 203 bytes ; Skip data
#ELSE ; $BIOS_Type == MOBILE
SKIP 163 bytes ; Skip data
#ENDIF ; $BIOS_Type == MOBILE
;==============================================================================
; Block 11 - Child Device Configuration Table.
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 1 byte ; Child structure size
; Generic device 1 data structure
SKIP 2 bytes ; Skip Device Handle
$Dev1_Type 2 bytes ; Device type
$Dev1_ID 10 bytes ; Device ID for driver
SKIP 2 bytes ; Skip AddInOffset
$Dev1_DVO 1 byte ; DVO port
$Dev1_I2C_Pin 1 byte ; I2C GPIO pin pair
$Dev1_Slave_Add 1 byte ; I2C slave address
$Dev1_DDC_Pin 1 byte ; DDC GPIO pin pair
SKIP 2 bytes ; EDID Buffer Ptr
$Dev1_DVO_Cfg 1 byte ; DVO Port config
$Dev1_Sec_DVO 1 byte ; DVO port
$Dev1_Sec_I2C_Pin 1 byte ; Secondary I2C GPIO pin pair
$Dev1_Sec_Slave_Add 1 byte ; Secondary I2C slave address
$Dev1_Sec_DDC_Pin 1 byte ; Secondary DDC GPIO pin pair
SKIP 1 byte ; Capabilities
$Dev1_DVOWiring 1 byte ; DVO Wiring
$Dev1_Sec_DVOWiring 1 byte ; DVO Wiring for secondary device
$Dev1_Type_Ex 2 bytes ; Extended device class
$Dev1_DVO_Func 1 byte ; DVO function
; Generic device 2 data structure
SKIP 2 bytes ; Skip Device Handle
$Dev2_Type 2 bytes ; Device type
$Dev2_ID 10 bytes ; Device ID for driver
SKIP 2 bytes ; Skip AddInOffset
$Dev2_DVO 1 byte ; DVO port
$Dev2_I2C_Pin 1 byte ; I2C GPIO pin pair
$Dev2_Slave_Add 1 byte ; I2C slave address
$Dev2_DDC_Pin 1 byte ; DDC GPIO pin pair
SKIP 2 bytes ; EDID Buffer Ptr
$Dev2_DVO_Cfg 1 byte ; DVO Port config
$Dev2_Sec_DVO 1 byte ; Secondary DVO port
$Dev2_Sec_I2C_Pin 1 byte ; Secondary I2C GPIO pin pair
$Dev2_Sec_Slave_Add 1 byte ; Secondary I2C slave address
$Dev2_Sec_DDC_Pin 1 byte ; Secondary DDC GPIO pin pair
SKIP 1 byte ; Capabilities
$Dev2_DVOWiring 1 byte ; DVO Wiring
$Dev2_Sec_DVOWiring 1 byte ; DVO Wiring for secondary device
$Dev2_Type_Ex 2 bytes ; Extended device class
$Dev2_DVO_Func 1 byte ; DVO function
; Generic device 3 data structure
SKIP 2 bytes ; Skip Device Handle
$Dev3_Type 2 bytes ; Device type
$Dev3_ID 10 bytes ; Device ID for driver
SKIP 2 bytes ; Skip AddInOffset
$Dev3_DVO 1 byte ; DVO port
$Dev3_I2C_Pin 1 byte ; I2C GPIO pin pair
$Dev3_Slave_Add 1 byte ; I2C slave address
$Dev3_DDC_Pin 1 byte ; DDC GPIO pin pair
SKIP 2 bytes ; EDID Buffer Ptr
$Dev3_DVO_Cfg 1 byte ; DVO Port config
$Dev3_Sec_DVO 1 byte ; Secondary DVO port
$Dev3_Sec_I2C_Pin 1 byte ; Secondary I2C GPIO pin pair
$Dev3_Sec_Slave_Add 1 byte ; Secondary I2C slave address
$Dev3_Sec_DDC_Pin 1 byte ; Secondary DDC GPIO pin pair
SKIP 1 byte ; Capabilities
$Dev3_DVOWiring 1 byte ; DVO Wiring
$Dev3_Sec_DVOWiring 1 byte ; DVO Wiring for secondary device
$Dev3_Type_Ex 2 bytes ; Extended device class
$Dev3_DVO_Func 1 byte ; DVO function
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
; Generic device 4 data structure
SKIP 2 bytes ; Skip Device Handle
$Dev4_Type 2 bytes ; Device type
$Dev4_ID 10 bytes ; Device ID for driver
SKIP 2 bytes ; Skip AddInOffset
$Dev4_DVO 1 byte ; DVO port
$Dev4_I2C_Pin 1 byte ; I2C GPIO pin pair
$Dev4_Slave_Add 1 byte ; I2C slave address
$Dev4_DDC_Pin 1 byte ; DDC GPIO pin pair
SKIP 2 bytes ; EDID Buffer Ptr
$Dev4_DVO_Cfg 1 byte ; DVO Port config
$Dev4_Sec_DVO 1 byte ; Secondary DVO port
$Dev4_Sec_I2C_Pin 1 byte ; Secondary I2C GPIO pin pair
$Dev4_Sec_Slave_Add 1 byte ; Secondary I2C slave address
$Dev4_Sec_DDC_Pin 1 byte ; Secondary DDC GPIO pin pair
SKIP 1 byte ; Capabilities
$Dev4_DVOWiring 1 byte ; DVO Wiring
$Dev4_Sec_DVOWiring 1 byte ; DVO Wiring for secondary device
$Dev4_Type_Ex 2 bytes ; Extended device class
$Dev4_DVO_Func 1 byte ; DVO function
#ENDIF ; $BIOS_Type == MOBILE
#IF $Chipset == 0 ; $Chipset == ALMADOR
; Generic device 5 data structure
SKIP 2 bytes ; Skip Device Handle
$Dev5_Type 2 bytes ; Device type
$Dev5_ID 10 bytes ; Device ID for driver
SKIP 2 bytes ; Skip AddInOffset
$Dev5_DVO 1 byte ; DVO port
$Dev5_I2C_Pin 1 byte ; I2C GPIO pin pair
$Dev5_Slave_Add 1 byte ; I2C slave address
$Dev5_DDC_Pin 1 byte ; DDC GPIO pin pair
SKIP 2 bytes ; EDID Buffer Ptr
$Dev5_DVO_Cfg 1 byte ; DVO Port config
$Dev5_Sec_DVO 1 byte ; Secondary DVO port
$Dev5_Sec_I2C_Pin 1 byte ; Secondary I2C GPIO pin pair
$Dev5_Sec_Slave_Add 1 byte ; Secondary I2C slave address
$Dev5_Sec_DDC_Pin 1 byte ; Secondary DDC GPIO pin pair
SKIP 1 byte ; Capabilities
$Dev5_DVOWiring 1 byte ; DVO Wiring
$Dev5_Sec_DVOWiring 1 byte ; DVO Wiring for secondary device
$Dev5_Type_Ex 2 bytes ; Extended device class
$Dev5_DVO_Func 1 byte ; DVO function
#ENDIF ; $Chipset == ALMADOR
; ADD-Card SPD as device #6 and #7
; They should be non-BMPable
SKIP 66 bytes ; Skip two data structures
;==============================================================================
; Block 12 - Driver default boot display
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
$Driver_Boot_Device 1 bit
$Block_Disp_Switch 1 bit
$Allow_FDOS_Disp_Switch 1 bit ; Allow FS DOS display switching
$Hot_Plug_DVO 1 bit
$Dual_View_Zoom 1 bit
$Drv_Int15_hook 1 bit
$DVD_Sprite_Clone 1 bit
$Use_110h_for_LFP 1 bit
ALIGN
$Driver_Boot_Mode_X 2 bytes ; X resolution
$Driver_Boot_Mode_Y 2 bytes ; Y resolution
$Driver_Boot_Mode_BPP 1 byte ; Pixel depth
$Driver_Boot_Mode_RR 1 byte ; Refresh rate
$Enable_LFP_Primary 1 bit
$GTF_Mode_Pruning 1 bit
$Render_Freq_Switch 1 bit
$Render_Freq_Default 1 bit
$NT4_Dual_Dsp_Clone_Spt 1 bit ; Dual display clone support for NT4
$Default_Power_Scheme 1 bit
$Sprite_Display_Assign 1 bit ; Sprite Display Assignment for When
; Overlay is Active in Clone Mode
SKIP 9 bits
ALIGN
$CUIHotK_Static_Display 1 bit
SKIP 7 bits
$Legacy_Monitor_Max_X 2 bytes
$Legacy_Monitor_Max_Y 2 bytes
$Legacy_Monitor_Max_RR 1 bytes
ALIGN
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
;==============================================================================
; Block 13 - Driver Persistence Algorithm
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
$Driver_Persist_Hotkey 1 bit
$Driver_Persist_Lid_Switch 1 bit
$Driver_Persist_PM 1 bit
$PersistHotkeyRestoreCloneMDS 1 bit
$PersistHotkeyRestoreRefreshrate 1 bit
$PersistHotkeyRestorePipe 1 bit
$PersistHotkeyRestoreMode 1 bit
$PersistEDIDRestoreMode 1 bit
$PersistHotPlugRestoreMode 1 bit
SKIP 7 bits
ALIGN
$PersistMaxConfig 1 byte
#ENDIF ; $BIOS_Type == MOBILE
;==============================================================================
; Block 14 - Pointer tables
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 1 byte ; Number of tables
$Clock_Override_Table_Ptr 2 bytes
$Clock_Override_Table_Size 2 bytes
$Clock_Override_Table, $Clock_Override_Table_Ptr, $Clock_Override_Table_Size, Offset 0 byte
#IF $Integrated_LVDS == 1 ; $Integrated_LVDS == TRUE
$LVDS_Clock_Override_Tbl_Ptr 2 bytes
$LVDS_Clock_Override_Tbl_Size 2 bytes
$LVDS_Clock_Override_Tbl, $LVDS_Clock_Override_Tbl_Ptr, $LVDS_Clock_Override_Tbl_Size, Offset 0 byte
#ENDIF ; $Integrated_LVDS == TRUE
;==============================================================================
; Block 15 - Dot Clock Override Table.
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 2 bytes ; Table X and Y
#IF $Chipset <= 3 ; $Chipset <= SD-G
SKIP 80 bytes ; Skip data
#ELSE ; $Chipset <= SD-G
SKIP 90 bytes ; Skip data
#ENDIF ; $Chipset <= SD-G
#IF $Chipset == 2 ; $Chipset == MT-G
SKIP 42 bytes ; Skip LVDS data
#ELSEIF $Integrated_LVDS == 1 ; $Integrated_LVDS == TRUE
SKIP 47 bytes ; Skip LVDS data
#ENDIF ; $Chipset == MT-G
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
;==============================================================================
; Block 16 - VBIOS/Driver Toggle list, capabilities tables
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 132 bytes ; Skip Toggle lists
ALIGN
#ENDIF ; $BIOS_Type == MOBILE
;==============================================================================
; Block 17 - Test Feature
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
$SV_Dis_Arbiter 1 bit ; Disable VGA fast arbiter
$SV_Setmode_No_DVO 1 bit ; Do Setmode without reprogramming DVO
$SV_Special_GMBus 1 bit ; Special GMBus support
SKIP 5 bits
ALIGN
SKIP 7 bytes ; Skip reserved space
;==============================================================================
; Block 18 - Driver Rotation Configuration
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
$Rot_Enable 1 bit ; Rotation Enable bit
SKIP 7 bits
$Rot_Flags 1 byte
SKIP 10 bytes ; Reserved
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
;==============================================================================
; Block 19 - Removed Display Configurations
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip block ID and size
SKIP 2 bytes ; Table Row/Size Data
SKIP 30 bytes ; Skip Removed displays table
#ENDIF ; $BIOS_Type == MOBILE
;==============================================================================
; Block 20 - OEM Customizable Modes
;------------------------------------------------------------------------------
SKIP 3 bytes ; Skip ID
SKIP 2 bytes ; Table Row/Size Data
$OEM_Mode_Flags1 1 byte
$OEM_Display_Flags1 1 byte
$OEM_Mode_X1 2 bytes
$OEM_Mode_Y1 2 bytes
$OEM_Mode_Color1 1 byte
$OEM_Mode_RRate1 1 byte
$OEM_Mode_DTD1 18 bytes
$OEM_Mode_Flags2 1 byte
$OEM_Display_Flags2 1 byte
$OEM_Mode_X2 2 bytes
$OEM_Mode_Y2 2 bytes
$OEM_Mode_Color2 1 byte
$OEM_Mode_RRate2 1 byte
$OEM_Mode_DTD2 18 bytes
$OEM_Mode_Flags3 1 byte
$OEM_Display_Flags3 1 byte
$OEM_Mode_X3 2 bytes
$OEM_Mode_Y3 2 bytes
$OEM_Mode_Color3 1 byte
$OEM_Mode_RRate3 1 byte
$OEM_Mode_DTD3 18 bytes
#IF $BIOS_Type == 1 ; $BIOS_Type == MOBILE
$OEM_Mode_Flags4 1 byte
$OEM_Display_Flags4 1 byte
$OEM_Mode_X4 2 bytes
$OEM_Mode_Y4 2 bytes
$OEM_Mode_Color4 1 byte
$OEM_Mode_RRate4 1 byte
$OEM_Mode_DTD4 18 bytes
$OEM_Mode_Flags5 1 byte
$OEM_Display_Flags5 1 byte
$OEM_Mode_X5 2 bytes
$OEM_Mode_Y5 2 bytes
$OEM_Mode_Color5 1 byte
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -