6 int do_int26(struct sigcontext_struct
*context
)
8 BYTE
*dataptr
= pointer(DS
, BX
);
11 if( (ECX
& 0xffff) == 0xffff)
13 begin
= getdword(dataptr
);
14 length
= getword(&dataptr
[4]);
15 dataptr
= (BYTE
*) getdword(&dataptr
[6]);
19 length
= ECX
& 0xffff;
22 fprintf(stderr
,"int26: abs diskwrite, drive %d, sector %d, count %d,"
23 " buffer %d\n", EAX
& 0xff, begin
, length
, (int) dataptr
);
27 /* push flags on stack */
29 setword(pointer(SS
,SP
), (WORD
) EFL
);