         value
 
     getStatus: ->
-        @spriteScalineOverflow << 5 | # S[5] Set when there is more than 8 sprites on current scanline
-        @spriteZeroHit         << 6 | # S[6] Set when a nonzero pixel of sprite 0 overlaps a nonzero background pixel
-        @vblankFlag            << 7   # S[7] Set at the start of the VBlank
+        @spriteOverflow << 5 | # S[5] Set when there is more than 8 sprites on current scanline
+        @spriteZeroHit  << 6 | # S[6] Set when a nonzero pixel of sprite 0 overlaps a nonzero background pixel
+        @vblankFlag     << 7   # S[7] Set at the start of the VBlank
 
     setStatus: (value) ->
-        @spriteScalineOverflow = (value >>> 5) & 1 # S[5]
-        @spriteZeroHit         = (value >>> 6) & 1 # S[6]
-        @vblankFlag            = (value >>> 7)     # S[7]
+        @spriteOverflow = (value >>> 5) & 1 # S[5]
+        @spriteZeroHit  = (value >>> 6) & 1 # S[6]
+        @vblankFlag     = (value >>> 7)     # S[7]
 
     ###########################################################
     # OAM access ($2003 - address / $2004 - data)

F_VB_END    = 1 << 19 # Cycle where VBlank ends
F_SKIP      = 1 << 20 # Cycle which is skipped during odd frames

# Tables containing flags for all cycles/scanlines
cycleFlagsTable = (0 for [0..340])
scanlineFlagsTable = (0 for [0..261])


cycleFlagsTable[i]    |= F_SHIFT_BG for i in [1..336] when not (256 < i < 321)
scanlineFlagsTable[i] |= F_SHIFT_BG for i in [0..239]

cycleFlagsTable[65]   |= F_EVAL_SP
scanlineFlagsTable[i] |= F_EVAL_SP for i in [0..261] when not (239 < i < 261)

cycleFlagsTable[i]    |= F_CLIP_LEFT for i in [1..8]
