INT 0x13 AH=0x48 returned CF=1
Posted: Sat Sep 09, 2023 8:39 pm
I want to read disk parameters. This is my code:
I ran it on VMware and Bochs, CF set and AH set to 0x1. Why?
Code: Select all
int13ah48:
MOV DWORD [0xc000],0
MOV DWORD [0xc004],0
MOV DWORD [0xc008],0
MOV DWORD [0xc016],0
MOV AH,0x48
MOV DL,0x80
MOV CX,0
MOV DS,CX
MOV SI,0xc000
INT 0x13
JC fin
MOV [0xc000],AH
int13ok:
RET
fin:
JMP fin