Changeset 411 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Apr 26, 2012, 7:41:59 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r408 r411 90 90 mov dl, 1 ; Sector count (required by IdeTransfer.asm) 91 91 mov al, COMMAND_IDENTIFY_DEVICE 92 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_ IDENTIFY_DEVICE, FLG_STATUS_DRQ)92 mov bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRQ) 93 93 call Idepack_StoreNonExtParametersAndIssueCommandFromAL 94 94 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm
r376 r411 71 71 ;-------------------------------------------------------------------- 72 72 .GetLbaSectorCount: 73 %ifdef MODULE_EBIOS 73 74 test BYTE [di+ATA6.wSetSup83+1], A6_wSetSup83_LBA48>>8 74 75 jz SHORT .GetLba28SectorCount 76 77 ; Get LBA48 sector count 75 78 mov ax, [di+ATA6.qwLBACnt] 76 79 mov dx, [di+ATA6.qwLBACnt+2] 77 80 mov bx, [di+ATA6.qwLBACnt+4] 78 81 ret 82 %endif 79 83 80 84 .GetLba28SectorCount: -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm
r376 r411 68 68 ALIGN JUMP_ALIGN 69 69 AccessDPT_GetDeviceControlByteToAL: 70 %ifdef MODULE_IRQ 70 71 xor al, al 71 72 test BYTE [di+DPT.bFlagsLow], FLGL_DPT_ENABLE_IRQ … … 73 74 or al, FLG_DEVCONTROL_nIEN ; Disable IRQ 74 75 .EnableDeviceIrq: 76 %else 77 mov al, FLG_DEVCONTROL_nIEN ; Disable IRQ 78 %endif 75 79 ret 76 80 -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
r376 r411 74 74 mov al, bh 75 75 and ax, BYTE FLG_DRVNHEAD_DRV ; AL now has Master/Slave bit 76 %ifdef MODULE_IRQ 76 77 cmp [cs:bp+IDEVARS.bIRQ], ah ; Interrupts enabled? 77 78 jz SHORT .StoreFlags ; If not, do not set interrupt flag 78 79 or al, FLGL_DPT_ENABLE_IRQ 79 80 .StoreFlags: 81 %endif 80 82 mov [di+DPT.wFlags], ax 81 83 ; Fall to .StoreAddressing … … 281 283 mov [di+DPT.twLbaSectors+4], bx 282 284 285 %ifdef MODULE_EBIOS 283 286 and BYTE [di+DPT.bFlagsLow], ~MASKL_DPT_ADDRESSING_MODE 284 287 test bx, bx … … 292 295 or BYTE [di+DPT.bFlagsLow], ADDRESSING_MODE_LBA48<<ADDRESSING_MODE_FIELD_POSITION 293 296 .SetLba28AddressingToDPT: 297 %endif 294 298 or BYTE [di+DPT.bFlagsLow], ADDRESSING_MODE_LBA28<<ADDRESSING_MODE_FIELD_POSITION 295 299 ret
Note:
See TracChangeset
for help on using the changeset viewer.