So your program works with a "stock" 3.10.17 kernel (the default kernel for Slackware 14.1) but not with the custom kernel?
Seems to me that Slackware kernels do support 486 by default (or at least they did, I haven't fiddled with the kernel for quite a while).
I think I'd just use the stock kernel and be done with it as long as your application works; otherwise, I'd get the config file from the distribution media (look at
http://ftp.osuosl.org/pub/slackware/...ernels/huge.s/ if you don't have the CD-ROM/DVD). The file is named "config" (no leading dot) and it is the configuration file for building the release
huge kernel. If you copy that to where you're building the kernel, save it as
.config, type make and wait a while, you can build a working kernel from scratch. Keep editing and building until you break it then back up one step.
Have you given any thought to using a modern Pascal compiler? You might have to do some editing of the source but maybe that would be worth a try (and a lot less effort than fiddling with the kernel)? There are all kinds of free Pascal compilers for Linux out there that might be worth a look (maybe there's one that supports the Pascal of Olde, eh?
Hope this helps some.