mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-09 11:31:34 -10:00
Vif_Transfer.c and Vif_Codes.c are the VIFcode interpreter and its command handlers in C89. Each handler is written once against the unit index and the table holds a thin per-unit entry for it, the per-unit state is reached through VIF_X, VIF_XCH and VIF_XREGS, and the C++ is reached through small C entry points: vif_unpack_setup and vif_unpack in Vif_Unpack.cpp, mtvu_write_col and mtvu_write_row in MTVU.cpp, gif_unit_transfer_direct for DIRECT and DIRECTHL, and vu1ExecMicro and vifCmdHandler now with C linkage. tests/eevifcode feeds both units seeded VIFcode streams, every command and unknown codes included, in random chunks and as tags, and checks the result against the previous C++.
42 lines
902 B
Plaintext
42 lines
902 B
Plaintext
50 ae050c7998d2d951
|
|
100 fa4da3b4acdf60ac
|
|
150 14268c4022ffe2f7
|
|
200 65efb81d841506f5
|
|
250 f56687fbf0c2594b
|
|
300 500511edaaeba3f2
|
|
350 738172772016f937
|
|
400 6778447de17c09ee
|
|
450 26b68527bf054308
|
|
500 59896a5c11b3f1d2
|
|
550 dc8248c42ddd1e24
|
|
600 a4f432e11bc2d002
|
|
650 a8c431fa05e229c6
|
|
700 ecae4b9e75949e5b
|
|
750 e9b33892aeeff021
|
|
800 ab954dc8eea52682
|
|
850 3842dee524a8c14e
|
|
900 09af0ce71e77ed72
|
|
950 fa6f2e2da2a98407
|
|
1000 20168a6a62c72822
|
|
1050 83981d55bfc047fb
|
|
1100 d9e44d0c56af8653
|
|
1150 8dee223283f0a863
|
|
1200 fa57b46096c1310a
|
|
1250 fe516edeb798e312
|
|
1300 9bddc515804c69d8
|
|
1350 c26c2c08d93d738e
|
|
1400 06e48034f4077bce
|
|
1450 45408f149a851ccf
|
|
1500 6229ea4d701a1d12
|
|
1550 8f624108aac7aa1b
|
|
1600 1262503d1e5583a0
|
|
1650 1fc1546aa16f4ccb
|
|
1700 552ab1b06e1d4180
|
|
1750 352b43b418a26923
|
|
1800 dce32738820dea17
|
|
1850 a337ca0008ab7eea
|
|
1900 f5469643b5e566dd
|
|
1950 c548f1bbe5d94968
|
|
2000 5424787b11cf0d80
|
|
all 5424787b11cf0d80
|