contiguous chunk of outq to emulation routine. Fix based on patch from M. Drochner, modified to call output routine once with each contiguous chunk when the ring buffer wraps around.