steve@wlbreng1.UUCP (07/10/86)
-- -- I've not yet found in the RKM an explanation of the conventions for returning success/failure codes in device and library functions. From inspection, I note that returning D0=0 often implies an error. Is this generally true? Where's the error code universally returned? In OS9, a quite uniform convention was to set carry to indicate failure and to pass an error code in the B register of the 6809. For no error, carry was cleared and the registers were preserved. I'm keenly interested as my new Amiga device driver is apparently returning an error to OpenDev() and it's unclear how this flows. Any elaborations? Regards, Steve Childress (818) 706-5247 (days) {trwrb, scgvaxd, ihnp4, voder, vortex} !wlbr!wlbreng1!steve