1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 22:58:08 +00:00

Updated bootloader example

This commit is contained in:
0xAX 2015-01-04 23:05:22 +06:00
parent a254376407
commit 0736576545

View File

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