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

multiboot
This commit is contained in:
thomas committed 2018-03-19 20:29:40 +01:00
1 parent d80e87991e
commit dda15ea889
1 file changed
+3
+3
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