|
re回复:re回复:编译最新内核4.16-rc5时出现问题
还需要修改字符串长度,原来是16,增加9个字符变成25
DispStr:
mov ax, BootMessage
mov bp, ax ; ES:BP = 串地址
mov cx, 25 ; CX = 串长度,该处修改字符串长度 2018-4-6 kj
mov ax, 01301h ; AH = 13, AL = 01h
mov bx, 000ch ; 页号为0(BH = 0) 黑底红字(BL = 0Ch,高亮)
mov dl, 0
int 10h ; 10h 号中断
ret
|