Save eax after boot, so we can check that we're actually loaded via
multiboot
This commit is contained in:
parent
d80e87991e
commit
dda15ea889
@ -26,6 +26,9 @@ MultiBootHeader2End:
|
|||||||
_start:
|
_start:
|
||||||
cli
|
cli
|
||||||
|
|
||||||
|
# Save the multiboot magic number
|
||||||
|
mov ecx, eax
|
||||||
|
|
||||||
// Print a red exclamation mark in top left corner
|
// Print a red exclamation mark in top left corner
|
||||||
mov eax, 0x0421
|
mov eax, 0x0421
|
||||||
mov short [0xB8000], ax
|
mov short [0xB8000], ax
|
||||||
|
Loading…
x
Reference in New Issue
Block a user