📄 main.equ
字号:
;--for MainMenu------------
MainMenuRow equ 0400h
MainMenuCol equ 000ah
;-FunctionNo equ 5
FunctionNo equ 2
MenuAttribute equ Cyan+LightColor+(Blue shl 4)
MenuBarAttribute equ Red+LightColor+(Blue shl 4)
F9GotoPosn equ (Blue shl 4)
;------------------------
Black equ 0
Blue equ 1
Green equ 2
Cyan equ 3
Red equ 4
Magenta equ 5
Brown equ 6
White equ 7
DarkGray equ 8
Yellow equ 14
Brightwhite equ 15
FlashChar equ 128
LightColor equ 8
;------------------------
;;AL
KeyEsc equ 01bh
KeyEnter equ 00dh
KeyBackSpace equ 008h
;;AH
KeyALTL equ 026h
KeyALTC equ 02eh
KeyF1 equ 03bh
KeyF2 equ 03ch
KeyF3 equ 03dh
KeyF4 equ 03eh
KeyF5 equ 03fh
KeyF6 equ 040h
KeyF7 equ 041h
KeyF8 equ 042h
KeyF9 equ 043h
KeyF10 equ 044h
KeyF11 equ 085h
KeyF12 equ 086h
KeyUp equ 048h
KeyDown equ 050h
KeyLeft equ 04bh
KeyRight equ 04dh
KeyPgDn equ 051h
KeyPgUp equ 049h
KeyEnd equ 04fh
KeyHome equ 047h
;--for PCI Device----------
PCIBusNoPosn equ HeaderPosition+6
PCIDevNoPosn equ HeaderPosition+18
PCIFuncNoPosn equ HeaderPosition+32
PCIMaxBusNo equ 0fh
PCIMaxDevNo equ 1fh
PCIMaxFuncNo equ 07h
PCIListHeadPosn equ HeaderPosition+0025h-0100h-0017h
PCIListBusPosn equ PCIListHeadPosn+0004h
PCIListDevPosn equ PCIListBusPosn+0004h
PCIListFuncPosn equ PCIListDevPosn+0004h
PCIListWindowColor equ (Cyan shl 4)+Brightwhite
PCIListTextColor equ (Cyan shl 4)+Red
PCIClaassCodePosn equ HeaderPosition+1200h
PCIonitorTiltePosn equ HeaderPosition+0136h
;--for ISAIO---------------
ISAListHeadPosn equ HeaderPosition+0014h+0100h
ISAIOIndexPortPosn equ HeaderPosition+17
ISAIODataPortPosn equ HeaderPosition+42
ISAIOListFunction equ 0800h
HWMonitorTiltePosn equ HeaderPosition+0136h
UnLockPortPosn equ HeaderPosition+130fh
;--for IOSpace-------------
IOSpaceAddressPosn equ HeaderPosition+18
;--for SMBus---------------
HeaderPosRow equ 0200h
HeaderPosCol equ 0002h
HeaderPosition equ (HeaderPosRow+HeaderPosCol)
AccessPosition equ (HeaderPosition-0100h)
Header1Position equ (HeaderPosition+0100h)
Header2Position equ (HeaderPosition+0200h)
SmbusPosition equ (HeaderPosition+000fh)
SlavePosition equ (HeaderPosition+0027h)
ValueStartRow equ (HeaderPosRow+0200h)
ValueStartCol equ (HeaderPosCol+04h)
ValueEndRow equ (HeaderPosRow+0100h)
ValueEndCol equ (HeaderPosCol+32h)
KeydefinePosition equ HeaderPosition+0400h
WriteBlockRow equ 3
;---for DMI info---------
SMBiosVersionPosn equ HeaderPosition+15
SMBiosHandlerPosn equ HeaderPosition+30
SMBiosTypePosn equ HeaderPosition+41
SMBiosSizePosn equ HeaderPosition+53
;-----------------------
;OffsetValuePosn equ (Header1Position-0200h+0006h)
OffsetValuePosn equ HeaderPosition+1300h
Key1StringColor equ ((Green shl 4)+(Yellow))
Key2StringColor equ ((Cyan shl 4)+(LightColor+White))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -