title: How to move the cursor with x86 BIOS calls?
body: <p>I'm doing some operating system tutorials from the book &quot;Operating systems from 0 to 1&quot;. One of the exercises is to set the cursor to a position on the screen in the bootloader. However, no matter what I try, the cursor only stays in the same position, at the top left.</p>
  <p>To make things more confusing, in the book, it mentions that the registers I need to set before raising interrupt 10h are <code>bh</code> for the Y coordinate and <code>bl</code> for the X coordinate. Wikipedia mentions <code>bh</code> for page number, <code>dh</code> and <code>dl</code> for the row and column. Neither of these methods have worked for me.</p>
  <p>Here is the function I am using (using the book method):</p>
  <pre><code>MovCursor:
      pusha
  
      mov ah, 0x02
  
      mov bh, 0x1
      mov bl, 0x4
  
      int 0x10
  
      popa
  </code></pre>
  <p>Any help to tell me what I am doing wrong would be greatly appreciated.</p>