:: commit c797223699c06722890183248ef059ce3f2c0de7

Sakura Nakamoto <chenrezigz@gmail.com> — 2019-07-08 20:31

parents: 3b44ce6ffc

Removed save GPR code in read_sector

diff --git a/bootsect/disk.inc b/bootsect/disk.inc
index e685eba8..4ae71394 100644
--- a/bootsect/disk.inc
+++ b/bootsect/disk.inc
@@ -13,13 +13,6 @@ read_sector:
 ; OUT:
 ; Carry if error
 
-push eax
-push ebx
-push ecx
-push edx
-push esi
-push edi
-
 push es
 pop word [.target_segment]
 mov word [.target_offset], bx
@@ -34,13 +27,6 @@ clc										; Clear carry for int 0x13 because some BIOSes may not clear it on
 int 0x13								; Call int 0x13
 
 .done:
-
-pop edi
-pop esi
-pop edx
-pop ecx
-pop ebx
-pop eax
 ret										; Exit routine
 
 align 4
tab: 248 wrap: offon