home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msxz10.dtr < prev    next >
Text File  |  2020-01-01  |  1KB  |  28 lines

  1.         title   Processor to turn off COM DTR   
  2. ;   
  3. ;          This program turns off the DTR signal on the communications  
  4. ;     port of a Zenith Z100 micro.  This makes the Z100 compatible  
  5. ;     with the Gandalf PACX communications switch.  The execution   
  6. ;     of this program should be the FIRST thing in the AUTOEXEC.BAT 
  7. ;     file.  It MUST be before the DATE & TIME calls.   
  8. ;   
  9. ;          This program is necesary because the vanila ZDOS leaves  
  10. ;     the DTR signal on after a reset or boot.  A preferable
  11. ;     solution would be to fix ZDOS, but this works too.  Note that 
  12. ;     in either case it is the user's terminal emulator's resposibility 
  13. ;     to insure that DTR is raised at the beginning of a session AND
  14. ;     lowered at the end.   
  15. ;   
  16. ;          Mitch Blank  
  17. ;   
  18.         name    OFF 
  19. code    segment byte    public  'code'  
  20.         assume  cs:code,ds:code,es:code,ss:code 
  21.         org     100h
  22. start:  mov     al,4            ; Turn off DTR & RTS
  23.         out     0EFh,al 
  24.         int     20h 
  25. code    ends
  26.         end     start   
  27.  
  28.