Parent |
WARNING: | This web page is about the IBM Fixed Disk Adapter. Other controllers can behave differently. |
IBM 5150/5155/5160 without IBM Fixed Disk Adapter: | INT 13h supports only the floppy disk system (because the 5150/5155/5160 motherboard BIOS knows nothing about hard drives). |
IBM 5150/5155/5160 with IBM Fixed Disk Adapter: | INT 13h supports both the hard disk system and the floppy disk system. |
- a 100 | |
xxxx:0100 mov ah,0 | (Comment: Function 00h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) (Comment: Required to inform INT 13h that the target is the hard disk system [not the floppy disk system]) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,12 | (Comment: Function 12h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) (Comment: Required to inform INT 13h that the target is the hard disk system [not the floppy disk system]) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,14 | (Comment: Function 14h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) (Comment: Required to inform INT 13h that the target is the hard disk system [not the floppy disk system]) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,10 | (Comment: Function 10h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,11 | (Comment: Function 11h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,0C | (Comment: Function 0Ch) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0 ) |
xxxx:0104 mov cx,4001 | (Comment: Cylinder 40h, Sector 1) (Comment: Cylinder number contained in CH and two bits of CL) |
xxxx:0107 int 13 | |
xxxx:0109 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:010A | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,13 | (Comment: Function 13h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) |
xxxx:0104 int 13 | |
xxxx:0106 int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:0107 | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |
- a 100 | |
xxxx:0100 mov ah,05 | (Comment: Function 05h) |
xxxx:0102 mov dl,80 | (Comment: Hard drive 0) |
xxxx:0104 mov cx,6001 | (Comment: Cylinder 60h, Sector 1) (Comment: Cylinder number contained in CH and two bits of CL) |
xxxx:0107 mov dh,0 | (Comment: Head 0) |
xxxx:0109 mov al,5 | (Comment: Sector interleave of 5) |
xxxx:010B int 13 | |
xxxx:010D int 3 | (Comment: Breakpoint return for DEBUG) |
xxxx:010E | <----- at this line just press the [ENTER] key - this will return DEBUG's dash prompt |
- g=100 |