Using NCP calls to NetWare?

Hi.  I'm trying to convert my Novell Netware-using code to access NCP, which I
seem to need to select amongst multiple servers.  However, my attempts so far
(using BP7 & BASM) result in a total crash, or a 'hardware failure' error a
bit later (this usually just means that the netware shell is screwed).  

Has anyone managed to get NCP working from in Pascal?  I have TPAPI (which
doesn't suit my needs in this instance), and I think that it uses it..

Will Bryant