home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 3 / hamradioversion3.0examsandprograms1992.iso / kenwood / ken_mods / ts940.10 < prev    next >
Text File  |  1990-09-04  |  1KB  |  48 lines

  1. TS940.10
  2.  
  3. MSG#101 04/03/90  15:05:16 FROM WB0SEN TO ALL
  4. XT.MOD
  5. Subject: TS 940 married to IBM XT/AT
  6. Here below is a program that can coontrl the
  7. TS940 to run under IBM XT.
  8. ; **********************************************************
  9. ; TS-940 remote control programm for IBM-PC/AT/XT
  10. ; 1988/05Southern NET
  11. ;   MBBIOS and MBMODE must be run before execute.
  12. ;   Com port 1-6(A-F) allowed.
  13. ;       Usage....... 940set_(port)_(parameter)(parameter)...
  14. ;       example         940set a FA00014073000;MD1;
  15. ; ***********************************************************
  16. NUL= 00h
  17. TAB= 09h
  18. CR= 0dh
  19. LF= 0ah
  20. BEEP= 07h
  21. error= 1
  22. noerror= 0
  23. printmacro string
  24. movax,data
  25. movds,ax
  26. leadx,string
  27. movah,09h
  28. int21h
  29. endm
  30. putchmacroch
  31. movdl,ch
  32. movah,02h
  33. int21h
  34. endm
  35. mggroupcode,data
  36. datasegment
  37. no_cndbBEEP,"Not channel [A-F]$",CR,LF
  38. cmd_e_msgdbBEEP,"ommamd error .Usage (channel) (parameter)",CR,LF,"$"
  39. no_biosdbBEEP,"Not loadedMBBIOS.$"
  40. dataends
  41. codsegment
  42. assumecs:code;ds:code
  43. org81h
  44. channellabelbyte
  45. org82h
  46. cmdlinelabelbyte
  47. CONTINUED IN FILE TS940.13
  48.