7 /* #define DEBUG_INT */
11 void IntBarf(int i
, struct sigcontext_struct
*context
);
13 int do_int26(struct sigcontext_struct
*context
)
15 BYTE
*dataptr
= pointer(DS
, BX
);
19 begin
= getdword(dataptr
);
20 length
= getword(&dataptr
[4]);
21 dataptr
= (BYTE
*) getdword(&dataptr
[6]);
28 dprintf_int(stdnimp
,"int26: abs diskwrite, drive %d, sector %d, count %d,"
29 " buffer %d\n", EAX
& 0xff, begin
, length
, (int) dataptr
);
33 /* push flags on stack */
35 setword(pointer(SS
,SP
), (WORD
) EFL
);