Last change
on this file since 168 was 150, checked in by Tomi Tilli, 13 years ago |
Changes to XTIDE Universal BIOS:
- Redesigned Disk Parameter Tables.
- Code generalizations for supporting non-IDE devices in the future.
|
File size:
848 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)
|
---|
[150] | 14 | ; SS:BP: Ptr to IDEREGS_AND_INTPACK
|
---|
| 15 | ; Returns with INTPACK:
|
---|
[3] | 16 | ; AH: Int 13h return status
|
---|
| 17 | ; CF: 0 if succesfull, 1 if error
|
---|
| 18 | ;--------------------------------------------------------------------
|
---|
| 19 | ALIGN JUMP_ALIGN
|
---|
| 20 | AH10h_HandlerForCheckDriveReady:
|
---|
[150] | 21 | %ifdef USE_186
|
---|
| 22 | push Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
|
---|
| 23 | jmp Device_SelectDrive
|
---|
| 24 | %else
|
---|
| 25 | call Device_SelectDrive
|
---|
[148] | 26 | jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
|
---|
[150] | 27 | %endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.