1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-11 09:29:30 +00:00

fixed wrong identation caused by tabs

This commit is contained in:
Mario Keller 2016-10-06 21:55:42 +02:00
parent b7301f6aa7
commit fccd9cd0cf

View File

@ -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