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 / BIOSDSKE.INC < prev    next >
Text File  |  1986-08-12  |  1KB  |  53 lines

  1. ; BIOSDSKE.INC - 5/3/86 - Hardware configuration constants.
  2. ; Used by BOOT, SBIOS, CBIOS, MAKESYS
  3.  
  4. ; Target machine, set one of these to true.
  5.  
  6. xerox    equ    true
  7. bigbrd    equ    false
  8.  
  9. hv1791    equ    false        ; Set true if 1791 controller
  10.  
  11. ; Disk stuff:
  12.  
  13. mxdrv    equ    4    ; # of disk drives supported.
  14.  
  15. five    equ    1    ; Value for 40 trk 5"
  16. bfive    equ    2    ; Value for 80 trk 5"
  17. eight    equ    3    ; Value for 8"
  18.  
  19. dsize    equ    eight    ; Set to five, bfive, or eight
  20.  
  21.     if    dsize eq five
  22. spt    equ    18    ; Sectors / track on 5"
  23. tracks    equ    40    ; Tracks on 5"
  24. stept    equ    3    ; Step time for 5"
  25. msprev    equ    210    ; ms per revolution
  26.     endif
  27.  
  28.     if    dsize eq bfive
  29. spt    equ    18    ; Sectors / track on 5"
  30. tracks    equ    80    ; Tracks on 5"
  31. stept    equ    3    ; Step time for 5"
  32. msprev    equ    210    ; ms per revolution
  33.     endif
  34.  
  35.     if    dsize eq eight
  36. spt    equ    26    ; Sectors / track on 8"
  37. tracks    equ    77    ; # tracks on 8"
  38.     if    hv1791
  39. stept    equ    1    ; Step time for 8", 1791
  40.     else
  41. stept    equ    0    ; Step time for 8", 1771
  42.     endif
  43. msprev    equ    175    ; ms per revolution
  44.     endif
  45.  
  46. ; Set xrxsds true if side select is done in the Xerox fashion,
  47. ; i.e. if C is the back of A and D is the back of B.
  48.  
  49. xrxsds    equ    true
  50.  
  51. whirtm    equ    15    ; Seconds to let disk motor whir
  52. secsiz    equ    128    ; Size of a disk sector
  53.