self.prompt();
def handle(self, str):
"""Handle a command string. First word is command."""
+ #Lines beginning with ? are cries for help.
+ if(str[0]=="?"):
+ print "Term Commands:"
+ print commands
+ return;
#Lines beginning with # are comments.
if(str[0]=="#"): return;
#Lines beginning with ! are Python.
adr= self.client.name2adr(adr);
#print "%i" % adr;
print "0x%08x:= 0x%04x" % (
- adr, self.client.peekword(adr,
+ adr, self.client.peek16(adr,
memory));
def CMDflash(self,args):
file=args[1];