Changeset 414 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- May 3, 2012, 12:56:04 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r395 r414 45 45 %ifdef MODULE_HOTKEYS 46 46 call DriveXlate_ToOrBack 47 %endif48 47 mov [RAMVARS.xlateVars+XLATEVARS.bXlatedDrv], dl 48 %endif 49 49 50 50 call FindDPT_ForDriveNumberInDL ; DS:DI points to our DPT, or NULL if not our drive … … 129 129 mov [bp+IDEPACK.intpack+INTPACK.si], si 130 130 mov [bp+IDEPACK.intpack+INTPACK.bx], bx 131 %ifdef MODULE_HOTKEYS 131 132 mov [bp+IDEPACK.intpack+INTPACK.dh], dh 133 %else 134 mov [bp+IDEPACK.intpack+INTPACK.dx], dx 135 %endif 132 136 mov [bp+IDEPACK.intpack+INTPACK.cx], cx 133 137 mov [bp+IDEPACK.intpack+INTPACK.ax], ax … … 135 139 pop WORD [bp+IDEPACK.intpack+INTPACK.flags] 136 140 call RamVars_GetSegmentToDS 137 cmp dl, [RAMVARS.xlateVars+XLATEVARS.bXlatedDrv] 141 142 %ifdef MODULE_HOTKEYS 143 cmp dl, [RAMVARS.xlateVars+XLATEVARS.bXlatedDrv] ; DL is still drive number? 138 144 je SHORT .ExchangeInt13hHandlers 139 mov [bp+IDEPACK.intpack+INTPACK.dl], dl 145 mov [bp+IDEPACK.intpack+INTPACK.dl], dl ; Something is returned in DL 140 146 ALIGN JUMP_ALIGN 141 147 .ExchangeInt13hHandlers: 148 %endif 149 142 150 %ifdef USE_186 143 151 push Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH … … 192 200 Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH_ALHasDriveNumber: 193 201 call Int13h_SetErrorCodeToBdaAndToIntpackInSSBPfromAH_ALHasDriveNumber 202 194 203 %else 195 204 call Int13h_SetErrorCodeToBdaAndToIntpackInSSBPfromAH 196 205 %endif 206 197 207 Int13h_ReturnFromHandlerWithoutStoringErrorCode: 198 208 or WORD [bp+IDEPACK.intpack+INTPACK.flags], FLG_FLAGS_IF ; Return with interrupts enabled … … 265 275 mov bx, BDA.bHDLastSt 266 276 test al, al 267 js .HardDisk277 js SHORT .HardDisk 268 278 mov bl, BDA.bFDRetST & 0xff 269 279 .HardDisk: -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r413 r414 29 29 ;-------------------------------------------------------------------- 30 30 Int19h_BootLoaderHandler: 31 sti ; Allow timer interrupts 32 LOAD_BDA_SEGMENT_TO es, ax ; Load BDA segment (zero) to ES 31 sti ; Enable interrupts 32 cld ; String instructions to increment pointers 33 LOAD_BDA_SEGMENT_TO es, ax ; Load BDA segment (zero) to ES 33 34 ; Fall to .PrepareBootLoaderStack 34 35
Note:
See TracChangeset
for help on using the changeset viewer.