📄 bd
字号:
@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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -