Changeset 227 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools
- Timestamp:
- Jan 29, 2012, 1:33:44 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm
r200 r227 53 53 ; LHead / PHeadCount and LHead % PHeadCount 54 54 eMOVZX ax, bh ; Copy L-CHS Head number to AX 55 div BYTE [di+DPT.b Heads]; AL = LHead / PHeadCount, AH = LHead % PHeadCount55 div BYTE [di+DPT.bPchsHeads]; AL = LHead / PHeadCount, AH = LHead % PHeadCount 56 56 mov bh, ah ; Copy P-CHS Head number to BH 57 57 xor ah, ah ; AX = LHead / PHeadCount … … 129 129 ; cylToSeek*headsPerCyl (18-bit result) 130 130 mov ax, cx ; Copy Cylinder number to AX 131 eMOVZX dx, BYTE [di+DPT.b Heads]131 eMOVZX dx, BYTE [di+DPT.bLbaHeads] 132 132 mul dx ; DX:AX = cylToSeek*headsPerCyl 133 133
Note:
See TracChangeset
for help on using the changeset viewer.