TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: DARRYL GREGORASH
from: JAMES VAHN
date: 1998-01-16 19:32:00
subject: Re: circular buffer

>  JV> Sounds good to me. Use ES:DI, DS:SI and CX in conjunction
>  JV> with REP MOVSB and I think you'll find an easy solution for
>  JV> your  buffer.
> 
> Much easier just to "move" a couple of pointers, not gobs of data :)
I don't think you described a circular buffer..  
Whadya mean: 'buffer is empty' head=tail ?  
That's a stacked buffer. 
Otherwise you're right, fiddling with the pointers might not be
easier but certainly faster than moving gobs of data.
--- ifmail-tx (i386 Linux)
---------------
* Origin: jvahn@short.circuit.com (1:346/15.1@fidonet)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.