Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on start #1

Open
GoogleCodeExporter opened this issue Sep 27, 2015 · 0 comments
Open

crash on start #1

GoogleCodeExporter opened this issue Sep 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
python gui.py

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Python 2.7@Windows7

Please provide any additional information below.

C:\programmieren\nespy>python gui.py
Roms/mario.nes  ......LOADED
Mapper Number:  0
PRG Count:  2
CHR Count:  1
ControlByte 1:  1
ControlByte 2:  0
Size of PRG Data:  32768
Size of CHR Data:  8192


Traceback (most recent call last):
  File "gui.py", line 7, in <module>
    import emulator
  File "C:\programmieren\nespy\emulator.py", line 43, in <module>
    x.runEmulation()
  File "C:\programmieren\nespy\emulator.py", line 27, in runEmulation
    x.nes.currentTickCount += x.c.executeOpCode()
  File "C:\programmieren\nespy\cpu.py", line 310, in executeOpCode
    cyclesTaken = self.opCodes[currentOpCode](self.nesSystem, self)
  File "C:\programmieren\nespy\instructions.py", line 572, in STA_Absolute
    cpu.writeMemory(address, nesSystem.cpu.accumulator)
  File "C:\programmieren\nespy\cpu.py", line 184, in writeMemory
    registers[address](self.nesSystem, data)
  File "C:\programmieren\nespy\ppu.py", line 199, in ppuDataRegisterWrite
    nesSystem.ppu.nameTables[nesSystem.ppu.PPU2006Registers[self.vramAddress] -
0x2000] = registerData
IndexError: list assignment index out of range

Original issue reported on code.google.com by [email protected] on 20 Mar 2014 at 3:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant