中文诊断卡代码大全(BIOS_POST)(9)

2020-12-16 14:06

介绍bios的一些代码!色粉的说的 受伤的发生大幅啊四谛法的四谛法四谛法阿斯顿发生的是 士大夫的发生阿斯顿飞爱上

public power_on_init_end

extrn hreset_clear:near

public hreset_clear_end

extrn sreset_clear:near

public sreset_clear_end

extern StopUsbHostController(dummy_ret):near

extrn dummy_ret:near

extrn disable_all_cache:near

extrn shutdown_init:near

public shutdown_init_end

extrn decompress_post_init:near

;---------------------------------------;

; C O D E S E G M E N T ;

;---------------------------------------;

cgroup group _text

_text segment word public 'CODE'

assume cs:cgroup

.486p

;---------------------------------------;

public _BIOS_STARTS

_BIOS_STARTS label byte ; marks start of module

;---------------------------------------;

; FLAGS TEST (SF,ZF,PF,CF) ;

; ;---;---;---;---;---;---;---;---; ;

; ; S ; Z ; x ; A ; x ; P ; x ; C ; ;

; ;---;---;---;---;---;---;---;---; ;

; HARD RESET OR SHUTDOWN RESET ;

;---------------------------------------;

; SHUTDOWN PROCESSING ;

;---------------------------------------;

bios_suru:

cli ; test under CLI mode

cld ; ensure direction

mov ax,cs

mov ss,ax

; $$$CORE0036+ >>>

extern wake_up(wake_up_end):near

public wake_up_end

jmp wake_up ; check for wakeup

wake_up_end: ; control will come here only if wake up is not needed

; $$$CORE0036+ <<<

jmp power_on_init

power_on_init_end:

in al,kb_stat_port ; if sys_flag bit is set


中文诊断卡代码大全(BIOS_POST)(9).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:轨道尺寸--标准

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: