This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

How do you deal with lag's affect on tile spawning

How do you deal with lag's affect on tile spawning
by on (#240983)
Hello. I Have A question about Lag. When ever I Move my screen while It's lagging, It spawns weird tiles in specific places. Is there a way to Minimize this?

The way I tried Was to disable the NMI's Sprite and Tile loader When the code goes through this section
Code:
 
 LDA tilestat
 AND #%00000010
 BEQ nocol
 
      ; sprite DMA from $0200
 
nosprite:

 
 
 
  JSR Dump   
 
  JSR AttDump
 
 
 
  LDA #$00
  STA $2003       
  LDA #$02
  STA $4014   
 
nocol:

It's still Spawning them.