This shows you the differences between two versions of the page.
cc65:peek_and_poke [2010-06-01 22:28] uz |
cc65:peek_and_poke [2010-06-16 00:33] (current) silverdr |
||
---|---|---|---|
Line 5: | Line 5: | ||
** I want to write programs for my <insert name of cool 6502 based machine here>, but I need something similar to the BASIC PEEK and POKE commands to do anything useful. ** | ** I want to write programs for my <insert name of cool 6502 based machine here>, but I need something similar to the BASIC PEEK and POKE commands to do anything useful. ** | ||
- | There are several possible ways to achive what you want. The basic method is always to use addresses cast to pointers of the needed type: | + | There are several possible ways to achieve what you want. The basic method is always to use addresses cast to pointers of the needed type: |
<code c> | <code c> |