[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A20 delay



>>>>> "Aleksey" == Quality Quorum <qqi@world.std.com> writes:

Aleksey> As far as I understand previous patch I submitted was corrupted
Aleksey> when merged with recent snapshot. Are you referring to something else ?

Yes. We fixed the not closed comments and tried your delay with the loop
implementation. We get an error when programming the 8259 leading
to incorrect interrupt controller behavior and a system with no interrupt 
at all.

If instead of the "delay loop" we use the old "outb al, $0x80" delay, it works again...

As far as I understood, the delay was causing problem to you for A20 setting and
not the PIC. If this is the case, I would suggest to let the delay as 
"outb	al, $0x80" by default in ldseg.S. Whatever you do in start16,
I do not care : I do not use it. BUT I would suggest to look at linux 
code as an example of *highly tested* solution.


-- 
   __                 
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF - Communication Dept
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr	http://www.crf.canon.fr