Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/07/06 03:33
Modified:
  06/07/06 03:55

Read: times


 
#117920 - That was what I wondered, too.
Responding to: ???'s previous message
I did a mental simulation, and had a couple of questions that probably would have been fixed if there had been a line of comment for every line of code, which should be the MINIMUM, particularly when the code is not producing what it ought.

I'm curious, too, about the state of DME0 (PMR.0). That also has to be set (true) for the internal XRAM to work, doesn't it?

There are a couple of lines that puzzle me. One loads a 12, presumably decimal, which would, if memory serves, be a formfeed, into A and then calls SendByte, though I don't know what the console does with a formfeed.

The next couple of instructions send a RETURN, so that's understandable.

Then there's that load A with '?' after which the DPTR is zeroed and A loaded with whatever's at the bottom of XRAM. I can't imagine there's any point in loading the '?' into A when the next thing is to load it with whatever's in XRAM(000). That should, of course, be a '!' if the write at the beginning of the code worked. Now, maybe I'm misreading something ...

I'd wonder what it is about this code that makes it clear that it's not working. What's more, I'd be curious what, exactly it was hoped it would do.

See what I mean about comments?

RE


List of 67 messages in thread
TopicAuthorDate
DS89C420 internal SRAM Access question            01/01/70 00:00      
   Timed access            01/01/70 00:00      
      Re: Timed access            01/01/70 00:00      
         Lacking ?            01/01/70 00:00      
            Re: Lacking            01/01/70 00:00      
   dunno            01/01/70 00:00      
      Re: dunno            01/01/70 00:00      
         lots of features to track            01/01/70 00:00      
   Example Code            01/01/70 00:00      
      Dallas SRAM Access            01/01/70 00:00      
   Update / Further Puzzle            01/01/70 00:00      
      False Alarm            01/01/70 00:00      
         A bug, maybe?            01/01/70 00:00      
            Isn't that CPU EOL (or not for new des?)            01/01/70 00:00      
               Yes, it's been replaced but he has it.            01/01/70 00:00      
                  Not Quite EOL but thats next ...            01/01/70 00:00      
                     Could be a disappointment            01/01/70 00:00      
                  how are you going to know if the problem            01/01/70 00:00      
                  Damned with faint praise!            01/01/70 00:00      
                     Clearly it's not for production            01/01/70 00:00      
                        Is there a difference between IAP & ISP?            01/01/70 00:00      
                           what I understand is            01/01/70 00:00      
                              DS89C4x0 IAP/ISP explained            01/01/70 00:00      
                           Final Update            01/01/70 00:00      
                              Try this            01/01/70 00:00      
                                 Re: Try this            01/01/70 00:00      
                                    It may be time for a different specimen            01/01/70 00:00      
                                       Re: new specimen            01/01/70 00:00      
                                          huh?            01/01/70 00:00      
                                             not enough benefit in replacing            01/01/70 00:00      
                                          I've been at this a LONG time ...            01/01/70 00:00      
                                    what does it return            01/01/70 00:00      
                                       returns 0x00            01/01/70 00:00      
                                          probably, but why?            01/01/70 00:00      
                                          I doubt you have to connect 'em            01/01/70 00:00      
                                              do not know what ISTR is            01/01/70 00:00      
                                                what it means            01/01/70 00:00      
                                                me either            01/01/70 00:00      
                                                   before you "move on"            01/01/70 00:00      
                                          oscillscope             01/01/70 00:00      
                                             it's not clear how a 'scope will help            01/01/70 00:00      
                                                Well a 'scope would ...            01/01/70 00:00      
                                                   exactly ... so why not have another look            01/01/70 00:00      
                                                      code?            01/01/70 00:00      
                                                         What about SFR definitions?            01/01/70 00:00      
                                                            SFR Def            01/01/70 00:00      
                                                            SFR was defined            01/01/70 00:00      
                                                               bad idea            01/01/70 00:00      
                                                                  Yep, it leads to confusion!            01/01/70 00:00      
                                    but...            01/01/70 00:00      
                                       confusion            01/01/70 00:00      
                                          That was what I wondered, too.            01/01/70 00:00      
                                             So ... What about it?            01/01/70 00:00      
                                             Clear a few things up            01/01/70 00:00      
                        wrong way around            01/01/70 00:00      
                     Most the time..            01/01/70 00:00      
                        That's undoubtedly the case.            01/01/70 00:00      
   Matthew, I am curious about something            01/01/70 00:00      
      Answer as best I can            01/01/70 00:00      
         It's still not clear ...            01/01/70 00:00      
            hmmm try some more            01/01/70 00:00      
               I don't think I'd try that ...            01/01/70 00:00      
                  Re:            01/01/70 00:00      
                     It's not rude ...            01/01/70 00:00      
                        Now ... here's what I did ...            01/01/70 00:00      
               test.asm once more            01/01/70 00:00      
                  Some more questions            01/01/70 00:00      

Back to Subject List