Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!BBN-LABS-B.ARPA!rgenter From: rgenter@BBN-LABS-B.ARPA (Rick Genter) Newsgroups: net.micro.atari8 Subject: From which drive did I start (Atari-800)? Message-ID: <8604230049.AA04104@ucbvax.berkeley.edu> Date: Tue, 22-Apr-86 15:15:58 EST Article-I.D.: ucbvax.8604230049.AA04104 Posted: Tue Apr 22 15:15:58 1986 Date-Received: Thu, 24-Apr-86 05:35:42 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 24 I recently unpacked my Atari-800 which has been in storage for the past two years and have been doing some extensive Basic hacking on it. I have a question that I can't find the answer to in any of my documentation, though I may have just missed it. Is there some way, from Basic, to determine from which disk drive the currently executing program was started? Obviously if the program was just typed in this should return a indication. But if I typed: RUN "D3:FOO.BAS is there something that FOO.BAS can do to determine that it was executed from D3: as opposed to D:? As this is Basic, no hack, no matter how gross or disgusting, will be frowned upon, as long as it works :-). Please reply directly to me; I have asked to be on this mailing list, but have not gotten it confirmed yet and don't want to miss any responses. I'll summarize when appropriate. -------- Rick Genter BBN Laboratories Inc. (617) 497-3848 10 Moulton St. 6/506 rgenter@labs-b.bbn.COM (Internet new) Cambridge, MA 02238 rgenter@bbn-labs-b.ARPA (Internet old) ...!{decvax,linus}!bbncca!rgenter (UUCP)