summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-05-15 11:19:23 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-05-15 11:19:23 -0400
commit735d90fa9575666124f018ad64f08db7d7ff7c63 (patch)
treef89ba2381358678038cd47c44a73ac47e01a91ae
parent36e590c6f3d8ce1b80ae93a142f777537dc3dc86 (diff)
downloadminos-735d90fa9575666124f018ad64f08db7d7ff7c63.tar.gz
Initial commit of isr.asm
-rw-r--r--isr.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/isr.asm b/isr.asm
new file mode 100644
index 0000000..9ac6bb6
--- /dev/null
+++ b/isr.asm
@@ -0,0 +1,15 @@
+int21:
+ nop
+int22:
+ nop
+int20:
+ pusha
+ mov ax, cs
+ mov ds, ax
+ mov ax, 0b800h
+ mov es, ax
+
+ mov bp, 0000h
+ mov word [es:bp+79*2], 17h << 8 | 'B'
+ popa
+ iret