💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › DOSandProDOS … captured on 2023-01-29 at 07:46:47.

View Raw

More Information

-=-=-=-=-=-=-

Path: news1.icaen!news.uiowa.edu!chi-news.cic.net!newsfeed.internetmci.com!btnet!bt!usenet
From: Moose <omalley_m_mike@bt-web.bt.co.uk>
Newsgroups: comp.sys.apple2,comp.emulators.apple2,comp.sys.apple2.usergroups
Subject: Re: Another Stupid Question...
Date: 15 Feb 1996 13:00:06 GMT
Organization: CSS
Lines: 70
Message-ID: <4fvaom$m7l@pheidippides.axion.bt.co.uk>
References: <ddmacang-1202961147360001@std-01.ucsc.edu> <4fog9u$d54@newsbf02.news.aol.com>  <Pine.SUN.3.91.960212211149.3296B-100000@owens> <3121DA5F.5CEC@aol.com>
NNTP-Posting-Host: 132.146.50.19
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.2N (Windows; I; 32bit)
To: mgabrys@aol.com
Xref: news1.icaen comp.sys.apple2:97871 comp.emulators.apple2:6235 comp.sys.apple2.usergroups:1264


Apple ][ Commands :
----------------------------------

The commands I remember are:
 
CATALOG  [S<slot>|D<drive>|S<slot>,D<drive>]
LOAD     <basicfilename>[,S<slot>][,D<drive>]
RUN      <basicfilename>[,S<slot>][,D<drive>]
SAVE     <basicfilename>[,S<slot>][,D<drive>]
BLOAD    <binfilename>[,A<addr>][,S<slot>][,D<drive>]
BRUN     <binfilename>[,A<addr>][,S<slot>][,D<drive>]
BSAVE    <binfilename>[,A<addr>[,L<len>]][,S<slot>][,D<drive>]
OPEN     <textfilename>[,S<slot>][,D<drive>]
CLOSE    <textfilename>[,S<slot>][,D<drive>]
DELETE   <filename>[,S<slot>][,D<drive>]
RENAME   <oldfilename>,<newfilename>[,S<slot>][,D<drive>]
INIT [S<slot>][,D<drive>]	eg. INIT 6,1 to Format Disk in drive 1
PR#S<slot>		eg. PR#6	to boot from slot 6.
 
<addr> and <len> could be given as decimal numbers, or if prefixed by
a '


 as hex numbers.  <slot> refers to the slot of the disk
controller (1 to 6) and <drive> to the drive connected to the disk
controller (1 or 2).
 
The "OPEN" and "CLOSE" commands couldn't be issued from the prompt but
had to be issued from within a running Basic program.  Once a textfile
was opened, all I/O (INPUT/GET/PRINT statements) went to/from that file
instead of the screen.  This was of doing file I/O was awkward to say
the least, but allowed Apple to add file I/O to two Basis interpreters
that knew nothing about files or disks in the first place.
 
There were also "READ" and "WRITE" commands, used to position the
file pointer properly for random access I/O to 'T' type files, but
I don't remember the syntax for these.  THey required additional
parameters to the "OPEN" command specifying the random record length.
 
Apple DOS commands were issued from Basic through PRINT statements
starting with a Ctrl-Dn (CHR$(4).  e.g.   10 PRINT CHR$(4);"CATALOG"

Cursor Keys : Shortcuts
---------------------------------------
When a catalog is displayed, you can RUN / BRUN the file and 
avoid typing the file name by pressing <ESC>, and then I,J,K,M to 
move the cursor to the start of the file's name, and then 
pressing <ESC> again and now use the <SHIFT> are right arrow 
key to move over the file name and then press return.

This has the same effect as typing the files full name, but 
can be easier / take less time.


Hope this helps.

Moose

-----------------------------------------------------------------------------
At the start of World War II, IBM's founder, Thomas Watson,  said
"I think there is a world market for about five computers".

In 1970, on the eve of the PC revolution, DEC's founder, Ken Olsen, declared 
"there is no reason for any individual to have a computer in their home".

In 1980, my mother said "Turn that stupid computer off, stop playing games, 
and get on with your homework !".  

Obviously, Mum has got more brains than the other 2 put together !!
-----------------------------------------------------------------------------