.


:




:

































 

 

 

 


Int 13h




 

Int 13h.

(diskette) (fixed disk). (. 7.8) , . : 0-7Fh ( 03), 80h-FFh.

, BIOS, Int 13h, . IBM PC/XT , BIOS , POST, Int 13h, ( BIOS) Int 40h. BIOS, Int 40h . Int 13h, ( DL) 7Fh.

(Int 13h) c , Int 0Eh ( IRQ 6) Int 76h ( IRQ 14). ATA IRQ 15 ( 77h). XT IRQ 5 ( 0Dh). . ( ) . BIOS , ( IRET).

BIOS ( ) . . : , , , .

 

BIOS

 

16- , . CHS . Int 13h, :

♦ 3Fh;

♦ DL ( 7 = 0 );

♦ (0-1023) ( 8 ) CL[7:6] ( 2 );

♦ (0-255) DH;

♦ (1-63) CL[5:0];

♦ , , 8 AL (0-255);

♦ (address of buffer) S:BX;

♦ : F = 0 , CF = 1 ( , 40:41h, 40:74h);

♦ (DPT) 0:78h, (HDPT) 0:104h 0:118h.

. 12.7, [4, 9]. , 01h.

 

12.7.

 

DL
DH, CL, CH AL ES: BX DPT/HDPT
00h Reset Disk System ( ), - - - - -
01h Read Status of Last Operation + - - - -
02h Read Sectors into Memory + + + + +
03h Write Sectors from Memory   + + + +
04h Verify Sectors ( CRC/ECC) + + + - +
05h Format Desired Track + + + + +
08h Get Drive Parameters +³ +³ +³ - +³
09h¹ Initialize Drive Parameters + - - - +
0Ah¹ Read Long ( ) + + + + +
0Bh¹ Write Long ( ) + + + + +
0Ch¹ Seek + + - - -
0Dh¹ Alternative Disk Reset ( ) + - - - -
10h¹ Test Drive Ready + - - - -
11h¹ Recalibrate ( ) + - - - -
14h¹ Controller Internal Diagnostics - - - - -
15h Read DASD : =0 ; =1 , ; =2 , ; =3 ; . CX: DX 512- + - - - -
16h² Diskette Change Line Status : CF=0: =0 ; CF=1: AH=1 ; =6 ; AH=80h ; + - - - -
17h² Set Diskette Type for Format ( )
+   +³    
18h² Set Media Type for Format ( ) + +³ - - -
20h² Get Media Type + - - - -
24h¹ Set Multiple Mode ( AL ) + - + - -
25h¹ Identify Drive ATA ( ATA-) + - - + -

¹ .

² .

³ .

 

, 1024×256×63 = 16 515 072 ( 8,4 ). , , . 15 481 935 (. ). ATA 528 . , ATA, Int 13h, 4- ( BIOS 6 ). , 16- ( BIOS 10 ). , ( ) . , , 528 :

(210 = 1024 ) × (24 = 16 ) × (26 1 = 63 ) × 512 = 528 482 304 .

528- ATA, , BIOS . ATA ( ) :

(216 = 65 536 ) × (24 = 16 ) × (28 1 = 255 ) × 512 = 136,9 .

BIOS (8,4 ), Int 13h, , [6], ATA-. , ( 8), , Int 13h . , : ( × H × S) ≤ ( × H × S).

(LBA, Large Disk, ECHS) . [1, 4, 9]

 

BIOS

 

BIOS 8,4 , .

BIOS, Enhanced Disk Drive Services (EDD), Phoenix Technologies LTD, BIOS . , 264 , IA-32 IA-64. (LBA). , , . (, USB IEEE 1394), . . 1520 .

BIOS Int 13h Windows 95, Windows 98, Windows 2000. , (FDISK, FORMAT), 32- . BIOS Int 13h DOS ( ), Windows 3.1x, Windows NT, Novell NetWare, OS/2 Warp, Linux, Unix.

:

♦ (fixed disk access subset) 41-44h, 47h 48h;

♦ (device locking and ejecting subset) 41h, 45h, 46h, 48h 49h;

♦ (enhanced disk drive (EDD) support subset) 41h 48h.

, , Int 13h 3Fh ( ); ( DL) 80h-FFh. , (device address packet). .

BIOS , ( 41h). ( ), , . . , , (42h, 43h, 44h 47h) . /, (45h, 46h 49h). (48h). , , BIOS. (4Eh) (PIO, DMA), ().

CD-ROM BIOS Int 13h :

♦ / (4Ah/4Bh), (4Ch);

♦ (4Dh); 41-48h CD-ROM ( LBA 2048 ), .

[4].

 





:


: 2018-11-11; !; : 306 |


:

:

.
==> ...

1719 - | 1503 -


© 2015-2024 lektsii.org - -

: 0.025 .