diff --git a/kernel/trunk/data32.inc b/kernel/trunk/data32.inc index 9694902b8..4e2ecd340 100644 --- a/kernel/trunk/data32.inc +++ b/kernel/trunk/data32.inc @@ -59,6 +59,7 @@ keymap_alt: boot_tsc db 'Reading TSC',0 boot_pal_ega db 'Setting EGA/CGA 320x200 palette',0 boot_pal_vga db 'Setting VGA 640x480 palette',0 + boot_failed db 'Failed to start first app',0 boot_mtrr db 'Setting MTRR',0 boot_tasking db 'All set - press ESC to start',0 diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 261be7101..ca5c1ad3e 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -799,6 +799,9 @@ no_load_vrr_m: cmp eax,2 ; continue if a process has been loaded je first_app_found + mov esi, boot_failed + call boot_log + mov eax, 0xDEADBEEF ; otherwise halt hlt