home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol050 / bios4 < prev    next >
Encoding:
Text File  |  1984-04-29  |  1.7 KB  |  81 lines

  1.     IF    I696
  2.     DB    ' -- IEEE 696 Host Adapter.'
  3.     ENDIF
  4.     IF    I796
  5.     DB    ' -- IEEE 796 Host Adapter.'
  6.     ENDIF
  7.     DB    CR,LF,MSIZE/10+'0',MSIZE mod 10 +'0'
  8.     DB    'K CP/M ',VERS/10+'0','.',VERS mod 10 +'0'
  9.     DB    CBIOSV+'@',0
  10. ;
  11. ;
  12.     ORG    URINIT
  13. ;
  14. ;
  15. ;    CP/M disk work space.
  16.  
  17. ALV:
  18.     IF    LUN0
  19.     DS    LUN0NLD*(((((LUN0SEC/HSTSPT-2)*CPMSPT/HSTSIB)-1)+7)/8)
  20.     ENDIF
  21.     IF    LUN1
  22.     DS    LUN1NLD*(((((LUN1SEC/HSTSPT-2)*CPMSPT/HSTSIB)-1)+7)/8)
  23.     ENDIF
  24.     IF    LUN2
  25.     DS    LUN2NLD*(((((LUN2SEC/HSTSPT-2)*CPMSPT/HSTSIB)-1)+7)/8)
  26.     ENDIF
  27.     IF    LUN3
  28.     DS    LUN3NLD*(((((LUN3SEC/HSTSPT-2)*CPMSPT/HSTSIB)-1)+7)/8)
  29.     ENDIF
  30. CSV:    DS    (NOFDD+NOMINI)*32
  31. ;    Disk access information.
  32. ;    This area is organized into the following groups
  33. ;        disk drive
  34. ;        track number
  35. ;        sector number
  36. ;        drive type
  37. ;    Each of these groups has four cells for the
  38. ;    current disk request, ACTual disk transfer,
  39. ;    and active host disk.
  40.  
  41. SEKDSK:    DS    1        ;Current request
  42. SEKTYP:    DS    1        ;Current disk's type
  43. SEKTRK:    DS    2        ;Current request
  44. SEKSEC:    DS    1        ;Current request
  45.  
  46. ACTDSK:    DS    1        ;Actual transfer operation
  47. ACTTYP:    DS    1        ;Actual disk's type
  48. ACTTRK:    DS    2        ;Actual transfer operation
  49. ACTSEC:    DS    1        ;Actual transfer operation
  50.  
  51. HSTDSK:    DS    1        ;Active host disk
  52. HSTTYP:    DS    1        ;Active disk's type
  53. HSTTRK:    DS    2        ;Active host disk
  54. HSTSEC:    DS    1        ;Active host disk
  55. ;
  56. ;
  57. ;
  58. ;
  59. ;    Disk transfer flags and counters.
  60.  
  61. RDFLAG:    DS    1        ;Read flag
  62. ERFLAG:    DS    1        ;Error reporting
  63. WRTYPE:    DS    1        ;Write operation type
  64.  
  65. SAVSEC:    DS    1        ;Save sector
  66. NUMSEC:    DS    1        ;Number of sectors
  67.  
  68. CIOPL:    EQU    9
  69. CIOPB:    DS    CIOPL        ;Disk command buffer
  70. TEMPBF:    DS    8        ;Result status cells
  71. ESPACE:
  72.  
  73.  
  74.     ORG    MSIZE*K-HSTSIZ-128
  75.  
  76. DIRBUF:    DS    128        ;Directory buffer
  77. HSTBUF:    DS    HSTSIZ        ;Host buffer
  78.  
  79.  
  80.     END
  81.