I'm inclined to believe Fernando K is correct here. Check out this old thread concerning imported pistols from Europe going to the Barbary States (Turkey, Algiers, etc). Those odd markings match pistols from that region. Certainly, Spain did trade with Morocco and those other nations mentioned.
Another important pointer is the miquelet lock, so similar to the one on my example in the thread. Still, a very interesting flintlock with possible corsair connections!!!
Mark
www.vikingsword.com/vb/showthread.php?t=19900