summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-05-12 10:01:58 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-05-12 10:01:58 +0200
commitcdd32146693561ed5b025e6c8a866370402ce380 (patch)
tree2de52d06e4a77e70a692adaecd71a6d38a9df3c1 /src
parent7b12df4784b9659cafe8cb52ced824dc9c2cd804 (diff)
downloadabaos-cdd32146693561ed5b025e6c8a866370402ce380.tar.gz
abaos-cdd32146693561ed5b025e6c8a866370402ce380.tar.bz2
update_vga_cursor destroyed eax register, fixed
Diffstat (limited to 'src')
-rw-r--r--src/stage2_functions.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stage2_functions.asm b/src/stage2_functions.asm
index 0e95580..11a77c0 100644
--- a/src/stage2_functions.asm
+++ b/src/stage2_functions.asm
@@ -105,6 +105,7 @@ inc_cursor_fini:
; update the VGA cursor on screen
update_vga_cursor:
+ push eax
push ebx
push ecx
push edx
@@ -133,6 +134,7 @@ update_vga_cursor:
pop edx
pop ecx
pop ebx
+ pop eax
ret
; check whether the end of the loaded image contains in fact the magic