lotus

previous page: 06.029 What is the maximum size of a ProDOS volume?
  
page up: Apple II Csa2 FAQs
  
next page: 06.031 What is a "pathname"?

06.030 How do I LOAD, SAVE, etc. files under ProDOS?




Description

This article is from the Apple II Csa2 FAQ, by Jeff Hurlburt with numerous contributions by others.

06.030 How do I LOAD, SAVE, etc. files under ProDOS?

         LOAD (SAVE, RENAME, etc.) work very much as in DOS 3.3.; so, you can use
Slot and Drive parms to specify the target volume. However, to get the most
from ProDOS you will usually be working with volume names and folders. (or,
"directories").

     If GAME3.PIC is a binary file in a directory named "PICS" on a volume
named "NARF", you could load it into memory starting at address $2000 via

BLOAD /NARF/PICS/GAME3.PIC,A$2000

 or, in BASIC

100 PRINT CHR$(4)"BLOAD /NARF/PICS/GAME3.PIC,A$2000"

     So, in ProDOS, you can access a disk (or volume) by name ...

RUN /GAMES/CHINA.SEA

will find the disk (volume) named "GAMES", then, find, load, and run CHINA.SEA.

     You can, also, refer to a disk by its location ...

CAT,S6,D1

will do a short-form catalog of the main directory of the diskette in DRIVE 1
connected to SLOT 6.

-----------------------
    

 

Continue to:













TOP
previous page: 06.029 What is the maximum size of a ProDOS volume?
  
page up: Apple II Csa2 FAQs
  
next page: 06.031 What is a "pathname"?