Hi Matthew,
Among the many consecutive projects I have running is a desire to make my own serial LCD using pbp. I have code for an asm version but that defeats the learning process in this particular case. Anyhow, in everything I've researched to date it would appear that the only truly reliable way around this problem is to use interupts. That way you are just buffering a single incoming byte, doing other stuff with your code while waiting for the next byte and so on. That will also allow you to parse those bytes once you have them while waiting for the next lot of data to arrive. I don't have any solid code for this at this time, but it is most likely the same path that you will have to take. While I haven't begun experimenting with the pbp interupt instruction set yet, from what I have read code becomes large and has a lot of overhead as a result. Sadly, asm routines may be a better answer even if intermingled into your .bas code with ASM...ENDASM
Good coding,
Sherm
Bookmarks