Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84 chuqui version 1.7 9/23/84; site nsc.UUCP Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!cord!ihnp1!ihnp4!nsc!nessus From: nessus@nsc.UUCP (Kchula-Rrit) Newsgroups: net.micro.ti Subject: Use of CALL LINK in XBASIC Message-ID: <2407@nsc.UUCP> Date: Fri, 1-Mar-85 20:38:08 EST Article-I.D.: nsc.2407 Posted: Fri Mar 1 20:38:08 1985 Date-Received: Sun, 3-Mar-85 03:10:30 EST Distribution: net Organization: The Patriarchy of Kzin, Kzin Lines: 26 [Computers say the darndest things] Does anyone out there know how CALL LINK is used in XBASIC? The info I got when I called TI appears useful, if somewhat cryptic. According to them, this is how it is done: 0. CALL INIT 1. Enter the program into the Low Expansion RAM with successive CALL LOAD statements. This example is to direct-load a program, as opposed to using CALL LOAD with a file-name. 2. Enter the following: CALL LOAD(-31878,0,"",8196,63,248,"",16376,80,76,79,84,32,32,39,20) In hex: CALL LOAD(8314,0,"",2004,3F,F8,"",3FF8,50,4C,4F,54,20,20,27,14) 3. In the program, this is accessed by CALL LINK("PLOT",96,I,S,C), I,S,C are the parameters passed to the "PLOT" routine. The stuff entered into 3FF8-3FFF is the program name(in this case PLOT with two trailing spaces to fill out the name), followed by the starting address of the program[The 27,14 or h'2714(dec 9992)]. Can anyone tell me what is in location h'8314? My E/A manual just says "system usage" or some such.