mirror of
https://github.com/mnaberez/py65.git
synced 2024-06-08 03:29:32 +00:00
Move help_save() above do_save()
This commit is contained in:
parent
459ee44636
commit
a6fc48a875
|
@ -625,6 +625,11 @@ class Monitor(cmd.Cmd):
|
||||||
|
|
||||||
self._fill(start, start, bytes)
|
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):
|
def do_save(self, args):
|
||||||
split = shlex.split(args)
|
split = shlex.split(args)
|
||||||
if len(split) != 3:
|
if len(split) != 3:
|
||||||
|
@ -650,11 +655,6 @@ class Monitor(cmd.Cmd):
|
||||||
|
|
||||||
self._output("Saved +%d bytes to %s" % (len(mem), filename))
|
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):
|
def help_fill(self):
|
||||||
self._output("fill <address_range> <data_list>")
|
self._output("fill <address_range> <data_list>")
|
||||||
self._output("Fill memory in the address range with the data in")
|
self._output("Fill memory in the address range with the data in")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user