i16dm.asm
来自「<BIOS研发技术剖析>书的源代码,包括完整的BIOS汇编语言源程序」· 汇编 代码 · 共 65 行
ASM
65 行
page ,132
title EXTRA FUNCTIONS IN INT16..DUMMY FILE
;---------------------------------------------------------------;
; NOTE: Do not destroy SS,DS,ES,EBP unless otherwise specified. ;
;---------------------------------------------------------------;
;*****************************************************************;
;*****************************************************************;
;** **;
;** (C)Copyright 1985-1996, American Megatrends Inc. **;
;** **;
;** All Rights Reserved. **;
;** **;
;** 6145-F, Northbelt Parkway, Norcross, **;
;** **;
;** Georgia - 30071, USA. Phone-(770)-246-8600. **;
;** **;
;*****************************************************************;
;*****************************************************************;
;---------------------------------------;
cgroup group _text
_text segment word public 'CODE'
assume cs:cgroup
.486p
;---------------------------------------;
public _I16DM_STARTS
_I16DM_STARTS label byte ; marks start of module
;-----------------------------------------------------------------------;
; SPECIAL_INT_16 ;
; input : ;
; ah function# ;
; stack available ;
; register usage -- do not destroy any register including (AH) ;
; ********************************************************************* ;
; ********************************************************************* ;
; ******* ******* ;
; ******* DO NOT DESTROY (AH) ******* ;
; ******* ******* ;
; ********************************************************************* ;
; ********************************************************************* ;
;-----------------------------------------------------------------------;
public special_int_16 ; special int 16 func if any
extrn special_int_16_end:near
special_int_16:
jmp special_int_16_end ; goback to normal INT-16 ISR
;-----------------------------------------------------------------------;
;*****************************************************************;
;*****************************************************************;
;** **;
;** (C)Copyright 1985-1996, American Megatrends Inc. **;
;** **;
;** All Rights Reserved. **;
;** **;
;** 6145-F, Northbelt Parkway, Norcross, **;
;** **;
;** Georgia - 30071, USA. Phone-(770)-246-8600. **;
;** **;
;*****************************************************************;
;*****************************************************************;
;-----------------------------------------------------------------------;
public _I16DM_ENDS
_I16DM_ENDS label byte ; marks end of module
;---------------------------------------;
_text ends
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?