Page 1 of 1

Simulating a ram array

Posted: Fri Nov 10, 2017 11:34 pm
by Kenrix2
I am looking for a way to monitor all of the values in a ram array during simulation.

After reading this post, http://www.matrixtsl.com/mmforums/viewt ... 63&t=19480, it appears the Console is available for the Standard version by adding the "Test and Debugging" license.

Can the Console simulate a Ram array? Not sure if the attached would work which, I pieced together from the Wikiv7 . Am I on the right track? Any help is appreciated.

I just want to make sure the Console will do what I need before making the purchase.

Re: Simulating a ram array

Posted: Sat Nov 11, 2017 11:30 am
by medelec35
Hi Kenrix2,
This is what you can see if you have the Test and Debugging:
Console Ram1.png
(41.95 KiB) Downloaded 2153 times
Hope this helps

Martin

Re: Simulating a ram array

Posted: Sat Nov 11, 2017 8:49 pm
by Kenrix2
Thanks for showing me that.

Nice to see that it has scroll bars.

The Console seems to be printing the command /n instead of actually creating a new line.

Flowcode7 simplifies the use of larger arrays. Not having to deal with bank and page limitations is a real treat. Not sure if simulating them is doable though.

Re: Simulating a ram array

Posted: Sun Nov 12, 2017 12:03 am
by medelec35
Hi.
Kenrix2 wrote:The Console seems to be printing the command /n instead of actually creating a new line.
I have just noticed that it should be \n instead of /n which is why it's not working:
Console Ram2.png
(81.41 KiB) Downloaded 2138 times
Martin

Re: Simulating a ram array

Posted: Sun Nov 12, 2017 2:10 am
by Kenrix2
Thanks for spotting my error.

Seems to work just great. I like it.

Re: Simulating a ram array

Posted: Sun Nov 12, 2017 9:36 am
by Kenrix2
Added the "Test and Debug" license. Made a change so the location and ram array values are side by side seperated by spaces. Much easier to read it this way.
It now looks like this:
Console ram array.png
(5.3 KiB) Downloaded 2126 times
Here is the new version.