====== KryoFlux - Disk Reading - Fine Tuning ====== //2009-10-12// Got some real ring-buffer code in the sampler interrupt. It took a long time to balance, as the number of instructions should be minimal. It's been tested running with the USB stress-test and sampling a disk at the same time - after a few structural changes the speed could still be maintained. This process was iterated through, checking the generated assembly code and identifying the sort of code that produces slow or over-complicated access. The sampler is still in C, and will hopefully remain that way.