Add infinite loop to bootloader
This commit is contained in:
parent
927e25caab
commit
707d7e38b6
2 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,10 @@ start:
|
|||
mov ax, 0x0C70 ;Put bootloader adress in ax register
|
||||
mov ds, ax ;Init data segment
|
||||
|
||||
;Pause here !
|
||||
infiniteLoop:
|
||||
jmp infiniteLoop
|
||||
|
||||
;Complete the MBR with nothing
|
||||
times 510 - ($ - start) db 0x0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue