[comp.os.msdos.programmer] TSR PROGRAMMING PROBLEMS

rob@jimi.UUCP (SYS$REALNAME) (02/06/91)

In article <8266@ucdavis.ucdavis.edu>, chiang@iris.ucdavis.edu (Tom Chiang) writes:
> [some code deleted]

>kidone:
>	push dx ----- 
>	push ax     | 
>	mov dl,'z'  |
>	mov ah,5H   | ----- these are the instructions i added
>	int 21H     |
>	pop ax      |
>	pop dx ------
>	iret
>new_keyboard_io		endp
>

 The only DOS functions that are safe to call in this ISR are 0h-0Ch. The
 Waite Group's 'MS-DOS Bible' has an excellent example and explanation
 of TSR's.
 
   Rob Carlson