2021-02-26 06:36 (Edited)
... demonstration of direct access to read and write all BG data bits in active game memory...
For sprites, see this one....
the code combines xflip and yflip together as one number
Yflip only =2
X and y flip =3