我制作了一个简单的16位实模式操作系统,并且我已经编写了下面的代码将光标移动到下一行,但它只移动了一次,尽管它是在有和没有其他命令的情况下多次调用。
nextLine:
pusha
mov ah, 0x2
mov bh, 0
mov dl, 0 ; move the cursor to the far left of the
; screen
inc dh ; move the cursor onto the next line
int 0x10 ; call the BIOS interupt to move the cursor
popa
ret