From cdd32146693561ed5b025e6c8a866370402ce380 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 May 2017 10:01:58 +0200 Subject: update_vga_cursor destroyed eax register, fixed --- src/stage2_functions.asm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-54-g00ecf