I found the codes for the Yamaha S510 AND S520 are exactly the same.Could it work for your model S795?,I don`t know.Here it is if you want to try it.Maybe someone else more knowledgable could help you better.....You`ll need a One-for-All 6 remote with the code 0539. Power on the unit and then key in 085. The players display should then show a series of dashes. Press 222 222 005 255 and then `play`