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
Posts: 61
Joined: Thu Jul 13, 2017 5:17 pm

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

  JSR Dump   
  JSR AttDump
  LDA #$00
  STA $2003       
  LDA #$02
  STA $4014   
It's still Spawning them.
(192.02 KiB) Downloaded 327 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