# sc3_patches.txt carried to SCKA_200.59 by sc3_region_map.py patches, with sc3_patches_reviewed.txt: change those and run it again.
# Guest stores to hardware that nothing answers (bozo-recomp --patches: address, expected word, replacement).
# Main loop: VIF0_ERR and VIF1_ERR, each frame.
0x12deb0 0xac440000 0x00000000
0x12deb8 0xac640000 0x00000000
# Main loop: CSR reset at the display flip and at the FINISH timeout.
0x12ee90 0xfc430000 0x00000000
0x12e548 0xfe330000 0x00000000
# GS interrupt set-up: IMR, CSR acknowledgements.
0x10ee34 0xfc620000 0x00000000
0x10ee60 0xfc820000 0x00000000
0x10ee6c 0xfc820000 0x00000000
# DMA interlocks: sync, then BC0T past the poll loop. No transfer is ever in flight, the branch is always taken.
0x1088dc 0x41010007 0x10000007
0x10b4a8 0x41010007 0x10000007
0x10b5b8 0x41010007 0x10000007
0x10bc40 0x41010007 0x10000007
0x10c448 0x41010007 0x10000007
0x10c9a4 0x41010007 0x10000007
0x10dacc 0x41010007 0x10000007
0x10dbf0 0x41010007 0x10000007
0x10dd78 0x41010007 0x10000007
0x10e2cc 0x41010007 0x10000007
0x10f984 0x41010007 0x10000007
0x13c134 0x41010007 0x10000007
0x1f794c 0x41010007 0x10000007
0x2191d0 0x41010007 0x10000007
# Scratchpad waits outside the packet API: nothing is in flight, the poll reads idle.
0x10f300 0x8c620000 0x00001025
0x1259f0 0x8c620000 0x00001025
# VIF1 CHCR's TIE and TTE, set once at (re)start.
0x10ece4 0x8c620000 0x00000000
0x10ecec 0xac620000 0x00000000
0x14f2f8 0x8c620000 0x00000000
0x14f304 0xac620000 0x00000000
# CSR FIELD reads go to the word the vblank handler's override keeps (sc3_frame.cpp).
0x12cf40 0x3c031200 0x3c03000f
0x12cf44 0x34631000 0x3463fff0
0x12e240 0x3c031200 0x3c03000f
0x12e244 0x34631000 0x3463fff0
0x12e644 0x3c021200 0x3c02000f
0x12e648 0x34421000 0x3442fff0
# GS interrupt set-up: the two CSR reads under the acknowledgements above.
0x10ee4c 0xdc820000 0x00000000
0x10ee64 0xdc820000 0x00000000
# PMODE at the display set-up.
0x12d16c 0xfc460000 0x00000000
0x14f26c 0xfc510000 0x00000000
# Frame clock and lines (sc3_clock.cpp) at boot: the rand seed.
0x12d5b0 0x3c021000 0x0c04b428
0x12d5b4 0x34421800 0x00000000
0x12d5bc 0x8c430000 0x00401821
# The clock's mode, compare and count: it has none to set, and is restarted below.
0x12d648 0xac640000 0x00000000
0x12d650 0xac400000 0x00000000
0x12d658 0xace00000 0x00000000
0x12d668 0x8ce20000 0x00000000
# The frame budget: clock ticks over 256 lines.
0x12d690 0x3c031000 0x0c04b428
0x12d694 0x8c631800 0x00000000
0x12d698 0x3c041000 0x00401821
0x12d69c 0x34841800 0x00000000
0x12d6a0 0x8c820000 0x0c04b428
0x12d6c4 0xac400000 0x0c043a46
0x12d6d4 0x8c430000 0x0c04b428
0x12d6d8 0x8c830000 0x00000000
0x12d6dc 0x00000000 0x00401821
0x12d6e0 0x8c820000 0x0c04b428
0x12d708 0x1ca0fff3 0x1ca0fff2
0x12d714 0x8c430000 0x0c04b42c
0x12d730 0x02038025 0x02028025
0x12d778 0xac200000 0x0c043a46
0x12d790 0x8c420000 0x00000000
# Main loop: FINISH timeout, budget wait, restart at the frame's end.
0x12e4b0 0x3c061000 0x0c04b42c
0x12e4b8 0x8cc20000 0x00000000
0x12e7c8 0x3c031000 0x0c04b42c
0x12e7d8 0x8c640000 0x00402021
0x12e904 0x8c62e848 0x0c04b42c
0x12e908 0x8ea30000 0x00000000
0x12e90c 0x00431025 0x00000000
0x12ef0c 0x8fa4002c 0x8fa5002c
0x12ef1c 0xac640000 0x0c043a4a
0x12ef24 0x8c640000 0x00000000
# The vblank handler's read of the lines goes to the word its override keeps (sc3_frame.cpp).
0x12cf28 0x3c021000 0x3c02000f
0x12cf30 0x34421800 0x3442fff8
