bd
来自「Algorithms for Image Processing and Comp」· 代码 · 共 55 行
TXT
55 行
@c ----------------------------------------------------------------------
@node bdos, dos
@heading @code{bdos}
@subheading Syntax
@example
#include <dos.h>
int bdos(int func, unsigned edx, unsigned al);
@end example
@subheading Description
Performs a software interrupt type 0x21, passing %al and %edx as
specified, with @var{func} in %ah.
@subheading Return Value
%eax is returned.
@subheading Example
@example
/* read a character */
int ch = bdos(1, 0, 0) & 0xff;
@end example
@c ----------------------------------------------------------------------
@node bdosptr, dos
@heading @code{bdosptr}
@subheading Syntax
@example
#include <dos.h>
int bdosptr(int func, void *edx, unsigned al);
@end example
@subheading Description
Performs a software interrupt type 0x21, passing %al and %edx as
specified, with @var{func} in %ah.
@subheading Return Value
%eax is returned.
@subheading Example
@example
/* print a string */
bdos(9, "Hello, there$", 0);
@end example
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?