I'll describe how to connect the Magic3 chip for use with the NDV code.
Code:
Magic3 pin | Board points
-----------------------------------------------------------------------
W | RST (with the resistor in series)
A | Z
B | B
C | no connection
D | no connection
RST | no connection
S | S
Z | A
R | R
G | no connection
H | no connection
I | I
M, N, O, P, Q, R, T, V | M, N, O, P, Q, R, T, V
Make sure that you remove the SMD resistor from the pin RST of the Magic3 and put it on the W pin of the chip.
The code works very well on the v4 version.