# sc3_patches.txt carried to SCES_533.12 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.
0x12dda8 0xac440000 0x00000000
0x12ddb0 0xac640000 0x00000000
# Main loop: CSR reset at the display flip and at the FINISH timeout.
0x12ed88 0xfc430000 0x00000000
0x12e440 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
0x13befc 0x41010007 0x10000007
0x1f782c 0x41010007 0x10000007
0x219740 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
0x14f158 0x8c620000 0x00000000
0x14f164 0xac620000 0x00000000
# CSR FIELD reads go to the word the vblank handler's override keeps (sc3_frame.cpp).
0x12cf80 0x3c031200 0x3c03000f
0x12cf84 0x34631000 0x3463fff0
0x12e138 0x3c031200 0x3c03000f
0x12e13c 0x34631000 0x3463fff0
0x12e53c 0x3c021200 0x3c02000f
0x12e540 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.
0x12d1ac 0xfc460000 0x00000000
0x14f0cc 0xfc510000 0x00000000
# Frame clock and lines (sc3_clock.cpp) at boot: the rand seed.
0x12d5e4 0x3c021000 0x0c04b438
0x12d5e8 0x34421800 0x00000000
0x12d5f0 0x8c430000 0x00401821
# The clock's mode, compare and count: it has none to set, and is restarted below.
0x12d67c 0xac640000 0x00000000
0x12d684 0xac400000 0x00000000
0x12d68c 0xace00000 0x00000000
0x12d69c 0x8ce20000 0x00000000
# The frame budget: clock ticks over 256 lines.
0x12d6c4 0x3c031000 0x0c04b438
0x12d6c8 0x8c631800 0x00000000
0x12d6cc 0x3c041000 0x00401821
0x12d6d0 0x34841800 0x00000000
0x12d6d8 0x8c820000 0x0c04b438
0x12d6fc 0xac400000 0x0c043a46
0x12d70c 0x8c430000 0x0c04b438
0x12d710 0x8c830000 0x00000000
0x12d714 0x00000000 0x00401821
0x12d718 0x8c820000 0x0c04b438
0x12d740 0x1ca0fff3 0x1ca0fff2
0x12d74c 0x8c430000 0x0c04b43c
0x12d768 0x02038025 0x02028025
0x12d7b0 0xac200000 0x0c043a46
0x12d7c8 0x8c420000 0x00000000
# Main loop: FINISH timeout, budget wait, restart at the frame's end.
0x12e3a8 0x3c061000 0x0c04b43c
0x12e3b0 0x8cc20000 0x00000000
0x12e6c0 0x3c031000 0x0c04b43c
0x12e6d0 0x8c640000 0x00402021
0x12e7fc 0x8c62ea48 0x0c04b43c
0x12e800 0x8ea30000 0x00000000
0x12e804 0x00431025 0x00000000
0x12ee04 0x8fa4002c 0x8fa5002c
0x12ee14 0xac640000 0x0c043a4a
0x12ee1c 0x8c640000 0x00000000
# The vblank handler's read of the lines goes to the word its override keeps (sc3_frame.cpp).
0x12cf68 0x3c021000 0x3c02000f
0x12cf70 0x34421800 0x3442fff8
