A system for recording electroretinograms and visual evoked cortical potentials has been constructed with the use of a personal computer and a digital signal processing card. The system is based on widely available commercial hardware. It has been designed to be capable of performing routine visual electrophysiology as well as allowing the development of novel visual stimuli and signal detection techniques. The system enables both transient and steady-state stimulation rates. Pattern stimuli can be presented in pattern-reversal, pattern-onset, pattern-offset or motion-onset modes. In addition to conventional signal averaging, the digital signal processing card can also provide on-line Fourier analysis and is facilitating the development of adaptive filtering techniques for the detection of steady-state visual evoked cortical potentials. This versatile system is in regular clinical use for the measurement of electroretinograms and visual evoked cortical potentials.