| ??? 05/14/03 01:24 Read: times |
#45396 - changing permanent data |
I have a question that is hopefully easy to answer. I have been searching but I have not found any other posts that fit.
I have a project, I have actually come here for help on the same project one or two other times and you have always come through for me. Anyway, my program reads in data, checks a permanent storage table to see if the data already exists, if it does exist, it plays a message recorded at an address of a Winbond chip. If it does not already exist, the program adds the data and records the message on the Winbond chip. Now, the question...I need to save location of the last byte of data and I need to save the total number of "units" of data. I have a Dallas Semiconductor chip (I can't remember the number right now) that is Lithium battery backed up RAM so I have permanent storage...I just don't know how to use it without overwriting it every time the program runs. Doesn't sound hard, does it? But when I set aside a location to save the data, numdata equ 00h the data is written over every time the program runs from the beginning. If I try to use the dseg commands, I have no control over where it puts the dseg so I can't promise it will be at the same location the next time and therefore I can't promise I will always be able to "find" the saved data from before. (or am I wrong there? I thought that was what I had read in Mackenzie's book) I am using Metalink, btw. |
| Topic | Author | Date |
| changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
| RE: changing permanent data | 01/01/70 00:00 | |
RE: changing permanent data | 01/01/70 00:00 |



