<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 28 Apr 1986 20:33:00 EDT
From   : MKATZ%UMDB.BITNET@wiscvm.ARPA
Subject: CPM-86 & FCBs

I am trying to  convert a Turbo Pascal Kermit that was written for
CPM-80 & MS-DOS to CPM-86.  The communications end of it is no problem,
I have that from an earlier Kermit I converted for my system.  The problem
is a seemingly simple directory search.   This starts off with BDOS function
17.  It should be no big deal to change from CPM-80 to CPM-86, right ?
Just change everything to put in SEGments in the right places and it should
all work fine.  Well, that doesn't work.  On the first try (an automatic
search for KERMIT.DEF) the RESULT is always 255, whether or not the file
exists.  On the next try, whether for a real file or not, wildcard or not,
I get a BDOS error on D: Select, function 17 (which is the function I was
trying at least...)
I don't know what I am doing wrong.  This should be very simple, even
though I have never tried this before.  When I run this, the first byte
(drive) = 0, the name and type are set correctly, and I set the extent
byte = 0 (which is what the manual says to do).  I don't see what else
I need to do.  Please help !

                                  Manasseh Katz
                                  I think you can reach me at:
                                  MKATZ@UMDB.UMD.EDU
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>