Date: Mon, 22 Aug 1994 07:55:40 +0100 (CET) From: "Roland Exler" Sender: k3a0270 AT pop DOT uni-linz DOT ac DOT at Reply-To: R DOT Exler AT jk DOT uni-linz DOT ac DOT at To: Subject: RE: IRQs with djgpp I saw a lot of messages about using int's, so I'll post a short example just doing some io to a adc/dac-board using the system-timer. Hope it helps, Roland **** start of example (use -lpc to link the used functions of djgpp) **** #define ADC 0x300 #define DAC 0x302 #define SAMPLES 100 short int *out_buffer; short int *in_buffer; volatile unsigned short int io_index; _go32_dpmi_seginfo old_timer; void timer_handler(void) { if (io_index