Hi. You have already lost the programming if the battery went flat or failed. Next step is a full clear and start from scratch unless you had a dealer back up your program. If you need a programming manual, one of the users has it here:
https://the-checkout-tech.com/manuals/cashregisters/Samsung_SPS-1000_programming_manual.html
Registerman
June 2016