diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-07-19 09:19:58 +0400 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-07-19 09:19:58 +0400 |
| commit | 37e7a5d80b88d29ae1b76fc6efc9f0b819c18c02 (patch) | |
| tree | f8b82f4ed1e2eb441f66d9c248b2d87b46fafc0f /bootloader/resetCursorPosIntBios.asm | |
| parent | cef56790ea642c4308e34c280508fdcc63a313f0 (diff) | |
| parent | a49a53e48af9bdf64fee43c3772cb654ceb8e6ab (diff) | |
Solve conflicts
Diffstat (limited to 'bootloader/resetCursorPosIntBios.asm')
| -rw-r--r-- | bootloader/resetCursorPosIntBios.asm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bootloader/resetCursorPosIntBios.asm b/bootloader/resetCursorPosIntBios.asm new file mode 100644 index 0000000..18cb0d2 --- /dev/null +++ b/bootloader/resetCursorPosIntBios.asm @@ -0,0 +1,21 @@ +resetCursorPosIntBios: + + ;Save registers + push ax + push bx + push dx + + mov ax, 0x0200 ;Move cursor interrupt + mov bx, 0x0000 ; X position + mov dx, 0x0000 ; Y Position + + ;Call 0x10 interrupt service + int 0x10 + + ;Restore registers + pop dx + pop bx + pop ax + + ;Back to previous task + ret |
