mirror of
https://github.com/mnaberez/py65.git
synced 2024-10-15 10:24:03 +00:00
fixed wrong identation caused by tabs
This commit is contained in:
parent
b7301f6aa7
commit
fccd9cd0cf
@ -45,8 +45,8 @@ class Monitor(cmd.Cmd):
|
|||||||
def __init__(self, mpu_type=NMOS6502, completekey='tab', stdin=None,
|
def __init__(self, mpu_type=NMOS6502, completekey='tab', stdin=None,
|
||||||
stdout=None, argv=None):
|
stdout=None, argv=None):
|
||||||
self.mpu_type = mpu_type
|
self.mpu_type = mpu_type
|
||||||
self.putc_addr = 0xF001
|
self.putc_addr = 0xF001
|
||||||
self.getc_addr = 0xF004
|
self.getc_addr = 0xF004
|
||||||
if argv is None:
|
if argv is None:
|
||||||
argv = sys.argv
|
argv = sys.argv
|
||||||
self._breakpoints = []
|
self._breakpoints = []
|
||||||
@ -69,11 +69,11 @@ class Monitor(cmd.Cmd):
|
|||||||
|
|
||||||
for opt, value in options:
|
for opt, value in options:
|
||||||
|
|
||||||
if opt in ('-i', '--input'):
|
if opt in ('-i', '--input'):
|
||||||
self.getc_addr = int(value.upper(), 16)
|
self.getc_addr = int(value.upper(), 16)
|
||||||
|
|
||||||
if opt in ('-o', '--output'):
|
if opt in ('-o', '--output'):
|
||||||
self.putc_addr = int(value.upper(), 16)
|
self.putc_addr = int(value.upper(), 16)
|
||||||
|
|
||||||
if opt in ('-l', '--load'):
|
if opt in ('-l', '--load'):
|
||||||
cmd = "load %s" % value
|
cmd = "load %s" % value
|
||||||
|
Loading…
Reference in New Issue
Block a user