Message-ID: <3BD545A8.4070501@maxi-tip.cz> Date: Tue, 23 Oct 2001 12:25:44 +0200 From: Igor Bujna Organization: =?ISO-8859-2?Q?S=E1zkov=E1=20kancel=E1=F8?= Maxi-tip a.s. User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5) Gecko/20011011 X-Accept-Language: cs, en-us MIME-Version: 1.0 To: djgpp Subject: Problem with outb and inb Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Reply-To: djgpp AT delorie DOT com Hallo i want to use funkction outb and inb for writing to a printer on LPT1. If i have test program like this: main(){ biosprint(0,56,0); biosprint(0,10,0);} Is everything OK(i print "8\n"); But if i have this program: main(){ outportw(0x378,56); outportw(0x378,10);} from printer i get nothing. What i doing wrong.