diff options
author | Marvin Borner | 2019-11-20 22:17:48 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-20 22:28:30 +0100 |
commit | 0ba991750314310a5e53b0d8135aef5b1352b261 (patch) | |
tree | acae7106a24b85116cd7119bd239c3d9299f2ba8 /src/kernel/interact.asm | |
parent | 6ca5f1bcec7f0716bad5e1cdd38d41be137fe7e5 (diff) |
Began two-stage hdd bootloader and os installer
Diffstat (limited to 'src/kernel/interact.asm')
-rw-r--r-- | src/kernel/interact.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/interact.asm b/src/kernel/interact.asm index d24c79b..e2b7805 100644 --- a/src/kernel/interact.asm +++ b/src/kernel/interact.asm @@ -77,7 +77,7 @@ section .text pop fs ; load fs from 16bit stack pop es ; load es from 16bit stack pop ds ; load ds from 16bit stack - sti ; enable interrupts + ; sti ; enable interrupts db 0xCD ; opcode of INT instruction with immediate byte ib: db 0x00 cli ; disable interrupts @@ -113,7 +113,7 @@ section .text cld ; clear direction flag (so we copy forward) rep movsb ; do the actual copy (16bit stack to 32bit stack) popa ; restore registers - sti ; enable interrupts + ; sti ; enable interrupts ret ; return to caller resetpic: ; reset's 8259 master and slave pic vectors |