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
amoi...@googlemail.comon 20 Mar 2014 at 3:24