Sender: nate AT cartsys DOT com Message-ID: <35F58484.40ABE3E4@cartsys.com> Date: Tue, 08 Sep 1998 12:24:52 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Markus Brenner CC: djgpp AT delorie DOT com Subject: Re: Help with high-speed data aquisition References: <6t15sc$7es$1 AT fu-berlin DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Markus Brenner wrote: > My question is: Can I turn off interrupts, and if yes, how? I could well > confine myself to use this tool under DOS, so I don't really have scrupels to > kill the multitasking :) OTOH I am not very familiar with protected mode and > memory management, can I still use large memory (needed for the buffer) if I > turn off interrupts? See the functions `enable' and `disable'. Note that interrupts could still happen (for instance, if a page of your buffer needs to be swapped in). You might consider locking your memory (with __dpmi functions, or the crt0 flag (which is simpler though inflexible)). And of course, under Windows or another multitasker, it won't really disable interrupts at all. -- Nate Eldredge nate AT cartsys DOT com