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.

common.src 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ;**********************************************
  2. ;* *
  3. ;* commodore business machines software *
  4. ;* *
  5. ;**********************************************
  6. ;
  7. ;**********************************************
  8. ;* *
  9. ;* disk operating system and *
  10. ;* controller routines *
  11. ;* for the following cbm models: *
  12. ;* 1541 serial disk *
  13. ;* with single sa390 compatable drive *
  14. ;* copyright (c) 1982 by *
  15. ;* commodore business machines (cbm) *
  16. ;* *
  17. ;**********************************************
  18. ; ****listing date 18 jan 1984 ****
  19. ;**********************************************
  20. ;* this software is furnished for use in *
  21. ;* the single drive floppy disk unit only. *
  22. ;* *
  23. ;* copies thereof may not be provided or *
  24. ;* made available for use on any other *
  25. ;* system. *
  26. ;* *
  27. ;* the information in this document is *
  28. ;* subject to change without notice. *
  29. ;* *
  30. ;* no responsibility is assumed for *
  31. ;* reliability of this software. rsr *
  32. ;* *
  33. ;**********************************************
  34. .page
  35. ; common area defines
  36. *=0
  37. jobs *=*+6 ; job que
  38. hdrs *=*+12 ; job headers
  39. dskid *=*+4 ; master copy of disk id
  40. header *=*+5 ; image of last header
  41. actjob *=*+1 ; controller's active job
  42. wpsw *=*+2 ; write protect change flag
  43. lwpt *=*+2 ; last state of wp switch
  44. ;
  45. ;
  46. ; .end
  47. ; rsr
  48. ; 09/10/'84 add '0' track sensor (rom05-bc) h.a
  49. ;
  50. ;***************************************************************************
  51. ; 11/20/86 Greg Berlin (GCB)
  52. ;
  53. ; All mods I made are initialed with 'GCB'.
  54. ;
  55. ; Fixes for the following:
  56. ;
  57. ; I. Compatability problems
  58. ; a. rom05 changed interrupt rate from 15 to 8 msecs.
  59. ; Physically, this is fine, but some software packages
  60. ; used that rate for other timing. Consequently, some
  61. ; incompatabilities arose. So, change the IRQ rate
  62. ; back to 15 msec as it was originally.
  63. ; b. 1541B board has troubles accessing tracks beyond 35.
  64. ; 1541B board has a new data seperator, which allowed
  65. ; the problem to surface. However, an inconsistency
  66. ; always existed. If the controller is asked to access
  67. ; a track beyond 35 it picks the wrong bit cell density
  68. ; because the track number table (trknum) only listed
  69. ; up to track 35.
  70. ; II. SAVE @filename bug fix.
  71. ; III. Realtive File fixes
  72. ; IV. Serial bus (device not present) fix.
  73. ;****************************************************************************