Buzby
Senior Member
Any of you who had an Apple][ , or maybe an Atari, will remember *Animals*.
I decided to try writing it from scratch, just to see what text handling would be like in the PICAXE world. ( I am about to embark on a project using lots of strings. )
The code is not very clean, it was written on the fly. I just wanted to get a feel for what it would be like to handle strings and store text in i2c EEPROM.
My conclusion - it needs a lot of work !.
The i2c page buffer gives headaches when, as in *Animals*, the texts are variable lengths.
Also, the useage of the PICAXE scratchpad needs carefull planning, especially as I will need to use hserin as well.
Anyway, if anyone wants to breadboard up *Animals*, here's some code to get started with.
Cheers,
Buzby
I decided to try writing it from scratch, just to see what text handling would be like in the PICAXE world. ( I am about to embark on a project using lots of strings. )
The code is not very clean, it was written on the fly. I just wanted to get a feel for what it would be like to handle strings and store text in i2c EEPROM.
My conclusion - it needs a lot of work !.
The i2c page buffer gives headaches when, as in *Animals*, the texts are variable lengths.
Also, the useage of the PICAXE scratchpad needs carefull planning, especially as I will need to use hserin as well.
Anyway, if anyone wants to breadboard up *Animals*, here's some code to get started with.
Cheers,
Buzby
Attachments
-
12.6 KB Views: 101