X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <201003041907.o24J7K5f029877@delorie.com> X-Recipient: djgpp AT delorie DOT com From: "Josep M." To: Subject: RE: jitter between 2 hardware interrupt Date: Thu, 4 Mar 2010 20:07:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: Acq7xN48F45V1zXhRnaHjb0pk8HH/wACI3Mg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <7d47d60d-388c-487a-81ed-622226db9f6f@19g2000yqu.googlegroups.com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I don't know why, but there are som bios task wich interrupts processor = and I can not disable too. Try this code at the begining of your code: temporal=3Dllegeix_registre_pci(0x44,0,31,0,1); //temporal=3Dtemporal&(~0x10); temporal=3Dtemporal&(0x00); escriu_registre_pci(0x44,0,31,0,temporal,1); //ACPI temporal=3Dllegeix_registre_pci(0x5c,0,31,0,1); //temporal=3Dtemporal&(~0x10); temporal=3Dtemporal&(0x00); escriu_registre_pci(0x5c,0,31,0,temporal,1); //GPIO unsigned long llegeix_registre_pci(int reg,int func,int dev,int bus,int n_bytes) { int reg2; long unsigned data=3D0; reg2=3D(reg%4)*8; adress_data_852(reg,func,dev,bus,n_bytes); data=3Dinportl(0xcfc); data=3Ddata>>reg2; if(n_bytes=3D=3D4)return data; if(n_bytes=3D=3D2)return data&0xffff; if(n_bytes=3D=3D1)return data&0xff; } unsigned long escriu_registre_pci(int reg,int func,int dev,int = bus,unsigned long val,int n_bytes) { int reg2; long unsigned data,mask; reg2=3D(reg%4)*8; adress_data_852(reg,func,dev,bus,n_bytes); data=3Dinportl(0xcfc); if(n_bytes=3D=3D4)mask=3D0xffffffff; if(n_bytes=3D=3D2)mask=3D0xffff; if(n_bytes=3D=3D1)mask=3D0xff; mask=3Dmask< wrote: > I have the same problem, it is caused by bios processes. I could solve this > trouble doing that: > > 1. I had to disable USB in bios. > > 2. Disable HDD IDE block mode. > > 3. In some cards the problem persist, in this case you have to put = some code > to reprogram chipset. > > Test if you can solve your problem with 2 first points > > -----Mensaje original----- > De: philippe [mailto:philippe DOT meyn DOT DOT DOT AT vendeeconcept DOT com] > Enviado el: dimecres, 3 / mar=E7 / 2010 11:26 > Para: dj DOT DOT DOT AT delorie DOT com > Asunto: jitter between 2 hardware interrupt > it's better , Now I have 618us to 1334us fluctuation. But I don't understand : I have all disabled hardware and software interrupt except int 08, how BIOS can be priority of my program ? What I forget disable? __________ Informaci=F3n de NOD32, revisi=F3n 4916 (20100304) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com