[comp.sys.apple] Need info concerning ProDOS...

shan@ihlpl.ATT.COM (Califf) (08/03/87)

I am interested in finding out whether, while in BASIC mode, whether there
is a command (POKE,etc...) that will allow you to set a ProDOS pathname,
without having to use the SYSTEM UTILITIES, etc.. to do it for you. I am
sure there is, but I am not overly experienced with ProDOS. Also, what is 
the difference between ProDOS BASIC and APPLESOFT? 

Please send mail to:

                       Shannon Califf 
                       ihlpl!shan
                        
  or call 
                       312-979-6994
Thanks!

god3@sphinx.uchicago.edu (Peter Godwin) (08/04/87)

Shannon Califf asks how to set a prefix under BASIC.

Using PRODOS V1.1.1 the following works:

10 D$ = CHR$(4)
15 PREFIX$ = "" :REM SET PREFIX$ TO YOUR DIRECTORY NAME EG. APPLEWORKS
20 ?D$;"PREFIX /";PREFIX$

It DOES work... I have tried it



-- 
Peter Godwin                   |      ...ihnp4!gargoyle!sphinx!god3
Univ. of Chicago Comp Ctr      |      x9.xpg@uchicago
5335 S. Kimbark Ave., Apt. #2  |      god3%sphinx@uchicago
Chicago, IL  60615             |      Phone #: 312-288-1816 

burton@SILVER.BACS.INDIANA.EDU (Rex_Burton) (08/04/87)

when you find out the difference between prodos basic and applesoft could
you forward me the info i'de like to know the difference also .
thanks in advance

whitney@think.COM (David Whitney) (08/06/87)

In article <8708041233.aa14008@SMOKE.BRL.ARPA> burton@SILVER.BACS.INDIANA.EDU (Rex_Burton) writes:
>when you find out the difference between prodos basic and applesoft could
>you forward me the info i'de like to know the difference also .
>thanks in advance
OK. ProDOS Basic isn't really BASIC at all. The file BASIC.SYSTEM is an
attachment to Applesoft so that the various commands like LOAD, SAVE, CATALOG
won't cause a ?SYNTAX ERROR. Without BASIC.SYSTEMN loaded, there is NO
interface from Applesoft to ProDOS. In other words, CATALOG will cause a
?SYNTAX ERROR. On the other hand, if some application doesn't require an
interface from BASIC to ProDOS (such as AppleWorks), BASIC.SYSTEM need not
be loaded. Hope this helps.

David Whitney, MIT '90                     Still learning about my Apple //GS
{the known universe}!ihnp4!think!whitney   and all of its secrets. Any and all
whitney@think.com                          technical info appreciated.
DISCLAIMER: You didn't actually believe all that, did you?

rre@ihlpg.ATT.COM (Velveteen Rabbit Corps) (08/06/87)

I always thought there wasn't. PRODOS BASIC contains all of Applesoft within 
it; PBASIC just allows one to use the disk drives and such. You get pure
ABasic when you turn on the computer, and hit Cntrl-Reset, but you can't
save anything you do there, because you don't have any disk I/O commands,
like LOAD and SAVE.

Otherwise they're one and the same.

(or at least so I think.)


-- 
		Roger R. Espinosa
		Live from the Rabbit Ranch
		ihnp4!ihlpg!rre