mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-08 13:25:01 +00:00
Added ">" as a monitor shortcut for the fill command for consistency with VICE.
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
- Applied patch by Ed Spittles that fixes the behavior of the BREAK
|
- Applied patch by Ed Spittles that fixes the behavior of the BREAK
|
||||||
and UNUSED flags in the processor status register. Closes #16.
|
and UNUSED flags in the processor status register. Closes #16.
|
||||||
|
|
||||||
|
- Added ">" as a monitor shortcut for the fill command for
|
||||||
|
consistency with VICE.
|
||||||
|
|
||||||
0.7 (2009-09-03)
|
0.7 (2009-09-03)
|
||||||
|
|
||||||
|
@@ -55,6 +55,7 @@ class Monitor(cmd.Cmd):
|
|||||||
'd': 'disassemble',
|
'd': 'disassemble',
|
||||||
'dl': 'delete_label',
|
'dl': 'delete_label',
|
||||||
'f': 'fill',
|
'f': 'fill',
|
||||||
|
'>': 'fill',
|
||||||
'g': 'goto',
|
'g': 'goto',
|
||||||
'l': 'load',
|
'l': 'load',
|
||||||
'm': 'mem',
|
'm': 'mem',
|
||||||
|
@@ -184,7 +184,7 @@ class MonitorTests(unittest.TestCase):
|
|||||||
|
|
||||||
# fill
|
# fill
|
||||||
|
|
||||||
def test_shortcut_for_fill(self):
|
def test_shortcut_f_for_fill(self):
|
||||||
stdout = StringIO()
|
stdout = StringIO()
|
||||||
mon = Monitor(stdout=stdout)
|
mon = Monitor(stdout=stdout)
|
||||||
mon.do_help('f')
|
mon.do_help('f')
|
||||||
@@ -192,6 +192,14 @@ class MonitorTests(unittest.TestCase):
|
|||||||
out = stdout.getvalue()
|
out = stdout.getvalue()
|
||||||
self.assertTrue(out.startswith('fill'))
|
self.assertTrue(out.startswith('fill'))
|
||||||
|
|
||||||
|
def test_shortcut_gt_for_fill(self):
|
||||||
|
stdout = StringIO()
|
||||||
|
mon = Monitor(stdout=stdout)
|
||||||
|
mon.do_help('>')
|
||||||
|
|
||||||
|
out = stdout.getvalue()
|
||||||
|
self.assertTrue(out.startswith('fill'))
|
||||||
|
|
||||||
# goto
|
# goto
|
||||||
|
|
||||||
def test_shortcut_for_goto(self):
|
def test_shortcut_for_goto(self):
|
||||||
|
Reference in New Issue
Block a user