First, get a copy of this
http://www.cgsecurity.org/wiki/TestDisk
This will allow you to restore your original Slackware installation.
Then, I suggest that you move your Slackware to your second partition and reinstall XP on your first partition.
Windows operating systems expect to reside on the first partition of the primary drive. Break from this at your peril!