commit 4dc7f0b4e015dad462128565f7a4831a177b7285 from: Benjamin Stürz date: Sat Oct 05 22:01:53 2024 UTC sys: add panic() commit - 495884c22d28b6cbe9bc80838c7c11caf054785b commit + 4dc7f0b4e015dad462128565f7a4831a177b7285 blob - 5b28af02d435b1ee17e468e0c04fc746b8879078 blob + 87744fc81b0c84ffb2937226cfd90dc1fd2f44b7 --- sys/kernel.asm +++ sys/kernel.asm @@ -282,7 +282,16 @@ update_cursor: mov al, bh out dx, al ret + +; bp - str +panic: + call puts +.halt: + cli + hlt + jmp .halt + section .rodata hello: db "Hello World", 10, 0