home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / asmutl / rmac.mod < prev    next >
Text File  |  1983-10-31  |  1KB  |  33 lines

  1. El Paso, TX, 10/18/83
  2.  
  3. When I wrote LDIR a few hours ago, I realized that RMAC was unable to
  4. handle the job, since it would wipe out DOLLAR-SIGNS in labels.  Some
  5. SYSLIB routines, however, use them in external references...
  6.  
  7.     EXTRN    F$OPEN        in RMAC is synonymous to
  8.     EXTRN    FOPEN
  9.  
  10. and LINK would complain about the missing symbol FOPEN!
  11.  
  12. Now, there just HADT TO BE a better way than M80, and after a lot of
  13. DU'ing and DDT'ing, I found it! In RMAC ver 1.1 you find the following
  14. code starting at address 1D76:
  15.  
  16. L1D76:    CPI    '$'
  17.     RNZ
  18.     XRA    A
  19.     MOV    M,A
  20.     RET
  21.  
  22. Now, to be able to use RMAC instead of M80 for *ALL* your SYSLIB work,
  23. make a NOP out of the MOV M,A instruction! Remember, the address is only
  24. good for my version of RMAC, as supplied with an early version of CP/M plus.
  25. Your RMAC may be a bit different, but the code should be in the general
  26. area.
  27.  
  28. With the availability of CP/M plus, more people will probably use RMAC
  29. than M80, and this easy patch (which seems to have NO ILL EFFECTS) allows
  30. use of SYSLIB with RMAC.
  31.  
  32. My recommendation: reformat SYSLIB into an IRL file for faster searching.
  33.