Changeset 558 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm
- Timestamp:
- Jun 23, 2013, 3:52:31 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm
r550 r558 84 84 pop bx ; Pop block size to BL 85 85 jc SHORT .DisableBlockMode 86 mov bh, bl ; BL and BH both have block size we tried to set 87 dec bh 88 jz SHORT .DisableBlockMode 86 87 ; All valid block sizes are powers of 2 which means BL have just one bit set (parity odd). 88 ; Incrementing BX will cause all block sizes except 1 to have two bits set (parity even). 89 ; Note that PF reflects only the lowest 8 bits of any register being modified. 90 inc bx ; 1 -> 2 ? 91 jpo SHORT .DisableBlockMode ; Jump if BL = 2 92 dec bx ; Restore block size (was larger than 1) 89 93 90 94 ; Enable block mode and store block size
Note:
See TracChangeset
for help on using the changeset viewer.