diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-07-04 20:55:53 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2018-07-04 20:55:53 -0400 |
commit | 877e9bfe8e7d9e93536f4cb4af36aac65805be11 (patch) | |
tree | aef4ef6d60f213a5fa54853ee3b45d7b2eb43ebd /isr.asm | |
parent | c19a6ee17abf862115accd15876c64b7d39a7e9c (diff) | |
download | minos-master.tar.gz |
Diffstat (limited to 'isr.asm')
-rw-r--r-- | isr.asm | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,5 +1,22 @@ int21: - nop + cmp al, .fn_table_size + jg .return + + push bx + push di + movsx bx, al + mov di, .fn_table + call [di+bx] + pop di + pop bx + + .return: + iret + + .fn_table: + dw memset + dw memcpy + .fn_table_size dw $-.fn_table int22: nop int20: |