Save eax after boot, so we can check that we're actually loaded via

multiboot
This commit is contained in:
Thomas Lovén 2017-10-24 22:27:48 +02:00
parent d80e87991e
commit dda15ea889

View File

@ -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