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

2020-12-16 14:06

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

; this routine copies 64k code to ram segment and give control to ram. ; ; input : ;

; none ;

; stack available ;

; output: ;

; none ;

; register destroyed..ALL except DS, ES, BP ;

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

extrn copy_64k_memory:near

public copy_control_to_ram

copy_control_to_ram proc near

push es

push ds

mov es,cgroup:ram_segment

push cs

pop ds ; source segment

call copy_64k_memory

; transfer control to ram segment..

push es ; ram_segment

push offset cgroup:xxx

retf

xxx:

pop ds

pop es

xxx_exit:

ret

copy_control_to_ram endp

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

; COPY_TO_SHADOW ;

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

; this routine copies the code to asked shadow. ;

; input : ;

; ES:DI destn seg:off ;

; DS:SI source segment:offset ;

; CX #of bytes to move ;

; 0000 = 64k copy ;

; stack available ;

; output: ;

; none ;

; register destroyed..ALL except DS, ES, BP ;

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

extrn move_bytes:near

extrn enable_shadow_write:near

extrn disable_shadow_write:near


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

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

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

马上注册会员

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