私は単純な 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