From: Jim Brain (brain_at_jbrain.com)
Date: 2007-12-15 20:12:41
David Wood wrote: > Jim, > > Right. The concept I had in mind was to write a couple adjacent buffers to > a specific sector, read the target sector to write to these buffers, modify, > and write the target sector back to disk. Then, the buffers are restored > from the disk. > > However, I do realize that this limits the number of possible open files to > (most likely) 3, as two buffers would be swapped out in the process. Some > intelligent code could choose two adjacent buffers that aren't the one to be > written I suspect, eliminating this issue. Since there are five buffers, > there shouldn't be any instance where there aren't two adjacent buffers that > won't be involved in a given disk transaction. > > > I didn;t think about the idea of pre-saving two buffers and then loading them afterwards. That would definitely eliminate the need for a RAM. Still, since you need to add HW to use the IDE interface, 1 kB RAM is trivial to add. Still, folks could use your idea until a design shows up with some RAM. Great ideas. Jim Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.