From 0d8e39130806d8530918c618e123eee49f0abdaa Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 29 Mar 2022 10:32:56 +0200 Subject: [PATCH] Stuff --- bootloader/bios/memory.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootloader/bios/memory.asm b/bootloader/bios/memory.asm index 20e1efa..4f41588 100644 --- a/bootloader/bios/memory.asm +++ b/bootloader/bios/memory.asm @@ -19,7 +19,7 @@ mmap_e820: mov bp, 0 ; entry count mov eax, 0xe820 ; function reg - mov edx, 'SMAP' + mov edx, 'SMAP' ; function sig ; TODO: update es:di to e820_dt mov [es:di + 20], dword 1 ; fill @@ -27,10 +27,10 @@ mmap_e820: int 0x15 ; Do the interupt ; carry flag = (un)supported function - jc mmap_e820_fail ; Try probing instead + jc mmap_e820_fail ; Try probing instead cmp eax, edx ; eax should be = 'SMAP' - jne mmap_e820_fail ; if not then fail + jne mmap_e820_fail ; if not then fail test ebx, ebx je mmap_e820_fail