Hi Bertrand,
I do similar buffer management, as is pretty necessary with the SPI. The way I usually do it is with the H:X register as an index, and then having the address to each buffer specified as an offset in the MOV instruction. Here is an example:
Well, this new board pretty much sucks. I can't find a way to insert code. I never thought I would miss the old Lithium board.
I will post back when I find a way to insert code.
EDIT: Well, there seems to be no way to post code in a window. There also seems to be no way to request help from a moderator. And also no topic to discuss the board itself. Yes, I'm starting to miss that crappy old Lithium board.
So I will simply attach the source file:
AAARRGG: This board turned it into a ZIP file !