home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Programming / ace_gpl_release / src / lib / asm / file_data.s < prev    next >
Encoding:
Text File  |  1998-10-04  |  1.6 KB  |  71 lines

  1. ;
  2. ; Data/BSS references for file.s.
  3. ; Copyright (C) 1998 David Benn
  4. ; This program is free software; you can redistribute it and/or
  5. ; modify it under the terms of the GNU General Public License
  6. ; as published by the Free Software Foundation; either version 2
  7. ; of the License, or (at your option) any later version.
  8. ;
  9. ; This program is distributed in the hope that it will be useful,
  10. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ; GNU General Public License for more details.
  13. ;
  14. ; You should have received a copy of the GNU General Public License
  15. ; along with this program; if not, write to the Free Software
  16. ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. ;
  18. ; Author: David J Benn
  19. ;   Date: 19th March 1994,
  20. ;      13th May 1994
  21. ;
  22.  
  23. MAXSTRINGSIZE equ 1024
  24.  
  25.     xdef    _file_handle_list
  26.     xdef    _line_end
  27.     xdef    _quote_mark
  28.     xdef    _comma
  29.     xdef    _space
  30.     xdef    _tab
  31.  
  32.     xdef    _fileinpstring
  33.     xdef    _filecharcount
  34.     xdef    _tempfinp
  35.     xdef    _fstrbuf
  36.     xdef    _filenum
  37.     xdef    _eofhandle
  38.     xdef    _filesize
  39.     xdef    _filehandle
  40.     xdef    _oldfilepos
  41.     xdef    _filespec_ptr
  42.  
  43.     SECTION file_data,DATA
  44.  
  45. ; * files *
  46. _file_handle_list:    dcb.l     255,0
  47. _line_end:        dc.b      10
  48. _quote_mark:        dc.b    '"'
  49. _comma:            dc.b    ','
  50. _space:            dc.b    ' '
  51. _tab:            dc.b    9,9
  52.     
  53. ;************************
  54.  
  55.     SECTION file_mem,BSS
  56.  
  57. ; * files *
  58. _fileinpstring:        ds.b MAXSTRINGSIZE*32
  59. _filecharcount:        ds.w 1
  60. _tempfinp:        ds.b 1
  61. _fstrbuf:        ds.b 40
  62. _filenum:        ds.l 1
  63. _eofhandle:        ds.l 1
  64. _filesize:        ds.l 1
  65. _filehandle:        ds.l 1
  66. _oldfilepos:        ds.l 1
  67. _filespec_ptr:        ds.l 1
  68.  
  69.     END
  70.