From: "Mike McDonald" Newsgroups: comp.os.msdos.djgpp Subject: Urgent Question: Interrupt handling Date: 9 Oct 1996 02:51:14 GMT Organization: University of Michigan Engineering, Ann Arbor Lines: 21 Message-ID: <01bbb58c$a6acc510$c61ed58d@enigma> NNTP-Posting-Host: enigma.engin.umich.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I, being new to djgpp and AT&T assembly, am programming a keyboard interrupt handler for a simple DOS game under djgpp. I set the new vector using DOS function 35h but whenever the interrupt is called, the program immediately exits. The interrupt handler does nothing except a nop and return: __asm__ __volatile__ (" _Keyboard_Driver:\n nop\n iret" ); Am I missing something about programming interrupt handlers under djgpp? I need to finish this handler ASAP. Could anyone post or e-mail me some sample code for setting up a rudimentary interrupt handler? - Mike McDonald kelek AT engin DOT umich DOT edu