added if __name__ == "__main__" test for mainline

This commit is contained in:
James Tauber 2011-08-06 17:46:38 -04:00
parent 55d700fc68
commit a48716a900

View File

@ -636,6 +636,8 @@ class CPU:
# @@@ IRQ # @@@ IRQ
# @@@ NMI # @@@ NMI
if __name__ == "__main__":
mem = Memory(0x100000) mem = Memory(0x100000)
# available from http://www.easy68k.com/paulrsm/6502/index.html # available from http://www.easy68k.com/paulrsm/6502/index.html