int86x() and int86() Trap for Interrupts 25h, 26h (48744)
The information in this article applies to:
- The C Run-Time (CRT), when used with:
- Microsoft C for MS-DOS 5.1
- Microsoft C for MS-DOS 6.0
- Microsoft C for MS-DOS 6.0a
- Microsoft C for MS-DOS 6.0ax
- Microsoft C/C++ for MS-DOS 7.0
This article was previously published under Q48744 SUMMARY
MS-DOS interrupts 25h (absolute disk read) and 26h (absolute disk
write) require special handling when being used because they leave the
CPU flags on the stack upon termination.
Functions int86x() and int86() work reliably with these interrupts.
The int86() functions trap for these two interrupts, and take care of
the stack appropriately. Use one of the int86() functions to make
these calls as you would any other MS-DOS interrupt call. Extra
precautions aren't needed with these interrupts.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kb16bitonly KB48744 |
---|
|