Last change
on this file since 148 was
148,
checked in by aitotat, 13 years ago
|
Changes to XTIDE Universal BIOS:
- INT 13h optimizations to save almost 100 bytes.
|
File size:
747 bytes
|
Rev | Line | |
---|
[148] | 1 | ; Project name : XTIDE Universal BIOS |
---|
[3] | 2 | ; Description : Int 13h function AH=10h, Check Drive Ready. |
---|
| 3 | |
---|
| 4 | ; Section containing code |
---|
| 5 | SECTION .text |
---|
| 6 | |
---|
| 7 | ;-------------------------------------------------------------------- |
---|
| 8 | ; Int 13h function AH=10h, Check Drive Ready. |
---|
| 9 | ; |
---|
| 10 | ; AH10h_HandlerForCheckDriveReady |
---|
| 11 | ; Parameters: |
---|
[148] | 12 | ; DL: Translated Drive number |
---|
| 13 | ; DS:DI: Ptr to DPT (in RAMVARS segment) |
---|
| 14 | ; SS:BP: Ptr to INTPACK |
---|
| 15 | ; Returns with INTPACK in SS:BP: |
---|
[3] | 16 | ; AH: Int 13h return status |
---|
| 17 | ; CF: 0 if succesfull, 1 if error |
---|
| 18 | ;-------------------------------------------------------------------- |
---|
| 19 | ALIGN JUMP_ALIGN |
---|
| 20 | AH10h_HandlerForCheckDriveReady: |
---|
| 21 | call HStatus_WaitRdyDefTime |
---|
[148] | 22 | xor ah, ah |
---|
| 23 | jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH |
---|
Note: See
TracBrowser
for help on using the repository browser.