Commit Diff


commit - 0bc2d19951e281481a326eb3b2dc898bd5832690
commit + 05bfbe60e7089fe795c8cbe62949a35a605de6ea
blob - 947c195443fbeb4c476166dbbc528c8839f69dd7
blob + 77d5b6bd556b9520627cffeb59079dfcb82cad79
--- mc5000.c
+++ mc5000.c
@@ -281,6 +281,10 @@ emit_byte(int n)
 	if (outf != NULL)
 		fputc(n, outf);
 	checksum += n;
+
+	// XXX
+	struct timespec ts = {0, 10 * 100000L};		/* 10 ms */
+	nanosleep(&ts, NULL);	// XXX could be interrupted
 }
 
 void