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 / CPM / PACKET / RLI120.ARK / MBFILE.MAC < prev    next >
Text File  |  1987-05-11  |  1KB  |  86 lines

  1. ; MBFILE.MAC - 5/11/87 - MailBox file structure.
  2.  
  3.     entry    mfhs,mnext,mfhd,mlhd,mffree,mlfree,mnr,mvers
  4.     entry    mfree,mcnt,mfhsl,mudt,mutm,mumnr
  5.     entry    tmfhs,tmnext,tmfhd,tmlhd,tmffree,tmlfree,tmnr,tmvers
  6.     entry    tmfree,tmcnt
  7.     entry    mhprev,mhcur,msgnr
  8.     entry    mmhs,mhtitl,mhfmsg,mhlmsg,mhnext,mhnr,mhsize,mhtype
  9.     entry    mhstat,mhto,mhfrom,mhdate,mhtime,mhread,mhtit,mtitle
  10.     entry    mhbbs,mhext
  11.     entry    mmts,mtnext,mttext
  12.  
  13.     dseg
  14.  
  15. ;; Mail file header sector.
  16.  
  17. mfhs:
  18. mnext:    dw    1
  19. mfhd:    dw    0
  20. mlhd:    dw    0
  21. mffree:    dw    0
  22. mlfree:    dw    0
  23. mnr:    dw    1
  24. mvers:    db    2
  25. mfree:    dw    0
  26. mcnt:    dw    0
  27. mudt:    db    '000000'
  28. mutm:    db    '0000'
  29. mumnr:    dw    0
  30. mfhsl    equ    $-mfhs
  31.     rept    99
  32.     db    0
  33.     endm
  34. ;; Copy of mfhs
  35. tmfhs:
  36. tmnext:    ds    2
  37. tmfhd:    ds    2
  38. tmlhd:    ds    2
  39. tmffree:    ds    2
  40. tmlfree:    ds    2
  41. tmnr:    ds    2
  42. tmvers:    ds    1
  43. tmfree:    ds    2
  44. tmcnt:    ds    2
  45. tmudt:    ds    6
  46. tmutm:    ds    4
  47. tmumnr:    ds    2
  48.  
  49. mhcur:    ds    2        ; Current header
  50. msgnr:    ds    2        ; Message number
  51.  
  52. ;; Message header sector.
  53.  
  54. mhtitl    equ    80    ;; Length of title
  55. mmhs:
  56. mhfmsg:    dw    0
  57. mhlmsg:    dw    0
  58. mhnext:    dw    0
  59. mhnr:    dw    0
  60. mhsize:    dw    0
  61. mhtype:    db    ' '
  62. mhstat:    db    'N'
  63. mhto:    db    '      '
  64. mhfrom:    db    '      '
  65. mhdate:    db    '      '
  66. mhtime:    db    '    '
  67. mhext:    dw    0
  68. mhread:    dw    0
  69. mhprev:    dw    0
  70. mhbbs:    db    '      '
  71.     dw    0
  72. mhtit:    rept    mhtitl
  73.     db    ' '
  74.     endm
  75. mtitle:    ds    mhtitl
  76.  
  77. ;; Message text sector.
  78.  
  79. mmts:
  80. mtnext:    dw    0
  81. mttext:    rept    126
  82.     db    ' '
  83.     endm
  84.     end
  85. 
  86.