Menu

Wrong table reading in EEPROM

Gigi
2023-08-15
2023-08-21
<< < 1 2 (Page 2 of 2)
  • Anobium

    Anobium - 2023-08-20

    Thanks.

    Can you check you have GCASM selected, and Append to Great Cow BASIC message to HEX file is checked. See the attachment.

    Then, verify all is working, then post the HEX produced to post in this thread.


    The ASM was always correct. Hence, it worked in MPASM. It was GCASM conversion of the ASM source ( all in internal to the GCBASIC compiler) that was the root cause. The HEX will show me that all is good. :-)

     

    Last edit: Anobium 2023-08-20
  • Gigi

    Gigi - 2023-08-20

    OK, I send files as requested

     
  • Gigi

    Gigi - 2023-08-20

    and

     
  • Anobium

    Anobium - 2023-08-20

    Thank you.

    If you are happy then we can call this done! :-)

     
  • Gigi

    Gigi - 2023-08-21

    Sorry, I'm bothering you again for a simple problem, I can't put a table with more lines, the compiler gives an error:

     
    • Anobium

      Anobium - 2023-08-21

      You have a line continuation " _" on the error line.

      Remove the continaation " _" as this can only appear at the end of the line of code.

       
  • Gigi

    Gigi - 2023-08-21

    ok but for a more orderly reading of the code I would like to do:
    Table code Store data
    1,2,3,4, ' cod1
    5,6,7,8,
    ' cod2
    9,0,1,2 ' ecc
    End Table
    It is not possible ?

     
  • Anobium

    Anobium - 2023-08-21

    Not quite right. The , at the end indicates more table data on the line and you have comments and therefore not more table data on the line.

    The following is correct.

    Table code0 Store data
    1,2,3,4 ' cod1
    5,6,7,8 ' cod2
    9,0,1,2 ' ecc
    End Table
    
     
  • Gigi

    Gigi - 2023-08-21

    OK I messed up for nothing

     
    • Anobium

      Anobium - 2023-08-21

      No Problem. I understand.

       
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.