First, is it a Canadian Olds or a U.S. Olds? 307 or 305 engine? Or 3.8 V6? It could make a difference. I'm going on based on a 307 Olds V8.
Are you also getting a code 12? Code 12 is considered "normal" when the car isn't running because it's not getting a distributor reference signal with the car not running, which is exactly what you'd expect. Code 12 with engine not running and key on is considered a verification step to ensure the ECM is communicating properly.
Now, start the engine and check for codes again. If you get a code 12 when the engine is running (ECM does not store a code 12) then you have an issue.
Code 41 is also a no distributor reference signal trouble code but for a different reason. Code 41 is stored regardless so it stays until you clear the codes, even if the problem goes away. I have never seen a code 41 in my life, so trying to hunt down the problem could be easy, or could be a nightmare.
There's a few things that it could be. First check your 4 pin connector coming out of the distributor which connects to the ECM. The connector should be back around the passenger side back corner of the intake. Just follow the leads from the distributor. You'll find it. Make sure the connector isn't broken or disconnected, or corroded. Check the wires too to make sure there's nothing broken/shorted. Make sure the VAC sensor (D/P sensor) on the passenger fenderwell is hooked up with its 2 wire connector to the ECM and the vacuum line to the intake. If the D/P sensor is messing up, you SHOULD also get a Code 34. But then again, if it's messing up, it just may not be moving and
The pickup coil AND/OR ignition module itself inside the distributor could be hosed. Pickup coil would mean a total disassembly of the distributor, so hopefully it isn't that. But you can at least check the wiring to the module to see if its connected and wires aren't broken. The module is a 7 pin connector on Olds. I THINK it's like a 4 pin on a Chevy, but can't recall. GM p/n 1976908 or equivalent aftermarket part is what you would need should yours be hosed, again, assuming a 307Y engine. If you do replace the module, ensure you use HEAT SINK grease for electronics on the metal base of the module. Without it, you'll likely toast the new module long before it should be.