source: xtideuniversalbios/trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH10h_HReady.asm@ 561

Last change on this file since 561 was 526, checked in by krille_n_@…, 12 years ago

Changes:

  • Update of the copyright notices to include the year 2013.
File size: 1.5 KB
Line 
1; Project name : XTIDE Universal BIOS
2; Description : Int 13h function AH=10h, Check Drive Ready.
3
4;
5; XTIDE Universal BIOS and Associated Tools
6; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2013 by XTIDE Universal BIOS Team.
7;
8; This program is free software; you can redistribute it and/or modify
9; it under the terms of the GNU General Public License as published by
10; the Free Software Foundation; either version 2 of the License, or
11; (at your option) any later version.
12;
13; This program is distributed in the hope that it will be useful,
14; but WITHOUT ANY WARRANTY; without even the implied warranty of
15; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16; GNU General Public License for more details.
17; Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
18;
19
20; Section containing code
21SECTION .text
22
23;--------------------------------------------------------------------
24; Int 13h function AH=10h, Check Drive Ready.
25;
26; AH10h_HandlerForCheckDriveReady
27; Parameters:
28; DL: Translated Drive number
29; DS:DI: Ptr to DPT (in RAMVARS segment)
30; SS:BP: Ptr to IDEREGS_AND_INTPACK
31; Returns with INTPACK:
32; AH: Int 13h return status
33; CF: 0 if successful, 1 if error
34;--------------------------------------------------------------------
35ALIGN JUMP_ALIGN
36AH10h_HandlerForCheckDriveReady:
37%ifdef USE_186
38 push Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
39 jmp Device_SelectDrive
40%else
41 call Device_SelectDrive
42 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
43%endif
Note: See TracBrowser for help on using the repository browser.