Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!csun!Twg-S5!abcscnuk From: abcscnuk@Twg-S5.uucp (Naoto Kimura (ACM)) Newsgroups: comp.lang.pascal Subject: Re: About Emptying COM1 port Message-ID: <1990Sep5.062225.16749@csun.edu> Date: 5 Sep 90 06:22:25 GMT References: <34753@unix.cis.pitt.edu> Sender: news@csun.edu (News Administrator) Organization: csun Lines: 18 In article <34753@unix.cis.pitt.edu> cncst@unix.cis.pitt.edu (Christophe N. Christoff) writes: > ... (stuff about getting garbage character in COM port after cold > boot, but not warm boot) ... > I haven't tried this, but what if you read from the port directly ? This should reset the status port. Junk := port[$3f8]; (* COM1 *) Junk := port[$2f8]; (* COM2 *) Junk := port[$3e8]; (* COM3 *) Junk := port[$2e8]; (* COM4 *) //-n-\\ Naoto Kimura _____---=======---_____ (abcscnuk@csuna.csun.edu) ====____\ /.. ..\ /____==== // ---\__O__/--- \\ Enterprise... Surrender or we'll \_\ /_/ send back your *&^$% tribbles !!