Changeset 28 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Aug 1, 2010, 5:57:24 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/Int13h.inc
r3 r28 2 2 ; Project name : IDE BIOS 3 3 ; Created date : 23.3.2010 4 ; Last update : 2 3.3.20104 ; Last update : 29.7.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Equates used in INT 13h functions. … … 44 44 B_TIMEOUT_BSY EQU (1000/55) ; 1000 ms 45 45 B_TIMEOUT_RDY EQU (1000/55) ; 1000 ms 46 B_TIMEOUT_DRQ EQU (5000/55) ; 5000 ms46 B_TIMEOUT_DRQ EQU 255 ; 14 s (some CF cards occasionally have long write delays) 47 47 B_TIMEOUT_DRVINFO EQU (500/55) ; 500 ms 48 48 B_TIMEOUT_RESET EQU 255 ; 14 s 49 49 50 50 51 -
trunk/XTIDE_Universal_BIOS/Inc/emulate.inc
r3 r28 152 152 %ifndef USE_386 153 153 %ifidni %1, ax 154 xor ax, ax155 154 mov al, %2 155 xor ah, ah 156 156 %elifidni %1, bx 157 157 mov bl, %2 158 158 xor bh, bh ; %2 may use BX in effective address 159 159 %elifidni %1, cx 160 xor cx, cx161 160 mov cl, %2 161 xor ch, ch 162 162 %elifidni %1, dx 163 xor dx, dx164 163 mov dl, %2 164 xor dh, dh 165 165 %else ; SI, DI, BP (all may be used in effective address) 166 166 push ax 167 xor ax, ax168 167 mov al, %2 168 xor ah, ah 169 169 xchg ax, %1 170 170 pop ax
Note:
See TracChangeset
for help on using the changeset viewer.