Changeset 589 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/Bios.asm
- Timestamp:
- May 22, 2016, 12:26:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BIOS_Drive_Information_Tool/Src/Bios.asm
r566 r589 146 146 mov bx, 55AAh 147 147 int BIOS_DISK_INTERRUPT_13h 148 jc SHORT .NoEbiosPresent 149 cmp bx, 0AA55h 150 jne SHORT .NoEbiosPresent 151 eMOVZX bx, ah ; Copy version to BX 152 xor ah, ah 153 ret 154 .NoEbiosPresent: 155 mov ah, RET_HD_INVALID 156 stc 148 jc SHORT ReturnInvalidErrorCodeInAH ; No EBIOS present 149 xor bx, 0AA55h 150 jnz SHORT ReturnInvalidErrorCodeInAH ; No EBIOS present 151 xchg bl, ah ; Version to BX, BIOS error code to AH 157 152 ret 158 153
Note:
See TracChangeset
for help on using the changeset viewer.