[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple model history?



In article <85h8fs8f66v42bqhi17l4l5iln5t5g763h@news.newsguy.com>,
Paul Guertin  <pg@sff.net> wrote:
 
> jonINTERNETrelayCHAT@napaVALLEYnet.CLARInet (Jon Bettencourt) wrote:
> 
>>> One thing about ProDOS, or rather Basic.system -- how come there is
>>> no equivalent of the "cd .." command, to go up one level in the
>>> directory hierarchy? I've always found that odd.
>> 
>> There is an equivelent of the cd command. It's called PREFIX.
> 
> Yes, but there is no equivalent of "cd .." with PREFIX. E.g., if I
> am in /HD/PERSONAL/LETTERS/JOE and want to see letters to Bill, I
> have to type PREFIX /HD/PERSONAL/LETTERS/BILL whereas in Unix I
> would simply type "cd ../bill".
 
Perhaps the oversight is within the file system?  Does a ProDOS
subdirectory contain a directory named ".." ????  An MS-DOS/WIndows
directory does, and a UNIX directory does.  The ".." subdirectory
entry is linked to the parent directory, and that's why "cd .."  does
what it does.
 
Perhaps you can do some "surgery" on a ProDOS disk, creating a
subdirectory entry named ".." and linked to the parent directory?
If you do, perhaps "cd .." then will work in ProDOS too?
 
>>> DOS 3.3 having a two-letter command for a seldom-used function (FP)
>> Is that really included with plain-vanilla DOS 3.3? I always thought that
>> the FP/INT command was an add-on thing.
> 
> FP and INT have always been part of DOS 3.3, to the best of my knowledge.
 
INT can be given a quite interesting new meaning, by replacing
Integer Basic with the S-C Assembler, loaded right into the Language
Card (or equivalent RAM).  The S-C Assembler is so similar to Integer
Basic that Apple DOS doesn't notice any difference -- it even saves
its assembly source files as "I" (Integer Basic) type files on the
disk!  And if you are in Applesoft, but have Integer Basic replaced
by the S-C Assembler, doing "LOAD <filename>" where <filename> refers
to an S-C Assembler source file will make Apple DOS automaticaully
invoke the S-C Assembler!
 
Bob Sander-Cederlof, author of the S-C Assembler, has recently agreed
to let me release his assembler (including its source code!) to the
public domain!  So expect it to be made available shortly.
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se   or    paul.schlyter at ausys dot se
WWW:     http://hotel04.ausys.se/pausch    http://welcome.to/pausch