mirror of
https://github.com/mnaberez/py65.git
synced 2024-07-22 19:29:33 +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,
|
||||
stdout=None, argv=None):
|
||||
self.mpu_type = mpu_type
|
||||
self.putc_addr = 0xF001
|
||||
self.getc_addr = 0xF004
|
||||
self.putc_addr = 0xF001
|
||||
self.getc_addr = 0xF004
|
||||
if argv is None:
|
||||
argv = sys.argv
|
||||
self._breakpoints = []
|
||||
@ -69,11 +69,11 @@ class Monitor(cmd.Cmd):
|
||||
|
||||
for opt, value in options:
|
||||
|
||||
if opt in ('-i', '--input'):
|
||||
self.getc_addr = int(value.upper(), 16)
|
||||
if opt in ('-i', '--input'):
|
||||
self.getc_addr = int(value.upper(), 16)
|
||||
|
||||
if opt in ('-o', '--output'):
|
||||
self.putc_addr = int(value.upper(), 16)
|
||||
if opt in ('-o', '--output'):
|
||||
self.putc_addr = int(value.upper(), 16)
|
||||
|
||||
if opt in ('-l', '--load'):
|
||||
cmd = "load %s" % value
|
||||
|
Loading…
Reference in New Issue
Block a user