home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / cdfm.zip / PDOSMSG.RT < prev    next >
Text File  |  1993-11-12  |  516b  |  21 lines

  1. public  _putdosmsg
  2. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  3. ; Put '$' terminated message to DOS
  4. ; In:
  5. ;   EDX -> message in low mem
  6. ;░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7. _putdosmsg:
  8.         push ax edx
  9.         add edx,_code32a
  10.         mov al,dl
  11.         and ax,0fh
  12.         shr edx,4
  13.         mov v86r_ds,dx
  14.         mov v86r_dx,ax
  15.         mov v86r_ah,9
  16.         mov al,21h
  17.         int 33h
  18.         pop edx ax
  19.         ret
  20.  
  21.