rdos/kernel/dosapi.asm

19 lines
210 B
NASM
Raw Normal View History

2019-04-14 21:35:55 +02:00
isr_dosmain:
cmp ah, 0x01
je isr_getc_echo
cmp ah, 0x02
je isr_putc
iret
isr_getc_echo:
mov ah, 0x00
int 0x16
cmp al, 0x00
je isr_getc_echo
iret
isr_putc:
mov al, dl
call kputc
iret