P2 Taqoz V2.8: How do you use LUT? Some sort of standard needed?
Hi Taqoz Forthers!
How do you use LUT Ram?
I am now thinking to use this Feature more actively. As a storage that is faster than HUB Ram and private to a cog. For example the variable "toset" for values could reside there or the switch-variable for a modified switch-case. The reason to ask here is because the addresses must be hardcoded to make things fast. I think.
$30 If branch
$80 L> Auxiliary stack
.... $1FF End of LUT
Up to now I have hardly used the L stack. Perhaps I could/should use it for the local variables. For this it would be needed to be large.
At the moment I have a LUT table of length $40 starting at $0100. Thinking of it, I should shift it to a higher place.
Perhaps it would be a good idea to have a word like "longs" that can reserve LUT space starting from end of LUT? I will try that "lutLongs", I think.
This is a little bit of brainstorming. Curious about some comments.