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

Re: Prodos Commands



Warren Spink writes ...
> 
> Hi was wondering if anyone out there could supply a list of the prodos
> commands and a short desc. of each?   Want to format a disk and make it
> bootable
>

     ProDOS uses many DOS 3.3 commands. Here are a few examples ... 


LOAD NARF- loads a BASIC file named NARF

SAVE NARF- saves current BASIC program in memory as file named NARF.

DELETE NARF - deletes file named NARF

CATALOG - lists contents of diskette to screen

RENAME NARF, NEWNARF - renames file NARF to NEWNARF

RUN NARF- loads and starts a BASIC file named NARF.

BLOAD NARF.PICTURE, A$2000 - loads in a binary file named NARF.PICTURE
starting at address $2000.

  note: $2000 is a hexadecimal number ($2000 = 8192 in decimal).
        DOS and ProDOS commands can use hex or decimal numbers.

BSAVE NARF, A$300, L$7F - saves $7F bytes of memory starting at address
$300 as a binary file named NARF. (BSAVE NARF, A768, L127 uses decimal
numbers to do the same thing.)

 ....

     The 'mini-manula' file Csa2DOSMM.txt includes a lot more
information about using DOS and ProDOS. You can find it at ...

for Viewing via an FTP program or for downloading ...
 ftp://ground.ecn.uiowa.edu/apple2/Faqs/

for on-line perusing via Netscape, etc. ...
 http://www.grin.net/~cturley/A2.FAQs.and.INFO/CSA2.FAQs/
 ftp://apple.cabi.net/pub/applegs/FAQs.and.INFO/A2.Csa2.FAQs/


     To make a new bootable ProDOS diskette, one easy approach is to use
Disk Muncher or some other whole-disk copier to copy a bootable ProDOS
diskette. You can delete the files you don't want from the copy.

     Another option is to use Copy II+ (a ProDOS version) to FORMAT a
ProDOS diskette. (FORMAT writes blank tracks so that the diskette can be
used to hold files.)  Then, copy BASIC.SYSTEM and PRODOS to the new
diskette. PRODOS is the disk operating system and BASIC.SYSTEM is the
'hookup' which lets you use ProDOS from Applesoft BASIC.

Note: On a IIgs, you can easily do the formatting and copying under the
usual GS/OS Finder. If you want to copy ProDOS from GS/OS, the file to
copy is P8 in the SYSTEM/ folder-- rename it to PRODOS on your diskette.


     ProDOS displays its version number during bootup. A good general
purpose version is 1.9; it is the highest version which still works on
64k Apple II's.

     Once ProDOS is booted it tries to get BASIC.SYSTEM going and, if
all goes well, the system looks for a BASIC program named "STARTUP" to
run. If there is no such program you will end up in BASIC looking at a
nearly blank screen and the usual BASIC prompt.

     It is often handy to have a STARTUP program to serve as a program
selector or to handle other setup tasks. An example of a STARTUP program
which just does a CAT (a ProDOS abbreviated CATALOG) is ...

100 TEXT: HOME
110 PRINT CHR$(4)"CAT"
120 END



Rubywand