Category : Assembly Language Source Code
Archive   : ASM_SUBR.ZIP
Filename : COMOUT

 
Output of file : COMOUT contained in archive : ASM_SUBR.ZIP
;-------------------------comout routine begins--------------------------+
; from BLUEBOOK OF ASSEMBLY ROUTINES FOR IBM PC & XT.
; page : 37
;
; NAME COMOUT
; ROUTINE FOR COMMUNICATIONS LINE OUTPUT
;
; FUNCTION: This routine sends a byte out one of the two communications
; lines.
; INPUT: Upon entry AL contains the byte to be sebt out and DX contains
; the comm unit number (0 for comm1: and 1 for comm2:).
; OUTPUT: Output is sent to the specified communications line.
; REGISTERS USED: No registers are modified.
; SEGMENTS REFERENCED: None
; ROUTINES CALLED: BIOS interrupt 14h (RS232 I/O) is used.
; SPECIAL NOTES: None
;
; ROUTINE TO SEND OUTPUT TO A COMMUNICATIONS LINE
;
comout proc far
;
mov ah,1 ; send it out
int 14h ; RS232 BIOS call
;
ret ; return
;
comout endp
;-------------------------comout routine ends---------------------------+


  3 Responses to “Category : Assembly Language Source Code
Archive   : ASM_SUBR.ZIP
Filename : COMOUT

  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/