The Middy and the Moors: An Algerine Story by Ballantyne, R. M. (Robert Michael) Twidle, Arthur
 is a Project Gutenberg book, now on Github.