From: cs AT vums DOT cz Newsgroups: comp.os.msdos.djgpp Subject: Interrupt enable Date: Tue, 20 Jun 2000 13:38:23 GMT Organization: Deja.com - Before you buy. Lines: 29 Message-ID: <8ins4d$6o0$1@nnrp1.deja.com> NNTP-Posting-Host: 212.20.105.31 X-Article-Creation-Date: Tue Jun 20 13:38:23 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) X-Http-Proxy: 1.1 x73.deja.com:80 (Squid/1.1.22) for client 212.20.105.31 X-MyDeja-Info: XMYDJUIDkarelhladis To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Could you help me? The following program (Borland C 3.1) works incorrectly on one suspicious computer only: main(void) { ... setvect(8,Timer); // store to interrupt routine ... } void interrupt Timer(void) { ... outport(0x20,0x20); // enable interrupt (work incorrectly) } On the other computers the program works correctly. The suspicious computer parameters: 486DX4 AMIBIOS 1994. Include PCI and ISA bus, PCI VGA and MS DOS 6.22. Other orograms runs on this computer correctly. Questions: 1. Is the statement (enable interrupt) "outport(0x20,0x20)" correct ? 2. How to solve a such problem ? Thanks Karel Sent via Deja.com http://www.deja.com/ Before you buy.