home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / JSAGE / ZSUS / TCJ / TCJ41MEX.CL2 < prev    next >
Text File  |  2000-06-30  |  5KB  |  102 lines

  1. From: Roger Bond
  2. Subj: ARUNZ Alias for MEX v1.14 Command Line Separator
  3. Vers: 2
  4. Date: April 28, 1990
  5.  
  6. Thanks to Biff Bueffel, below is a "revised" alias for MEX v1.14.  I did 
  7. not know that MEX v1.14 had an undocumented (?) POKE command.  POKE did 
  8. not show up in MEX's "?" display or MEX's "HELP ?" display.  Anyways, 
  9. thanks to Biff for encouraging me to "try again."  Jay Sage noted that 
  10. he believes "that the POKE command is not really documented in the 
  11. MEX-Plus manual either.  I guess the author didn't want people to know 
  12. about it!"  Please read TCJ41.WS for Jay Sage's complete discussion 
  13. on sending multiple commands from ZCPR3 to MEX (specifically, MEX v1.65, 
  14. aka MEXPLUS).
  15.  
  16. Thanks to Biff's advice, the aliases presented in this file for MEX 
  17. v1.14 really do not differ from the ones provided by Jay for MEXPLUS -- 
  18. the address to poke is even the same!!!!  So as to not make these 
  19. efforts a complete redundant waste of time (Biff's insight as to MEX 
  20. v1.14 does make these efforts a case of redundancy -- oh well, so it 
  21. goes -- but so as to not leave things hanging, this second file is 
  22. submitted to Z-System community anyways), the only real "difference" is 
  23. the addition of MEX2Z which was originally added to my previous effort 
  24. to supplement Jay's always insightful and useful works of genius.  MEX2Z 
  25. allows you to send a command to the ZCPR3 command line after exiting 
  26. from MEX.  So you can both send multiple commands from ZCPR3 to MEX and 
  27. send multiple commands from MEX to ZCPR3 (where you go back to MEX if 
  28. you try the latter).  MEX2Z.COM is from MEX2Z10.LBR.  For MEXPLUS users, 
  29. get MEX+2Z11 from MEX+2Z11.LBR and in the aliases below substitute 
  30. MEX+2Z11 in for MEX2Z.
  31.  
  32. Use the first alias below if you do NOT patch MEX v1.14 with "!" as the 
  33. command line separator:
  34.  
  35. MEX       get 100 mex114.com;poke d18 21;go $*!poke $$0d18 $$3b;mex2z
  36.  
  37. Use the second alias below if you do patch MEX v1.14 with "!" as the 
  38. command line separator:
  39.  
  40. MEX       mex114 $*!poke $$0d18 $$3b;mex2z
  41.  
  42. To use the second alias, you have to patch MEX v1.14 using the commands 
  43. STAT SEP "!"   and   CLONE MEX114.COM  while in MEX.
  44.  
  45. Note that in the above two aliases that you need a double "$" (i.e., 
  46. "$$") after the MEX "!" command line separator so that ARUNZ will 
  47. correctly pass a single "$" to MEX.
  48.  
  49. Biff noted that he uses the command POKE $3700 $00 $00 ("POKE $$3700 
  50. $$00 $$00" for the ARUNZ ALIAS.CMD script) in his copy of MEX v1.14.  I 
  51. only found part of a MEX error message at the 3700h address in my copy 
  52. of MEX v1.14.  Nonetheless, you may wish to experiment with your copy of 
  53. MEX v1.14 to find the correct address where you are supposed to poke if 
  54. the address of 0D18h or 3700h do not work for you.  You may want to use 
  55. ZPATCH and that program's search command to find the correct address -- 
  56. look for ";" which should be in a sector where ">" is a few bytes after 
  57. ";".  It should be the first ";" you find in MEX v1.14 (at least it is 
  58. in my copy).  Use MEX's command of STAT SEP to check if the command line 
  59. separator is what you want it to be.
  60.  
  61. ------
  62. From: Roger Bond
  63. Subj: ARUNZ Alias for MEX v1.14 Command Line Separator
  64. Date: April 21, 1990
  65.  
  66. This is an alias for the ALIAS.CMD file.  It assumes you are using MEX 
  67. v1.14, named MEX114.COM, and the program MEX2Z.COM.  The latter program 
  68. allows you to send a command to the ZCPR3 command line after exiting 
  69. from MEX.  This alias is submitted as a supplement to Jay Sage's 
  70. TCJ41.WS column where he describes how to send multiple commands to the 
  71. MEX system prompt.  ZCPR3 users will readily see how you have to change 
  72. the MEX command line separator, albeit temporarily, so as to not cause 
  73. conflict with the ZCPR3 command line, i.e., the multiple commands 
  74. intended for MEX may instead be sent to ZCPR3 if not for the change.  
  75. Please read TCJ41.WS for Jay Sage's more complete discussion on this 
  76. conflict and his solution for MEX v1.65 (aka, MEXPLUS).  MEX v1.65 has 
  77. the poke command.  MEX v1.14 does not have the poke command, hence the 
  78. alias solution humbly submitted in this text file.
  79.  
  80. Use the first alias below if you do NOT patch MEX v1.14 with "!" as the 
  81. command line separator:
  82.  
  83. MEX    get 100 mex114.com;poke d18 21;go $*!read sep;lx mex2z
  84.  
  85. Use the second alias below if you do patch MEX v1.14 with "!" as the 
  86. command line separator:
  87.  
  88. MEX    mex114 $*!read sep;lx mex2z
  89.  
  90. To use the second alias, you have to patch MEX v1.14 using the commands  
  91. STAT SEP "!"   and   CLONE MEX114.COM  while in MEX.  (Note that an 
  92. alternative to "!" as the command line separator is the "^" caret 
  93. character as used by 4DOS in the MS-DOS world.  Personally, I prefer 
  94. Jay's selection of "!".)
  95.  
  96. Make a text file named SEP.MEX containing only the single line at bottom 
  97. of this text file below.  Make sure you do NOT hit a carriage return at 
  98. the end of the line, i.e., the file ends directly at the end of the line 
  99. below.  For instance, if you are using VDE, do the following command: 
  100. ^QC^QS^KB^QS^KK^KWsep.mex<CR>^KU
  101.  
  102. stat sep ";"