steven@mcvax.uucp (Steven Pemberton) (09/01/86)
Two queries about using Microsoft C: 1) anybody know how to catch overflow from a regular floating point operation (such as + or *), rather than a math function such as sin? Most C systems either ignore floating overflow or let you catch it with signal(), but MSC only allows you to catch control-c with signal, and seems only to let you catch overflow from math routines. 2) anybody know if it's possible to call interrupts 37 and 38 (hex 25 and 26): absolute disk read/write. When I try it, the program crashes, presumably because these two interrupts leave the flags on the stack (although goodness knows why), and intdos() doesn't seem to account for this. Of course, I can use interrupt 13 hex to achieve the same end, but it's more work (first reading the boot sector to find out the number of sectors and sides). Thanks in advance Steven Pemberton, CWI, Amsterdam; steven@mcvax.uucp