the right one is my bad sram dump - it's ocarina of time (pal)

I did a bit testing on my sram bug:
- where some bytes from sram are missing
if i edit the header of my menu, so it looks like zelda and boot it with the original menu and from there zelda,
the original menu stores the sram fine.
so i hope it's everything ok with my boot simulation and that there is something wrong with the way i backup the sram
the strange thing is that my sram
testrom und other games like f-zero are working fine. ^^
OOT should have a different bootcode for CIC-NUS-6105 but how should that effect sram saving? ^^
i think all i have to do is setting the domain2 timing to
05 Latency
OC Pulse Width
OD Page Size //maybe 0F for flashram
02 Release Duration
check if PI DMA is Busy
and set
PI_DRAM_ADDR_REG buffer-addr
PI_CART_ADDR_REG 0xa8000000
PI_WR_LEN_REG length-1
PI_STATUS_REG //0x2 or 0x3
then write back and invalidate the cache lines 'cause it's a mips system
and what about this guy
http://themanbehindcurtain.blogspot.de/2013/08/n64-sramflashram-results.htmlwhy did he have the
same problem with real sram-chips? ^^
I would be thankful for any help

btw. i uploaded the source code in the first post