Jump to content

User:Evie (Torchickens)/Sandbox: Difference between revisions

No edit summary
Line 4:
*[https://gbdev.gg8.se/wiki/articles/OAM_DMA_tutorial DMA transfer]: ~160 microseconds
*~FF46 write - began OAM DMA transfer (one byte RAM mirrors rDMA/FEXX-9F (you know this))
*"[https://gbdev.io/pandocs/STAT.html LY indicates the current horizontal line, which might be about to be drawn, being drawn, or just been drawn. LY can hold any value from 0 to 153, with values from 144 to 153 indicating the VBlank period]."
*You can only access HRAM while a DMA transfer is taking place.
*One CPU cycle
*"[[RNG correlation (Generation I)|the rDIV register, which itself is incremented at a rate of 16384Hz (~16779Hz on SGB)]]"
*516 cycles (2.015625 rDIV periods) - so just say 2/516 (1/258 rDIV) for one cycle.
*[https://gbdev.io/pandocs/OAM_Corruption_Bug.html OAM corruption bug]
*It's more complex than this, but just leave this notes for now.
 
 
==Hexadecimal byte representation of Cryo's real-time RAM writer for writing code using button sequences==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.