Category : Files from Magazines
Archive   : DDJSRC.ZIP
Filename : KEYHIT.ASM

 
Output of file : KEYHIT.ASM contained in archive : DDJSRC.ZIP
; ------------- keyhit.asm ---------------
;
; Use this in MSC C programs in place of kbhit
; This function avoids Ctrl-Break aborts
;
_text segment para public 'code'
assume cs:_text
public _keyhit
_keyhit proc near
mov ah,1
int 16h
mov ax,1
jnz keyret
mov ax,0
keyret: ret
_keyhit endp
_text ends
end


  3 Responses to “Category : Files from Magazines
Archive   : DDJSRC.ZIP
Filename : KEYHIT.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/