You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

equatesf.src 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .page 'equate.sf'
  2. ;******************************
  3. ;* equates
  4. ;******************************
  5. ;
  6. zp2 =* ; save zero page for dos
  7. rom =$c000 ; first rom address
  8. ;
  9. lrf =$80 ; last record flag
  10. dyfile =$40 ; dirty flag for rr file
  11. ovrflo =$20 ; rr print overflow
  12. nssl =6 ; # of side-sector links
  13. ssioff =4+nssl+nssl ; offset into ss for data block ptrs
  14. nssp =120 ; # of ptrs in ss
  15. mxchns =6 ; max # channels in system
  16. maxsa =18 ; max sa # +1
  17. vererr =7 ; controller verify error
  18. cr =$0d ; carriage return
  19. bfcnt =5 ; available buffer count
  20. cbptr =bfcnt+bfcnt ; command buffer ptr
  21. errchn =mxchns-1 ; error channel #
  22. errsa =16 ; error channel sa #
  23. cmdchn =mxchns-2 ; command channel #
  24. lxint =%00001111 ; power up linuse (logical index usage
  25. blindx =6 ; bam lindx for floating bams
  26. cmdsa =15 ; command channel sa #
  27. apmode =2 ; open append mode
  28. mdmode =3 ; open modify mode
  29. rdmode =0 ; open read mode
  30. wtmode =1 ; open write mode
  31. reltyp =4 ; open relative type
  32. dirtyp =7 ; open direct type
  33. seqtyp =1 ; open sequential type
  34. prgtyp =2 ; open program type
  35. usrtyp =3 ; open user type
  36. typmsk =7 ; mask for type bits
  37. irsa =17 ; internal read sa #
  38. iwsa =18 ; internal write sa #
  39. dosver =2 ; dos version
  40. fm2030 =$42 ; 2030 format version
  41. fm4040 =$41 ; 4040 format version
  42. ;controller job types
  43. read =$80
  44. write =$90
  45. wverfy =$a0
  46. seek =$b0
  47. secsek =seek+8
  48. bump =$c0
  49. jumpc =$d0
  50. exec =$e0
  51. mxfils =5 ; max # filenames in string
  52. dirlen =24 ; directory length used
  53. nbsiz =27 ; nambuf text size
  54. cmdlen =41 ; length of command buffer
  55. ;.end