Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20688

AVR-DOS : CF-Cards: AVR-DOS & IORDY ? : REPLY

$
0
0
I do not understand why using a buffer would be a problem. and the remark about the word? we still use a byte buffer. but since we need a big array, we need words for the pointers. i think i posted some code like this : [code:1:864b55ca01]const cBufsize=5000 dim buf(cbufsize) as byte, rp as word,wp as word do if rp<>wp then b=buf(rp) 'get from buffer incr rp : if rp>cbufsize then rp=0 end if loop isr_rec_ buf(rp)=udr 'store data inc rp if rp>cbufsize then tp=0 return [/code:1:864b55ca01] the isr_rec could be done with nosave and some asm but if this delay already causes a problem, then i do not think it can ever work with FAT. You could do a writesector where you write sector data without the FAT. but that requires a special app to read the disk data. do you have an ISIS simulation? then i could have a look at it.

Viewing all articles
Browse latest Browse all 20688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>