The Dog Crusoe and His Master: A Story of Adventure in the Western Prairies by Ballantyne, R. M. (Robert Michael)
 is a Project Gutenberg book, now on Github.