HanDs
管理员

[Delphi文章] 清除主板密码 





学习中请遵循国家相关法律法规,黑客不作恶。没有网络安全就没有国家安全

本站需要登陆后才能查看

procedure ClearCMOS;
asm
       MOV AX,0h        { 0 hex start of CMOS memory address }
@L1:   OUT 70h,AX       { Goto address of CMOS memory specified by the contents of Accumulator }
       MOV BX,AX        { Save contents of Accumulator (OUT instruction can only use Accumulator) }
       MOV AX,0h        { Put 0 hex data into CMOS memory }
       OUT 71h,AX       { Put 0 hex data into CMOS memory }
       MOV AX,BX        { Restore contents of Accumulator }
       INC AX           { Add 1 to contents of the Accumulator }
       CMP AX,03Fh      { Remmember 3F hex equals 63 Dec Have we
//put 0 hex in CMOS memory addreses from 0 Dec to 63 DEC ? }
       JNZ @L1          { Has the L1 loop run 64 times? }
end;


学习中请遵守法律法规,本网站内容均来自于互联网,本网站不负担法律责任
清除 主板 密码
#1楼
发帖时间:2016-7-9   |   查看数:0   |   回复数:0
游客组
快速回复