Explorar el Código

Updated bootloader example

0xAX hace 10 años
padre
commit
0736576545
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      linux-bootstrap-1.md

+ 3 - 2
linux-bootstrap-1.md

@@ -106,17 +106,18 @@ Now BIOS started to work, after all initializations, hardware checking, it needs
 jmp boot
 
 boot:
+    mov al, '!'
     mov ah, 0x0e
     mov bh, 0x00
     mov bl, 0x07
-    mov al, '!'
 
     int 0x10
     jmp $
 
 times 510-($-$$) db 0
-db 0xaa
+
 db 0x55
+db 0xaa
 ```
 
 Build and run it with: