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

Re: Latest Re-sync



Kay Roemer writes:

> > There is also a problem with BIOS FS.  My terminal reads AUX for about
> > ... well .. it reads until the buffer is empty but then it no longer
> > reads any more characters.  I can still send characters, but none are
> > read.  This is definately a bug.  I am using MODM0DEV instead of MiNTs
> > built-in MODEM1 in order to fix the problem.  MODEM1 is broke, MODM0DEV
> > isn't (although it would be nice it MODM0DEV used addroottimeout
> > instead of its daemon - it's daemon uses CPU time too - is it polling
> > at all?).
> 
> Add a line
> 
> checkbttys();
> 
> to the top of sleep() in proc.c. This cures the problem.

 actually i would,

Index: proc.c
@@ -492,12 +492,15 @@
  */
 
 	sr = spl7();
-	if (kintr && (sr & 0x700) < 0x500) {
+	if ((sr & 0x700) < 0x500) {
 /* can't call checkkeys if sleep was called with interrupts off  -nox */
 		spl(sr);
-		(void)checkkeys();
+		(void)checkbttys();
+		if (kintr) {
+			(void)checkkeys();
+			kintr = 0;
+		}
 		sr = spl7();
-		kintr = 0;
 	}
 
 	if (que == READY_Q && !sys_q[READY_Q]) {

 or you could get receiver overruns again...
> 
> Cheers,
> Kay.
 ditto :)
	Juergen
-- 
J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
								...ohne Gewehr
PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA