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