[comp.sys.mac.programmer] _Pack2 return values?

sdy@ssc-vax.UUCP (Ugly Bag of Mostly Water) (10/26/89)

I was trying to reformat my NDR2170 using SF&I (this really is a software
question) and getting initialization failures. I tracked it down to the call to
_MountVol which seems to be returning the code for a "non mac disk" and then
tries to call _Pack2 (for disk initialization). I've been using Inside Mac IV
but it doesn't quite describe what _Pack2 is doing and what the status codes 
that it may return (if any, there looks like there is some kind of status code
in D0 but I'm not sure)

Where would I look further to see what _Pack2 is doing and what values it may
return? I've been trying to use TMON to poke around and disassemble it but I'm
not close yet (My assembly isn't as good as my English).

I would also like to know if the return codes for PBMountVol as listed in
Inside Mac IV are complete, or am I missing a Tech Note? cuz using other means
to try and mount my disk often returns -60 for bad master disk block (which I
don't understand because the volume information block seems to be on disk in
the correct place). However sometimes it seems to return -55 (I think) that is
not on the list.  I am assuming that the integer values (hex) are done in 2's
complement, if not -- I'm a denso.

thanks

steve.

-- 
Steven D. Yee                 >>> my employer does not share my opinions  <<<
uw-beaver!ssc-vax!ssc-bee!sdy >>> (that's because I'm always right! ;-)   <<<

                       I don't get even ... I get ahead.

sdy@ssc-vax.UUCP (Ugly Bag of Mostly Water) (10/26/89)

In article <1365@ssc-bee.ssc-vax.UUCP>, sdy@ssc-vax.UUCP (Ugly Bag of Mostly
Water) writes:
> ...
> the correct place). However sometimes it seems to return -55 (I think) ...
                                                          ^^^ oops
That should be -65 that I couldn't determine, -55 is an already mounted volume.

On a further note I used TMON to track a call to _MountVol inside of _Pack2
that seems to be returning -108 which is memFullErr indicating there is not
enough room in the heap zone -- is this refering to the system heap zone? if so
where would I look to change this value? Further calls to _MountVol from
SCSIProbe cdev and SCSI cdev seem to be returning -36 which is an ioErr -- is
this consistant with the initial memFullErr?

steve.


-- 
Steven D. Yee                 >>> my employer does not share my opinions  <<<
uw-beaver!ssc-vax!ssc-bee!sdy >>> (that's because I'm always right! ;-)   <<<

                       I don't get even ... I get ahead.