Changeset 365 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device
- Timestamp:
- Mar 27, 2012, 5:01:57 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r363 r365 55 55 mov [di+DPT.wFlags], ax 56 56 mov [di+DPT.bIdevarsOffset], bp 57 mov BYTE [di+DPT_ATA.b SetBlock], 1 ; Block = 1 sector57 mov BYTE [di+DPT_ATA.bBlockSize], 1 ; Block = 1 sector 58 58 %ifdef MODULE_ADVANCED_ATA 59 59 call IdeDPT_StoreDeviceTypeFromIdevarsInCSBPtoDPTinDSDI -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm
r364 r365 30 30 ;-------------------------------------------------------------------- 31 31 .StoreBlockMode: 32 mov al, 1 ; Block mode will be enabled on AH=9h 33 mov ah, [es:si+ATA1.bBlckSize] ; Max block size in sectors 34 mov [di+DPT_ATA.wSetAndMaxBlock], ax 32 mov BYTE [di+DPT_ATA.bBlockSize], 1 35 33 36 34 %ifdef MODULE_ADVANCED_ATA -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r364 r365 180 180 ; Store sizes 181 181 mov [bp+PIOVARS.bSectorsLeft], ah 182 eMOVZX ax, BYTE [di+DPT_ATA.b SetBlock]182 eMOVZX ax, BYTE [di+DPT_ATA.bBlockSize] 183 183 mov [bp+PIOVARS.wSectorsInBlock], ax 184 184 mov [bp+PIOVARS.bSectorsDone], ah ; Zero -
trunk/XTIDE_Universal_BIOS/Src/Device/MemoryMappedIDE/MemIdeTransfer.asm
r294 r365 42 42 mov ch, [bp+IDEPACK.bSectorCount] 43 43 mov [bp+MEMPIOVARS.wWordsLeft], cx 44 mov ch, [di+DPT_ATA.b SetBlock]44 mov ch, [di+DPT_ATA.bBlockSize] 45 45 mov [bp+MEMPIOVARS.wWordsInBlock], cx 46 46 mov [bp+MEMPIOVARS.fpDPT], di
Note:
See TracChangeset
for help on using the changeset viewer.