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:
parent
a254376407
commit
0736576545
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user