Changeset 507 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
- Timestamp:
- Mar 1, 2013, 5:12:33 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r443 r507 80 80 call DetectDrives_FromAllIDEControllers 81 81 call Interrupts_InitializeInterruptVectors 82 ; Fall to .StoreDptPointersToIntVectors83 84 ;--------------------------------------------------------------------85 ; .StoreDptPointersToIntVectors86 ; Parameters:87 ; DS: RAMVARS segment88 ; ES: BDA and interrupt vector segment (zero)89 ; Returns:90 ; Nothing91 ; Corrupts registers:92 ; DX, DI93 ;--------------------------------------------------------------------94 .StoreDptPointersToIntVectors:95 mov dl, 80h96 call FindDPT_ForDriveNumberInDL ; DPT to DS:DI97 jc SHORT .FindForDrive81h ; Store nothing if not our drive98 mov [es:HD0_DPT_POINTER_41h*4], di99 mov [es:HD0_DPT_POINTER_41h*4+2], ds100 .FindForDrive81h:101 inc dx102 call FindDPT_ForDriveNumberInDL103 jc SHORT .ResetDetectedDrives104 mov [es:HD1_DPT_POINTER_46h*4], di105 mov [es:HD1_DPT_POINTER_46h*4+2], ds106 82 ; Fall to .ResetDetectedDrives 107 83
Note:
See TracChangeset
for help on using the changeset viewer.