Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r589 r592 97 97 sti ; Enable interrupts 98 98 %endif 99 %ifdef CLD_NEEDED 99 100 cld ; String instructions to increment pointers 101 %endif 100 102 ePUSHA 101 103 push ds … … 193 195 194 196 ; Push old INT 13h handler and restore registers 197 %ifdef USE_386 198 push DWORD [RAMVARS.fpOldI13h] 199 %else 195 200 push WORD [RAMVARS.fpOldI13h+2] 196 201 push WORD [RAMVARS.fpOldI13h] 202 %endif 197 203 mov bx, [bp+IDEPACK.intpack+INTPACK.bx] 198 204 mov di, [bp+IDEPACK.intpack+INTPACK.di] -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH0h_HReset.asm
r567 r592 126 126 mov cx, NUMBER_OF_IDEVARS 127 127 128 . loop:128 .Loop: 129 129 call FindDPT_MasterOrSingleForIdevarsOffsetInDL 130 130 jc SHORT .ControllerNotAvailable … … 162 162 .ControllerNotAvailable: 163 163 add dl, IDEVARS_size ; move Idevars pointer forward 164 loop . loop164 loop .Loop 165 165 ret -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH1Eh_XTCF.asm
r589 r592 121 121 ; 122 122 ; Also note that some machines, noteably the Olivetti M24 (also known as 123 ; the AT&T PC6300 and Xerox 6060), have hardware errors in the BIU logic,124 ; resulting in reversed byte ordering. Therefore, XTCF_8BIT_PIO_MODE is125 ; the default transfer mode for best system compatibility.123 ; the AT&T PC6300 or Xerox 6060 or Logabax Persona 1600), have hardware errors 124 ; in the BIU logic, resulting in reversed byte ordering. Therefore, 125 ; XTCF_8BIT_PIO_MODE is the default transfer mode for best system compatibility. 126 126 127 127 -
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 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm
r589 r592 110 110 and al, MASKL_DPT_TRANSLATEMODE 111 111 112 ;;; 0: ADDRESSING_MODE_NORMAL112 ;;; 0: TRANSLATEMODE_NORMAL 113 113 jz SHORT DoNotConvertLCHS 114 114 115 ;;; 1: ADDRESSING_MODE_LARGE115 ;;; 1: TRANSLATEMODE_LARGE 116 116 test al, FLGL_DPT_ASSISTED_LBA 117 117 jz SHORT ConvertLargeModeLCHStoPCHS 118 118 119 ;;; 2: ADDRESSING_MODE_ASSISTED_LBA119 ;;; 2: TRANSLATEMODE_ASSISTED_LBA 120 120 ; Fall to ConvertAssistedLBAModeLCHStoLBARegisterValues 121 121 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r567 r592 30 30 Int19h_BootLoaderHandler: 31 31 sti ; Enable interrupts 32 %ifdef CLD_NEEDED 32 33 cld ; String instructions to increment pointers 34 %endif 33 35 %ifdef MODULE_VERY_LATE_INIT 34 36 LOAD_BDA_SEGMENT_TO ds, ax ; Load BDA segment (zero) to DS
Note:
See TracChangeset
for help on using the changeset viewer.