         value
 
     writeOAMData: (value) ->
-        @primaryOAM[@oamAddress] = value if not @isRenderingInProgress()
+        @primaryOAM[@oamAddress] = value if not @_isRenderingInProgress()
         @oamAddress = (@oamAddress + 1) & 0xFF # Write always increments the address.
         value
 

                baseX = tileX << 3
                address = ((tileX & 0x10) << 4 | tileY << 4 | tileX & 0x0F) << 4
                @renderPatternTile baseX, baseY, address

    renderPatternTile: (baseX, baseY, address) ->
        for rowNumber in [0...8]

                colorSelect2 = ((patternLayer2Row >> bitPosition) & 0x01) << 1
                color = @_read 0x3F00 | colorSelect2 | colorSelect1
                @setFramePixelOnPosition x, y, color
        undefined

    renderPalettes: ->
        for tileY in [0...4]
