CompuServe Thread

Interupt.h, Extend..

2 messages in this thread
#24388From: UNITED NATIONS-ECLAC-STGMar 6, 1990 7:32 PM
Las week a bought Turbo C Memory … and Extending Turbo C books. The programs in the second book need the header file "interupt.h", but the listin is not include{ in the book. I have written a file like this: #define KEYBOARD 0x16 #define TIMER 0x1a typedef struct { int bp, di, si, ds, es, dx, … , fl; } IREGS; I know this is not complete, is it possible to obtain the complete header file from you ? Cristian
#24400From: Al StevensMar 7, 1990 11:56 AM
Cristian, Here it it: /* ———– interupt.h ———— */ /* ——- the interrupt function registers ——– */ typedef struct { int bp,di,si,ds,es,dx,cx,bx,ax,ip,cs,fl; } IREGS; #define VIDEO 0x10 #define DOS 0x21 #define KYBRD 9 #define KEYBOARD 0x16 #define TIMER 8 #define KBDATA 0x60 #define KBCONTROL 0x61 #define KBSTATUS 0x64 #define ZEROFLAG 0x40 Al Stevens