1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-07 12:29:27 +00:00

Move help_save() above do_save()

This commit is contained in:
Mike Naberezny 2015-03-21 16:07:13 -07:00
parent 459ee44636
commit a6fc48a875

View File

@ -625,6 +625,11 @@ class Monitor(cmd.Cmd):
self._fill(start, start, bytes)
def help_save(self):
self._output("save \"filename\" <start> <end>")
self._output("Save the specified memory range as a binary file.")
self._output("Commodore-style load address bytes are not written.")
def do_save(self, args):
split = shlex.split(args)
if len(split) != 3:
@ -650,11 +655,6 @@ class Monitor(cmd.Cmd):
self._output("Saved +%d bytes to %s" % (len(mem), filename))
def help_save(self):
self._output("save \"filename\" <start> <end>")
self._output("Save the specified memory range as a binary file.")
self._output("Commodore-style load address bytes are not written.")
def help_fill(self):
self._output("fill <address_range> <data_list>")
self._output("Fill memory in the address range with the data in")