Changeset 167 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
- Timestamp:
- Aug 21, 2011, 3:42:15 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r165 r167 42 42 ALIGN JUMP_ALIGN 43 43 .JumpToEbiosFunction: 44 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE ; Full mode?45 jz SHORT Int13h_UnsupportedFunction 46 test BYTE [di+DPT.bFlagsLow], FLG_DRVNHEAD_LBA ; LBA supported?47 jz SHORT Int13h_UnsupportedFunction 48 cmp ah, 48h ; Above last valid function?44 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE 45 jz SHORT Int13h_UnsupportedFunction ; No eINT 13h in lite mode 46 test BYTE [di+DPT.bFlagsLow], FLG_DRVNHEAD_LBA 47 jz SHORT Int13h_UnsupportedFunction ; No eINT 13h for CHS drives 48 cmp ah, 48h 49 49 ja SHORT Int13h_UnsupportedFunction 50 sub bx, 41h<<1 ; BX = Offset to EBIOSjump table50 sub bx, 41h<<1 ; BX = Offset to eINT 13h jump table 51 51 jl SHORT Int13h_UnsupportedFunction 52 52 jmp [cs:bx+g_rgwEbiosFunctionJumpTable]
Note: See TracChangeset
for help on using the changeset viewer.