Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!rice!uw-beaver!fluke!ssc-vax!sdy From: sdy@ssc-vax.UUCP (Ugly Bag of Mostly Water) Newsgroups: comp.sys.mac.programmer Subject: _Pack2 return values? Keywords: _Pack2, _MountVol, SF&I Message-ID: <1365@ssc-bee.ssc-vax.UUCP> Date: 25 Oct 89 23:42:38 GMT Distribution: na Organization: Ringworld Lines: 29 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.