Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!well!ewhac From: ewhac@well.UUCP Newsgroups: comp.sys.amiga Subject: Where's CloseResource()? Message-ID: <2831@well.UUCP> Date: Thu, 26-Mar-87 01:57:08 EST Article-I.D.: well.2831 Posted: Thu Mar 26 01:57:08 1987 Date-Received: Fri, 27-Mar-87 07:10:48 EST Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Distribution: world Organization: Whole Earth Lectroinic Link, Sausalito, CA Lines: 34 Keywords: missing, kernel, function, sausage [ Poindexter should have put the secret documents here for the line eater. ] Okay, I've got a question for the West Chester bunch. This morning, I wanted to fiddle around with the 8520 Time-Of-Day clock. Consulting the RKM indicated that I should allocate the use of the 8520 using the OpenResource() function in the Exec. When I got to the end of the program, I discovered that there is no CloseResource() function anywhere. I checked for variants like FreeResource(), UnOpenResource(), YouCanHaveThisResourceBackNow(), etc. Nothing. The example code in the RKM indicated that resources might be like libraries, so I tried using CloseLibrary() instead. That yielded a double guru (the first Guru froze, took the machine down, and a second one came up). I have the original Commodore-published ROM Kernel Manuals (not Addison-Wesley), so there may be some information I don't have. Any suggestions? Adv-Thanks-ance. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ________ ___ Leo L. Schwab \ /___--__ The Guy in The Cape ___ ___ /\ ---##\ ihnp4!ptsfa!well!ewhac / X \_____ | __ _---)) ..or.. / /_\-- -----+==____\ // \ _ well ---\ ___ ( o---+------------------O/ \/ \ dual ----> !unicom!ewhac \ / ___ \_ (`o ) hplabs -/ ("AE-wack") ____ \___/ \_/ Recumbent Bikes: "Work FOR? I don't work FOR The _O_n_l_y Way To Fly! anybody! I'm just having fun."