Skip the EEPROM statement, and use DATA.
If you know the last used EEPROM location from the previous program.
Start somewhere after that with ...
Code:
DATA @128 ; anywhere past the original data
Then let PBP decide where the rest goes with ...
Code:
ee_patnum DATA 2
ee_stepnum DATA 0
ee_bright DATA 255
ee_xfade DATA 254
And when you want to retrieve it ...
Code:
READ ee_bright, bright
READ ee_xfade, xfade
Or write to it ...
Code:
WRITE ee_bright, bright
WRITE ee_xfade, xfade
If you have PBP 2.60, you can also have DATA Words or Longs.
hth,
Bookmarks