Path: news.uiowa.edu!chi-news.cic.net!uwm.edu!cs.utexas.edu!howland.reston.ans.net!news-e1a.megaweb.com!newstf01.news.aol.com!newsbf02.news.aol.com!not-for-mail From: rubywand@aol.com (RUBYWAND) Newsgroups: comp.sys.apple2 Subject: Re: Dos 3.3 commands Date: 6 Dec 1995 14:50:53 -0500 Organization: America Online, Inc. (1-800-827-6364) Lines: 114 Sender: root@newsbf02.news.aol.com Message-ID: <4a4s6t$oo@newsbf02.news.aol.com> References: <4a2lpl$db7@panix.com> NNTP-Posting-Host: newsbf02.mail.aol.com X-Newsreader: AOL Offline Reader In article <4a2lpl$db7@panix.com>, digiacom@panix.com writes: > >I'm a newbie to the apple II realm and would like to know if there exists >a quick ref document listing valid commands under Dos 3.3? > >I have a disk with Dos 3.3 but it goes straight into Integer BASIC. Is there >a command or keystroke to exit to DOS 3.3? You can type FP to get back to regular Applesoft BASIC with DOS. To get very far with DOS 3.3 you will need the DOS Manual. This is especially true when it comes to using TEXT files. For now, the following is a quickie guide to most Apple II DOS 3.3 commands: 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 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.) BRUN NARF.DISP, A$1000 - loads in a binary file named NARF.DISP starting at address $1000 and starts executing machine instructions at address $1000 LOCK NARF- locks file NARF (indicated by * in a CATALOG). LOCKed files cannot be deleted, over-written, etc. UNLOCK NARF - cancels LOCKed status of NARF. VERIFY NARF - uses checksums to verify that NARF is not a damaged file MON C, I, O - tells DOS to display Commands, Inputs from disk, Outputs to disk. You can specify one, two, or all three (e.g. MON C, O etc.). NOMON C, I, O - cancels all MON requests. NOMON I cancels just the "I" request. MAXFILES 7 - sets the number of file buffers to 7. (Upon booting DOS, the default for the MAXFILES value is 3.) PR# 1 - sets the destination for Apple outputs to the device in Slot 1 (usually a printer). PR# 3 sets it to Slot 3, etc.. PR# 0 sets the destination back to the display screen. IN# 6 - sets the source for Apple inputs to the device in Slot 6. INT - (integer) puts system into Integer BASIC if it is present. FP - (floating point) puts system into standard Applesoft BASIC. OPEN NARFOO - prepares to read or write a TEXT file named NARFOO. READ NARFOO - tells DOS that INPUT and GET statements will obtain characters from a TEXT file named NARFOO. WRITE NARFOO - tells DOS that PRINTed characters will go to a TEXT file named NARFOO. CLOSE NARFOO - used to terminate access to a TEXT file named NARFOO. Just CLOSE terminates access to all OPENed TEXT files. EXEC NARFGO - tells DOS to execute the BASIC and DOS commands found in a TEXT file named NARFGO The above TEXT file commands handle 'normal' sequential TEXT files. DOS can also OPEN, READ, WRITE, ... random access TEXT files. (See DOS manual.) Most DOS commands also let you specify Drive and/or Slot. For example CATALOG, D2 lists the contents of the diskette in Drive 2 to screen. SAVE NARF,S5,D2 saves NARF to Drive 2 in Slot 5. NOTE --> Using Drive or Slot parms in a DOS command sets the default Drive or Slot. So, after CATALOG, D2, a plain LOAD or SAVE will access Drive 2. To use a DOS command from the keyboard, type it in. (A few commands can be issued only from a program.) To use a DOS command in a program enclose it in quotes preceded by PRINT CHR$(4). For example: 100 PRINT CHR$(4) "BLOAD NARF, A$2000" Use variables in a command this way: 120 PRINT CHR$(4) "BSAVE NARF, A$2000, L"; NB Line 120 says that the Length of NARF is the value of variable NB. NB is used here to represent the number of bytes, a decimal number. DOS 3.3 Versions: Today, most "DOS 3.3 users" do not actually use DOS 3.3. Beagle Bros introduced patches which resulted in much better speed and a CATALOG which shows number of Free Sectors. Their ProntoDOS or some modification of it is, for practical purposes, the "cur