Displaying characters with DOS or BIOS

All of the forementioned functions are unique in what they accomplish, but at first the abundance does seem somewhat exagerated. Int 21h AH=02h Write Character To Standard Output This function interprets the character codes 7 (Beep), 8 (Backspace), 9 (Tab), 10 (Linefeed), and 13 (Carriage return). All other character codes are displayed. Backspace is nondestructive … Read more

How buffered input works

Looking at how you defined your input buffer (buf: db 20 dup (‘$’)), I get it that you want to cut corners and have the input already $-terminated ready for re-displaying it. Sadly this messes up the required settings for the DOS input function 0Ah and your program is in serious problems with a potential … Read more

tech