Changeset 152 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
- Timestamp:
- May 1, 2011, 10:42:58 AM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r150 r152 89 89 .StoreDptPointersToIntVectors: 90 90 mov dl, 80h 91 call RamVars_IsDriveHandledByThisBIOS 92 jnc SHORT .FindForDrive81h ; Store nothing if not our drive 91 93 call FindDPT_ForDriveNumber ; DPT to DS:DI 92 jnc SHORT .FindForDrive81h ; Store nothing if not our drive 93 mov [es:INTV_HD0DPT*4], di 94 mov [es:INTV_HD0DPT*4+2], ds 94 mov [es:HD0_DPT_POINTER_41h*4], di 95 mov [es:HD0_DPT_POINTER_41h*4+2], ds 95 96 .FindForDrive81h: 96 97 inc dx 98 call RamVars_IsDriveHandledByThisBIOS 99 jnc SHORT .ResetDetectedDrives 97 100 call FindDPT_ForDriveNumber 98 jnc SHORT .ResetDetectedDrives 99 mov [es:INTV_HD1DPT*4], di 100 mov [es:INTV_HD1DPT*4+2], ds 101 mov [es:HD1_DPT_POINTER_46h*4], di 102 mov [es:HD1_DPT_POINTER_46h*4+2], ds 101 103 ; Fall to .ResetDetectedDrives 102 104
Note:
See TracChangeset
for help on using the changeset viewer.