| ??? 02/17/04 23:49 Read: times |
#64981 - RE: Circular buffers Responding to: ???'s previous message |
In the BASCOM why not try the following instead. It will result in faster code I think.
Instead of trying.... inc offset offset = offset and 63 (64&63 = 0) Try this scheme.... offset = offset and 63 inc offset ... result to be always 1->64 Note: Make this change for each instance of bumping the indexes to the buffers. Michael Karas |



