📄 io.tbl
字号:
;---------------------------------
LoadScreenAddressTBL label byte
dw GetPCIAddressFromScreen
dw GetISAAddressFromScreen
dw GetIOSAddressFromScreen
;=================================
PreLoadFunctionTable label byte
;;0.PCI Device
dw offset ds:PCIBusNo
dw offset ds:PCIDevFuncNo
dw offset ds:AccessMethod
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
;;1.ISA I/O
dw offset ds:ISAIndexPort
dw offset ds:ISADataPort
dw offset ds:ISADeviceSelect
dw offset ds:CtrlFlagTemp
dw offset ds:UnlockPort
dw offset ds:UnlockValue0
dw offset ds:UnlockValue1
dw offset ds:UnlockValue2
dw offset ds:UnlockValue3
dw offset ds:UnlockValue4
dw offset ds:UnlockValue5
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
;;2.I/O Space
dw offset ds:IOSpaceAddressBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
;;3.SMBus
dw offset ds:SmbusAddress
dw offset ds:SlaveAddress
dw offset ds:BlockReadFlag
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
;;4.MP table
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
dw offset ds:DummyBuffer
NoOfPreLoadFunctionTable equ ((($-PreLoadFunctionTable)/2)/FunctionNo)
;----------------------------------
MainFunctionTable label byte
dw GetPCIDeviceInfo
dw GetISAIOInfo
dw GetIOSpaceInfo
dw GetSMBusInfo
dw GetMPInfo
;----------------------------------
FunctionRWTable label byte
dw PCIDeviceRead
dw PCIDeviceWrite
dw ISAIORead
dw ISAIOWrite
dw IOSpaceRead
dw IOSpaceWrite
;--------------------------------------;
WinAttribTbl label byte
dw (Cyan shl 8)+0000h ,HeaderPosition ,(HeaderPosRow)+4fh
dw (Yellow shl 8)+0000h ,(SmbusPosition)-0001h,(SmbusPosition)+04h
dw (Yellow shl 8)+0000h ,SlavePosition ,(SlavePosition)+05h
NoWinAttribTbl equ ($ - offset cs:WinAttribTbl)/6
WinAttribTblG label byte
dw (((White shl 4)+Red) shl 8)+0000h,AccessPosition,AccessPosition+04h
dw ((LightColor+Cyan) shl 8)+0000h ,KeydefinePosition,(HeaderPosRow)+114fh
dw ((LightColor+Cyan) shl 8)+0000h ,(HeaderPosRow)+1400h,(HeaderPosRow)+164fh
dw (White shl 8)+0000h ,HeaderPosition+1300h, HeaderPosition+1332h
dw (White shl 8)+0000h ,Header1Position, Header1Position+1040h
;;; KenWang [050802] >>>>>>
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1000h,KeydefinePosition+1003h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1005h,KeydefinePosition+1008h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+100ah,KeydefinePosition+100dh
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+100fh,KeydefinePosition+1012h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1014h,KeydefinePosition+1017h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1019h,KeydefinePosition+101ch
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+101eh,KeydefinePosition+1021h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1023h,KeydefinePosition+1026h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1028h,KeydefinePosition+102bh
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+102dh,KeydefinePosition+1030h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1032h,KeydefinePosition+1035h
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+1037h,KeydefinePosition+103ch
dw (Key1StringColor shl 8)+0000h ,KeydefinePosition+103eh,KeydefinePosition+1045h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1100h,KeydefinePosition+1103h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1105h,KeydefinePosition+1108h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+110ah,KeydefinePosition+110dh
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+110fh,KeydefinePosition+1112h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1114h,KeydefinePosition+1117h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1119h,KeydefinePosition+111ch
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+111eh,KeydefinePosition+1121h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1123h,KeydefinePosition+1126h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1128h,KeydefinePosition+112bh
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+112dh,KeydefinePosition+1130h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1132h,KeydefinePosition+1135h
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+1137h,KeydefinePosition+113ch
dw (Key2StringColor shl 8)+0000h ,KeydefinePosition+113eh,KeydefinePosition+1145h
;;; KenWang [050802] <<<<<<
dw (((Blue shl 4)+Cyan+LightColor) shl 8)+0000h ,Header1Position,Header1Position-HeaderPosCol
dw (((Blue shl 4)+LightColor+Red) shl 8)+0000h ,Header2Position,(Header2Position)+02h
NoWinAttribTblG equ ($ - offset cs:WinAttribTblG)/6
;---------------------------------
PCIHeadAttribTbl label byte
dw (Cyan shl 8)+0000h ,HeaderPosition ,(HeaderPosRow)+4fh
dw (Yellow shl 8)+0000h ,HeaderPosition+5 ,HeaderPosition+6
dw (Yellow shl 8)+0000h ,HeaderPosition+17 ,HeaderPosition+18
dw (Yellow shl 8)+0000h ,HeaderPosition+31 ,HeaderPosition+32
NoPCIHeadAttribTbl equ ($ - offset cs:PCIHeadAttribTbl)/6
;---------------------------------
WinHeadstring label byte
dw offset ds:PCIHeadString
dw offset ds:ISAHeadString
dw offset ds:IOSpaceHeadString
dw offset ds:HeadString
WinHeadstring1 label byte
dw offset ds:HeadStringByte
dw offset ds:HeadStringWord
dw offset ds:HeadStringDWord
WinHeadstringb label byte
dw offset ds:ByteString
dw offset ds:WordString
dw offset ds:DWordString
WinHeadstring2 label byte
dw KeydefinePosition+0000h ,offset ds:KeDefine
dw KeydefinePosition+0100h ,offset ds:Ke1Define
dw KeydefinePosition+0200h ,offset ds:Ke2Define
NoWinHeadString equ ($ - offset cs:WinHeadstring2)/4
;----------------------------------
MoreInformationTBL label byte
dw DisplayPCIDeviceInformation
dw DisplayISAInformationtor
dw DisplayIOSpaceaInformation
dw DisplaySMBusInformation
;--------------------------------------;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -