adressing dely ram
Posted: Tue Jan 15, 2013 8:28 am
hi to all,
i have some small problems understanding the addressing of the delay ram.
1) Calculating of RAM Addresses is done in the ACC and the registers, which are 24 bits wide. The addr_ptr as well as the address in the rda and wra instruction are 16bits wide. Which portion of the 24bits value is take for the addressing, the 16 lsb bits or the 16 msb bits?
2) My understanding of the delay ram is, that an "invisible" counter is decremented and determines the absolute read/write address of the delay ram cell. In the rda/wra instruction only a offset to this address counter is set. Is my understanding right? Is there any way to read the current pointer?
I'm currently trying to program a simple loop sampler using the the pot inputs for sample-start/playback-start and i am struggling around with the pointers for some days now with no clue for the right implementation
Thanks for any hint or help....
i have some small problems understanding the addressing of the delay ram.
1) Calculating of RAM Addresses is done in the ACC and the registers, which are 24 bits wide. The addr_ptr as well as the address in the rda and wra instruction are 16bits wide. Which portion of the 24bits value is take for the addressing, the 16 lsb bits or the 16 msb bits?
2) My understanding of the delay ram is, that an "invisible" counter is decremented and determines the absolute read/write address of the delay ram cell. In the rda/wra instruction only a offset to this address counter is set. Is my understanding right? Is there any way to read the current pointer?
I'm currently trying to program a simple loop sampler using the the pot inputs for sample-start/playback-start and i am struggling around with the pointers for some days now with no clue for the right implementation
Thanks for any hint or help....