介绍bios的一些代码!色粉的说的 受伤的发生大幅啊四谛法的四谛法四谛法阿斯顿发生的是 士大夫的发生阿斯顿飞爱上
jnz cnt_alt_del
yes_cnt_alt_del:
or bp,soft_reset_bit ; msb used for soft reset
jmp short cnt_alt_del
not_cnt_alt_del:
cmp ds:word ptr [0472h],1234h
jz yes_cnt_alt_del
or bp,power_on_bit
cnt_alt_del:
;;;; ret_sp clear_64k_memory ; clear segment 0
mov ax,30h
mov ss,ax ; set stack
mov sp,100h
check_point 05h ; ======== 05
;; call StopUsbHostController ; disable USB host controller
;; call disable_all_cache ; disable all cache
call disable_all_cache ; disable all cache
call StopUsbHostController ; disable USB host controller
mov ax,cs
mov ss,ax
ret_sp clear_64k_memory ; clear segment 0
mov ax,30h
mov ss,ax ; set stack
mov sp,100h
check_point 06h ; ======== 06
call decompress_post_init
extrn _bios_to_rm:near
jmp _bios_to_rm
;---------------------------------------;
;*****************************************************************; ;*****************************************************************; ;** **;
;** (C)Copyright 1985-1996, American Megatrends Inc. **;
;** **;
;** All Rights Reserved. **;
;** **;
;** 6145-F, Northbelt Parkway, Norcross, **;
;** **;
;** Georgia - 30071, USA. Phone-(770)-246-8600. **;
;** **;
;*****************************************************************; ;*****************************************************************; ;-----------------------------------------------------------------------;
; COPY_CONTROL_TO_RAM ;