OP’s Volvo is OBD1. Codes can be obtained from a diagnostic connector under the hood on driver’s side.
Also, I must say I’m having trouble wrapping my head around the fact that the timing belt was replaced three months ago, yet the check engine light has been on for six months…