For example, if you're on Windows, try running MAME with "-hlsl" on the command line. Bam, scanlines.