home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / 22rsx / rxmd.ark / RXMDATA.MAC < prev    next >
Text File  |  1985-12-15  |  3KB  |  81 lines

  1. ;
  2. firstoclear:
  3. ;
  4. ; Batch stuff
  5. bgnms:    ds    2;    Start address of filenames in TBUFF
  6. blokk:    ds    2;    # of 2k blocks required by remote
  7. bchflg:    ds    1;    Batch mode flag
  8. fcbbuf:    ds    19;    Batch filename from command line nnD:FN.FT<b>
  9. ;            and allow for future user field. ???
  10. filcnt:    ds    1;    # of files in batch mode
  11. fntbuf:    ds    13;    to display file name transferred
  12. ;
  13. fstflg:    ds    1;    Set to 1 when command line scan done
  14. ftycnt:    ds    1
  15. ;
  16. ; mfnam variables
  17. mfirst:    ds    1;    Non-zero when in midst of multi-file access
  18. mfbase:    ds    12;    Base file name for mfnam (pattern)
  19. mflast:    ds    12;    Last file name found by mfnam
  20. ;
  21. namect:    ds    1;    # of names on command line
  22. nbsave:    ds    2;    Start address in NAMBUF for next file
  23. shocnt:    ds    1;    Counter to show files left
  24. totrec:    ds    2;    Total records to be sent
  25. memfcb:    ds    16;    Library name (16 bytes rqd) (was blkd)
  26. blkshf:    ds    1;    CPM disk parameter
  27. blkmax:    ds    2
  28. ;
  29. dusave:    ds    4;    Buffer for drive/user
  30. dud:    ds    1;    Specified disk
  31. duu:    ds    1;    Specified user
  32. actdrv:    ds    1;    Actual drive currently selected
  33. actusr:    ds    1;    Actual user currently selected
  34. ;
  35. ; Library access
  36. dirsiz:    ds    2;    Directory size
  37. index:    ds    2;    Index into directory
  38. ;
  39. ; Saved program entry conditions
  40. olddrv:    ds    1;    Save original drive number
  41. oldusr:    ds    1;    Save original user number
  42. oldbd:    ds    1;    Save original stops/parity/baud
  43. wpmask:    ds    2;    Save original write protect vector
  44. ;
  45. optsav:    ds    1;    Save option here for carrier loss
  46. prvtfl:    ds    1;    Private user area option flag
  47. rcvcnt:    ds    1;    Record number received
  48. rcvdrv:    ds    1;    Requested drive number
  49. rcvtry:    ds    1;    Keeps track of number of attempts
  50. sndflg:    ds    1;    non-zero for receive, 0 for send
  51. chkeot:    ds    1;    Prevents locking up after an EOT
  52. crcflg:    ds    1;    For sending checksum rather than CRC
  53. eoflg:    ds    1;    'EOF' flag (1=yes)
  54. errct:    ds    1;    Error count
  55. frstim:    ds    1;    Turned on after first 'SOH' received
  56. gotone:    ds    1;    Prevents asking for a description
  57. kflg:    ds    1;    For sending 1k blocks
  58. ;
  59. remoff:    ds    1;    CTYPE local-console-only flag
  60. ;
  61. accerr:    ds    2;    No 'ACK' error count for 1k ratio
  62. crcval:    ds    2;    Current CRC value
  63. rcnt:    ds    2;    Record count
  64. recdno:    ds    2;    Current record number
  65. rcdcnt:    ds    2;    Used in sending the record header
  66. recptr:    ds    2;    initially dbuf
  67. recnbf:    ds    2;    Number of records in the buffer
  68. savehl:    ds    2;    Saves TBUF command line address
  69. tlimit:    ds    1;    Storage for MXTIME and status
  70. ;
  71. lastoclear:
  72.     ds    60;    Min. area for stack
  73. ;
  74.     org    ($+127)/128*128
  75. cmdbuf:    ds    128;        Save TBUF here in batch mode
  76. stack    equ    cmdbuf-2;    holds CCP return adr.
  77. nambuf:    ds    12*256;        Room for 256 batch filenames
  78. dbuf:    ds    bufsiz*1024;    16k disk buffer
  79. bufstr    equ    dbuf+126;    For file length in batch mode
  80. lastmem    equ    $
  81. ─¬