Cteni dat pres lapling486

Marek Blasko blasko na vuje.sk
Čtvrtek Březen 14 08:53:15 CET 2002


oprava zabudol som prepnut port :(

> ---------------------------------
> ioperm(BASE,3,1)                        // vytvorenie pristupu k 
>					  //portu

outb(BASE+2,inb(BASE+2)|0x10);

> do
>         {
>         while((inb(BASE+1)&4)==1);      // Cakanie na strobe signal
> 
>         putchar(inb(BASE));             // vypisanie prijateho znaku
> 
>         while(!(inb(BASE+1)&4);         // Cakanie na koniec strobe
> while(1)
> ---------------------------------

-- 
Niesom povinny byt taky, aky by som podla ostatnich mal byt.
Je to ich omyl nie moje zlyhanie.
		Richard Philips Feynman
---------------
First they came for the Communists,
     and I didn't speak up,
         because I wasn't a Communist.
Then they came for the Jews,
     and I didn't speak up,
         because I wasn't a Jew.
Then they came for the Catholics,
     and I didn't speak up,
         because I was a Protestant.
Then they came for me,
     and by that time there was no one
         left to speak up for me.

   by Rev. Martin Niemoller, 1945


Další informace o konferenci Linux