POOKECODE and PEEKCODE


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    ... soo simple

    Pokecode DO NOT accept a variable as address ...

    Obvious !

    Once corrected ... compiles fine.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default

    thanks ,
    i try it

    regards,

  3. #3
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default

    Hello agian Alian,

    if POKECODE does not accept address avariable it becomes POKE.

    in the case, i store serveral data in the POKECODE function.
    i try it but only the datum stored at the specific location is shown up i.e at the location $11 that is $55;

    i.e. i can write: POKE $11, $55, $2A

    The output is only $55 (after compile)
    but if i wrire

    POKECODE $55, $2A ( location address is empty or a constant)

    PEEKCODE ??? , OUT_STORAGE ( ??? Mean which address: the first datum is retrieved only, that is $55

    and in case i would jump to the second location to pick up the datum (i.e. $2A) of that location how can I do?

    I believe i do not have those functions?

    thanks
    regards,

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Thumbs down

    Really interesting point of view ... "this explains that ... "

    have a good evening.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default

    hello ALain,

    youa re right.

    the variable does nothing on the POKECODeE. after refresh my mind i relize taht. misunderstanding the address

    thanks again for your help

    regards,

    the address

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi, Minhle

    May be you might try the WRITECODE Command

    a good night somtimes Helps ... to understand what is looked for. LOL

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

    Default

    Hello Alain,
    thanks, both EEPROM and DATA, WRITE and READ are work well

    regards,

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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