Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/File/Drive.asm
- Timestamp:
- Mar 12, 2011, 1:48:48 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/File/Drive.asm
r41 r133 1 ; File name : Drive.asm2 1 ; Project name : Assembly Library 3 ; Created date : 1.9.20104 ; Last update : 3.9.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for accessing drives. 7 3 … … 52 48 xor bx, bx 53 49 xor ax, ax ; Temporary use BX:AX for flags 54 xor dx, dx; Start from drive 050 cwd ; Start from drive 0 55 51 call .CheckDriveValidityUntilCXisZero 56 52 mov dx, bx ; Flags now in DX:AX … … 163 159 Drive_GetDefaultToAL: 164 160 mov ah, GET_CURRENT_DEFAULT_DRIVE 165 int DOS_INTERRUPT_21h166 ret161 SKIP2B f ; cmp ax, <next instruction> 162 ; Fall to Drive_SetDefaultFromDL 167 163 168 164 … … 176 172 ; AH 177 173 ;-------------------------------------------------------------------- 178 ALIGN JUMP_ALIGN179 174 Drive_SetDefaultFromDL: 180 175 mov ah, SELECT_DEFAULT_DRIVE 181 176 int DOS_INTERRUPT_21h 182 177 ret 183
Note: See TracChangeset
for help on using the changeset viewer.