Recreation of the "PIN cracking" program from Terminator 2

Once of my favorite scenes in 1992's Terminator 2 is when John Connor hacks an ATM with an Atari Portfolio and some kind of programmable magnetic strip. Bertrand Fan recreated the prop program in Python; unsatisfied, he then figured out how to program it on an actual Portfolio: "I haven't written Turbo Pascal in about 25 years, but do you ever really forget?"