Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH41h_CheckIfExtensionsPresent.asm
r567 r592 46 46 47 47 mov BYTE [bp+IDEPACK.intpack+INTPACK.ah], EBIOS_VERSION 48 mov WORD [bp+IDEPACK.intpack+INTPACK.bx], 0AA55h48 not WORD [bp+IDEPACK.intpack+INTPACK.bx] ; 55AAh = AA55h 49 49 50 50 %ifdef MODULE_COMPATIBLE_TABLES … … 75 75 ;-------------------------------------------------------------------- 76 76 AH41h_GetSupportBitsToCX: 77 %ifdef USE_AT ; Always in Full mode 78 %ifndef MODULE_8BIT_IDE OR MODULE_SERIAL 79 mov cx, ENHANCED_DRIVE_ACCESS_SUPPORT | ENHANCED_DISK_DRIVE_SUPPORT 80 %else 81 mov cx, ENHANCED_DRIVE_ACCESS_SUPPORT 82 cmp BYTE [di+DPT_ATA.bDevice], DEVICE_8BIT_ATA 83 jae SHORT .DoNotSetEDDflag 84 or cl, ENHANCED_DISK_DRIVE_SUPPORT 85 %endif 86 %else ; ~USE_AT 77 87 mov cx, ENHANCED_DRIVE_ACCESS_SUPPORT 78 88 79 89 ; DPTE needs buffer from RAM so do not return it in lite mode 80 %ifndef USE_AT81 90 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE 82 91 jz SHORT .DoNotSetEDDflag 83 %endif84 92 85 93 %ifdef MODULE_8BIT_IDE OR MODULE_SERIAL … … 91 99 92 100 or cl, ENHANCED_DISK_DRIVE_SUPPORT ; AH=48h returns DPTE 101 %endif ; USE_AT 93 102 .DoNotSetEDDflag: 94 103 ret
Note:
See TracChangeset
for help on using the changeset viewer.