​ ​ ​ ​ PE6.0.9.3 @ptrinc simulation
Results 1 to 5 of 5

Thread: PE6.0.9.3 @ptrinc simulation

  1. #1
    Senior Member
    Join Date
    Feb 2009
    Location
    Cheshire, England
    Posts
    2,487
    Blog Entries
    4

    Default PE6.0.9.3 @ptrinc simulation

    I reported this issue way back in PE5 days, September 2012, but it still seems to be with us in PE6, this time with no increment at all !.

    http://www.picaxeforum.co.uk/showthr...oblem-with-ptr

    PE6_ptrinc.PNG

    Cheers,

    Buzby

  2. #2
    Technical Support
    Join Date
    Jan 1970
    Location
    UK
    Posts
    24,373

    Default

    We will investigate.

  3. #3
    Senior Member
    Join Date
    Feb 2010
    Location
    Don't Mess With My Texas!
    Posts
    2,566
    Blog Entries
    7

    Default

    The same problem occurs if you use SPIOUT.

    It doesn't matter if you use ptrinc or bptrinc.

    I also ran into this with my recent wanderings into the world of SPI.
    - Tex
    __________________________________________________ _______________________
    These words are my opinion, WYLION. Any resemblance to truth or fiction is accidental at best.
    "Truth lies dormant in our future history." ― Tex Clodhopper LXVI
    "Confidence is ignorance. If you're feeling cocky, it's because there's something you don't know." ― Eoin Colfer, Artemis Fowl

  4. #4
    Technical Support
    Join Date
    Jan 1970
    Location
    Bath,UK
    Posts
    6,468
    Blog Entries
    1

    Default

    Because the simulation doesn't have any meaningful data to use, it doesn't currently actually do any write to the variable. However this in turn means that the ptr doesn't increment in the simualtion. We've changed this for the next release so at least the ptr now increments.
    PICAXE Technical Support

  5. #5
    Senior Member
    Join Date
    Feb 2009
    Location
    Cheshire, England
    Posts
    2,487
    Blog Entries
    4

    Default

    That's good to know.

    It is important that the simulator increments the ptr, even though the @ptr data is not used, because further code may depend on the value of ptr.

    Will the next release of PE6 also have the 20X2 #slot 4 problem fixed as well ?

    Cheers,

    Buzby

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •