Any GM OBD-I scanner should work. However, you can also use a paperclip. With the key on/engine off, stick the paperclip (or short length of wire) into the rightmost upper two holes of the ALDL diagnostic port under the dash on the driver's side.
The "A" and "B" pins:
The "Service Engine Soon" light will flash out the codes. It will flash out the code "12" first, three times, then any other codes, flashing each one three times before moving on to the next.
It flashes each digit, so 12 looks like "flash, flash-flash" then a longer pause, then the next code (or repeat).