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

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
User avatar
IMAGICA
Posts: 61
Joined: Thu Jul 13, 2017 5:17 pm
Contact:

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

Post by IMAGICA » Wed Jul 17, 2019 9:58 pm

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: Select all

 
 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.
Attachments
KitsuneTales.nes
(192.02 KiB) Downloaded 254 times
In Progress:
Tengu Tales (MMC3 Test first)[360 degress bullet direction math]
Baseball Brawlers (MMC5 full features, "Yoshi's Island")[Square root table, SPG ]
Smash ("port",MMC5 )[Character Movement]

Post Reply