11 March 2016 - Forum Rules

Main Menu

Tracking Where to Write Tiles In VRAM

Started by justin3009, July 10, 2016, 09:53:25 AM

Previous topic - Next topic


Quote from: justin3009 on July 13, 2016, 04:08:15 PM
What I meant was I assumed it kept repeatedly switching the bytes as if I mess with anything in RAM where the HDMA reads or even where the game regularly reads, it causes graphic corruption to occur, not that HDMA IS causing it, but the data being read appears to be read constantly.

Well it isn't read constantly.  HDMA only fetches stuff from RAM when it needs to.  But if you muck with the RAM before HDMA reads it, then HDMA won't do what you want.

Though the timing of exactly when HDMA does its reads is tricky to pinpoint -- so it's best if you just don't mess with the RAM at all until you know it's "safe" to do so (either by forcing blank, disabling the HDMA channel, or waiting until next NMI)

Registers on the other hand, are [in effect] read constantly.


Okay I think I got the better idea of it now.  Thank you very much on the understanding of it all!  I'll start studying all the details on what Chrono Trigger does and see if I can input something similar with Breath of Fire II.  I'll probably ask for advice and help on the way if I'm making any kind of progress with it.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'