1. 软盘的读写 int 13h
ah == 0h 复位软驱
dl = 驱动器号(0表示A盘)
ah == 2h 读取数据
al = 要读的扇区数
cl = 起始扇区数
ch = 柱面(磁道)号
dh = 磁头号
dl = 驱动器号(0表示A盘)
es:bx = 数据缓冲区
2. 字符的显示 int 10h
ah = =13h 显示字符串
AL = 写模式 (see bit settings below)
= 0 string is chars only, attribute in BL, cursor not moved
= 1 string is chard only, attribute in BL, cursor moved
= 2 string contains chars and attributes, cursor not moved
= 3 string contains chars and attributes, cursor moved
BH = 页号(一般是0)
BL = attribute if mode 0 or 1 (AL bit 1=0)
CX = 字符串长度
DH = 行坐标
DL = 列坐标
ES:BP = 要显示的字符串
ah == 0Eh 在teletype模式下显示字符
al = ASCII字符
bh = 页号
bl = 前景像素颜色