X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Jean-Pierre GHYS" Newsgroups: comp.os.msdos.djgpp Subject: Re: WHY IRQ WANT RUN ???? HELP ??? Date: Fri, 8 Feb 2002 11:58:33 -0000 Organization: I.N.R.E.T.S. Lines: 27 Message-ID: References: <570-Fri08Feb2002124307+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: pc-ghys.inrets.fr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > I don't see any big bugs, except that you should call init_port and > init_8259 only _after_ setting up the protected-mode handler for > IRQ 7. > > The real problem in this program seems to be that it doesn't do > anything that is supposed to trigger an interrupt from the LPT port. > My references indicate that the interrupt happens when there's an > acknowledge pulse, so you should do something that causes the printer > to send such a pulse. Thanks for anwser Eli or dear OM(I am a radioa amateur) i will see for the call init port after after_ setting up the protected-mode handler and i saw this afternoon how the parallel port works and generate pulse down from 1 to 0 in 5 to 50 micro seconde maximum to respect the ack of a real printer i will use a pulse generator to perform this pulse Many thanks again Ghys Jean-pierre