home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / sys / io / ctconf.asm < prev    next >
Encoding:
Assembly Source File  |  1988-08-30  |  1.6 KB  |  76 lines

  1. ;
  2. ;    %Z% %M% %I% %D% %Q%
  3. ;
  4. ;    Copyright (C) The Santa Cruz Operation, 1985, 1986, 1987.
  5. ;    This Module contains Proprietary Information of
  6. ;    The Santa Cruz Operation and should be treated as Confidential.
  7. ;
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. ;
  15. ;    Configurable parameters for the (QIC) Cartridge Tape driver
  16. ;
  17. ;    If parameter is not initialized, the default for the type of
  18. ;    machine will be used. The dma channel and interrupt vector
  19. ;    will override the defaults if initialized. The default base
  20. ;    address will override the configurable parameter providing
  21. ;    the default works. 
  22. ;
  23. ;    Defaults for Type A:
  24. ;        ctdmach = 3, ctint = 3, ctbase = 0x220
  25. ;            -or-
  26. ;        ctdmach = 1, ctint = 4, ctbase = 0x200
  27. ;
  28. ;    Defaults for Type W:
  29. ;        ctdmach = 1, ctint = 5, ctbase = 0x338
  30. ;
  31. ;    Defaults for Type E:
  32. ;        ctdmach = 3, ctint = 25, ctbase = 0x29C
  33. ;
  34. ;    Defaults for Type M:
  35. ;        ctdmach = 1, ctint = 3, ctbase = 0x28C
  36. ;
  37. ;    Defaults for Type T:
  38. ;        ctdmach = 1, ctint = 5, ctbase = 0x330
  39. ;
  40. ;    Defaults for Type X:
  41. ;        ctdmach = 1, ctint = 3, ctbase = 0x2C0
  42. ;
  43.  
  44. ifdef M_I386
  45.     .386p
  46. endif
  47.     name    ctconfig
  48.  
  49. DGROUP    group    _DATA
  50. ifdef M_I386
  51. _DATA    segment    byte use32 public    'DATA'
  52. else
  53. _DATA    segment    byte public    'DATA'
  54. endif
  55.  
  56. ; DO NOT change the order or format of the following lines
  57. CTCNTRLR    equ    0    ; @PARM1
  58. CTDMACH        equ    0    ; @PARM2
  59. CTINT        equ    0    ; @PARM3
  60. CTBASE        equ    0H    ; @PARM4
  61.  
  62.     public    _ctcntrlr
  63. _ctcntrlr    dw    CTCNTRLR    ; controller type (0=auto,1=A,3=W,4=E)
  64.     public    _ctdmach
  65. _ctdmach    dw    CTDMACH        ; dma channel (must be 1 or 3)
  66.     public    _ctint
  67. _ctint        dw    CTINT        ; LOGICAL interrupt vector number
  68.     public    _ctbase
  69. _ctbase        dw    CTBASE        ; 4 i/o addresses used from here up
  70.  
  71. _DATA    ends
  72.  
  73.  
  74.  
  75.     end
  76.