Hey guys,
I've got a feature to save a game.
emulated it and it works fine! But on the hardware there's nothing!
No saving, no loading!!!! WHY??
EESAVE is programmed!
EEPROM
Re: EEPROM
Need some code
Re: EEPROM
has done it! I was just a bit too stupid! I have forgotten load the ID. Now it works! Thanks anyway! Oh damn, I hate to be a newbie in C!
but it was strange... with the emulator it works fine, and on the hardware not! But now it works also with the Uzebox!
but it was strange... with the emulator it works fine, and on the hardware not! But now it works also with the Uzebox!
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!
Re: EEPROM
Good deal, if you ever feel bad about your code it's probably because you didn't look at my first uzebox stuff yet I'd say your first dabbling in C turned out quite respectable.
<pointless>
Little rusty on eeprom stuff but perhaps you save and it is simply uses id 0 since it was uninitialized ram value. If you have blank eeprom, the very first block it searches will have a 0 in id byte(s?). Then you load without id and you get that 0 block. On real hardware maybe you have some save from other things that are in that very first ~32 bytes(ie kernel flags). Just a thought
</pointless>
<pointless>
Little rusty on eeprom stuff but perhaps you save and it is simply uses id 0 since it was uninitialized ram value. If you have blank eeprom, the very first block it searches will have a 0 in id byte(s?). Then you load without id and you get that 0 block. On real hardware maybe you have some save from other things that are in that very first ~32 bytes(ie kernel flags). Just a thought
</pointless>