init_rdram.ide 1.21 KB
reg -a 0x04700004 -d 0x00000010 -w	# write current control
reg -a 0x04300000 -d 0x00000000 -w	# delay 32 (for current control)
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04700008 -d 0x00000000 -w	# load current control
reg -a 0x0470000c -d 0x00000014 -w	# write select
reg -a 0x04700000 -d 0x00000000 -w	# enable reset mode
reg -a 0x04300000 -d 0x00000000 -w	# delay 80 (for reset)
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04300000 -d 0x00000000 -w
reg -a 0x04700000 -d 0x0000000e -w	# enable standby mode
reg -a 0x04300000 -d 0x0000010f -w	# enable MI init mode
reg -a 0x03f80008 -d 0x18082838 -w	# write RDRAM Delay register
reg -a 0x03f80014 -d 0x00000000 -w	# write RDRAM RefRow register
reg -a 0x03f80018 -d 0x101c0a04 -w	# write RDRAM RasInterval register
reg -a 0x03f80004 -d 0x08000000 -w	# Move all RDRAM to the top address
reg -a 0x03f00404 -d 0x00000000 -w	# Move first RDRAM down
reg -a 0x03f0000c -d 0x0240c0c0 -w	# Enable first RDRAM
reg -a 0x03f00404 -d 0x08000000 -w	# move second RDRAM down
reg -a 0x03f0040c -d 0x0240c0c0 -w	# enable second RDRAM