Changeset 567 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
- Timestamp:
- May 26, 2014, 1:25:15 PM (11 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH8h_HParams.asm
r545 r567 31 31 ; SS:BP: Ptr to IDEPACK 32 32 ; Returns with INTPACK: 33 ; BL: Drive Type (forfloppies only)33 ; BL: Drive Type (for serial floppies only) 34 34 ; CH: Maximum cylinder number, bits 7...0 35 35 ; CL: Bits 7...6: Cylinder number bits 9...8 … … 37 37 ; DH: Maximum head number (0...254) 38 38 ; DL: Number of drives!!! 39 ; ES:DI: Floppy DPT (forfloppies only)39 ; ES:DI: Floppy DPT (for serial floppies only) 40 40 ; AH: Int 13h/40h floppy return status 41 41 ; CF: 0 if successful, 1 if error … … 57 57 call RamVars_GetCountOfKnownDrivesToAX ; assume hard disk for now, will discard if for floppies 58 58 59 test byte [bp+IDEPACK.intpack+INTPACK.dl], 080h59 test BYTE [bp+IDEPACK.intpack+INTPACK.dl], 80h 60 60 jnz SHORT .CalledForHardDrive 61 61 … … 93 93 ; DS:DI: Ptr to DPT (in RAMVARS segment) 94 94 ; Returns: 95 ; BL: Drive Type (for serial floppies only) 95 96 ; CH: Maximum cylinder number, bits 7...0 96 97 ; CL: Bits 7...6: Cylinder number bits 9...8 … … 98 99 ; DH: Maximum head number (0...254) 99 100 ; Corrupts registers: 100 ; AX, B X101 ; AX, BH 101 102 ;-------------------------------------------------------------------- 102 103 AH8h_GetDriveParameters: … … 115 116 ; DS: RAMVARS segment 116 117 ; Returns: 118 ; BL: Drive Type (for serial floppies only) 117 119 ; CH: Maximum cylinder number, bits 7...0 118 120 ; CL: Bits 7...6: Cylinder number bits 9...8 … … 120 122 ; DH: Maximum head number (0...254) 121 123 ; Corrupts registers: 122 ; AX, B X124 ; AX, BH 123 125 ;-------------------------------------------------------------------- 124 126 .PackReturnValues: … … 172 174 173 175 db 1h << 1 | 0 ; Offset 1: Typical values of 1 for head load time 174 ; 176 ; DMA used (although it actually is not, but is more restrictive) 175 177 db 25h ; Offset 2: Inactivity motor turn-off delay, 176 178 ; Typical value of 25h for 2 second delay
Note:
See TracChangeset
for help on using the changeset viewer.