Magnetic core memory construction, and proper cores to use
You need to make sure that the ferrite can be permanently magnetized. This is sometimes referred to as "hard" ferrite &mdash; one that has a nearly-square B-H curve.

Most of the modern ferrites used in EMC work are "soft" ferrites, designed mainly for their loss characteristics, and they do not retain any significant magnetization.