@kenshirriff Thanks! So the programming voltage is applied across the gate and drain, and is sufficient to temporarily break down the resistance of the oxide? Then the surplus electrons sit in the depletion layer, making it not depleted any more, and allow current to flow between source and drain?
@darkling Yes, there's a diagram at Wikipedia: https://en.wikipedia.org/wiki/EPROM#Operation