summaryrefslogtreecommitdiff
path: root/src/kernel/isrs.asm
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
committerBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
commit47513bd32c256c4f35e3a8ced7d9fd7e15903530 (patch)
treecafdf75d52a954814726e07445063c41bb6599f9 /src/kernel/isrs.asm
parentbd7facc4b5f53481dc85a15ba123361b2758655b (diff)
downloadportland-os-47513bd32c256c4f35e3a8ced7d9fd7e15903530.tar.gz
terminal application with ipc, shift+pause state dumper, hello world for terminal, meminfo popup program
Diffstat (limited to 'src/kernel/isrs.asm')
-rw-r--r--src/kernel/isrs.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/kernel/isrs.asm b/src/kernel/isrs.asm
index 02b046d..a4eb988 100644
--- a/src/kernel/isrs.asm
+++ b/src/kernel/isrs.asm
@@ -23,6 +23,7 @@ extern on_kbd_isr
extern make_sure_tasks
extern exception_halt
extern pf_check_stack
+extern dump
n_syscalls equ 0x19
@@ -139,6 +140,17 @@ kbd_isr:
call on_kbd_isr
+ test eax, eax
+ jz .no_debug
+
+ push ebx
+ push esi
+ push edi
+ push eax
+ call dump
+ add esp, 16
+
+.no_debug:
mov al, 0x20
out 0x0020, al