1. A computer system comprising: a power supply for providing an operating voltage; a DC-to-DC converter coupled to receive the operating voltage, the DC-to-DC converter for outputting a programming voltage level; a nonvolatile memory device coupled to receive the programming voltage level, the nonvolatile memory device including a programming voltage regulation circuit for supplying a gate voltage to program a nonvolatile memory cell, the programming voltage regulation circuit comprising: a sample and hold circuit coupled to the programming voltage level, the sample and hold circuit for sampling the programming voltage level and for holding a reference voltage generated in response to the programming voltage level, the sample and hold circuit including a capacitor that holds the reference voltage; and a regulator circuit coupled to the capacitor of the sample and hold circuit, the regulator circuit for outputting the gate voltage using the reference voltage supplied by the capacitor.