I'm learning assembly and I'm trying to do a simple read from keyboard / print to keyboard using BIOS calls. So far I have the following:
loop:
    xor ah, ah
    int 0x16        ; wait for a charater
    mov ah, 0x0e
    int 0x10        ; write character
    jmp loop
This works fine until someone presses the enter key - it seems that the CR (\r) is being processed but not the newline (\n), as the cursor moves to the start of the current line, rather than the start of the next line.
Any ideas?