Changeset 23 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Jul 1, 2010, 5:33:40 PM (15 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r3 r23 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 23.3.2010 4 ; Last update : 2.5.20104 ; Last update : 1.7.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for initializing the BIOS. … … 418 418 ALIGN JUMP_ALIGN 419 419 Initialize_ResetDetectedDrives: 420 ; Initialize to speed up POST. DOS will reset drives anyway. 421 eMOVZX cx, BYTE [RAMVARS.bDrvCnt] 422 jcxz .Return 423 mov dl, [RAMVARS.bFirstDrv] 424 ALIGN JUMP_ALIGN 425 .InitLoop: 426 call AH9h_InitializeDriveForUse 427 inc dx ; Next drive 428 loop .InitLoop 429 .Return: 430 ret 420 xor ah, ah ; Disk Controller Reset 421 mov dl, 80h ; Reset all floppy drives and hard disks 422 int INTV_DISK_FUNC 423 ret
Note:
See TracChangeset
for help on using the changeset viewer.