5 int do_int25(struct sigcontext_struct
*context
)
7 BYTE
*dataptr
= pointer(DS
, BX
);
10 if( (ECX
& 0xffff) == 0xffff)
12 begin
= getdword(dataptr
);
14 length
= getword(&dataptr
[4]);
16 dataptr
= (BYTE
*) getdword(&dataptr
[6]);
18 fprintf(stderr
, "int25: abs diskread, drive %d, sector %d, "
19 "count %d, buffer %d\n", EAX
& 0xff, begin
, length
, (int) dataptr
);
23 length
= ECX
& 0xffff;
25 fprintf(stderr
,"int25: abs diskread-2, drive %d, sector %d, count %d,"
26 " buffer %d\n", EAX
& 0xff, begin
, length
, (int) dataptr
);