mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
Updated bootloader example
This commit is contained in:
parent
a254376407
commit
0736576545
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user