Apple IIe ProDOS Supplement to the Apple IIe Owner’s Manual
From the originals
33 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
PDF page 23
• PROOOS 1.0 COPYRIG HT APPL E I 1983 TO RETURN TO MENU, TYPE 'RUN STARTUP ' AND PRESS RE TUR N. ] !$! Some BASIC Basics In this section, you'll learn a little bit about error messages. What You Do 2. Lock (CAPS LOCK) in the down position , type HOM, and press (RETURN). What Happens The computer beeps at you and displays the message because neither Applesoft nor ProDOS recognizes HOM as a valid command.
Reading notes: Possible OCR damage in 'COPYRIG HT' and 'PROOOS' header line Message text after 'displays the message' is missing from the source copy
- Printed product names
- ProDOS · Applesoft
- Printed dates
- 1983
- Languages
- English
PDF page 24
3. Now type HDr·iE and press (RETURN). This time, Applesoft understands your command-it clears the screen and moves the cursor to the upper-left corner of the screen (the home position). You will probably see the message ::::\'tHA>=: EF.:F:O!? now and then. It simply means that a program couldn't make sense out of what you typed. It usually means you misspelled a command or accidentally pressed the wrong key while typing a command. By the Way: ProDOS commands, those that tell the computer to do something with a disk, can be either uppercase or lowercase characters. Some versions of Applesoft require that commands be uppercase. To be sure, it's a good idea to type all commands in uppercase. Calculating With Applesoft BASIC Did you know that your Apple II is a calculator? Of course, it's much more than that, but this exercise shows you one of a computer's most basic applications. If you're already an experienced programmer, skip to " Where to Learn More" later in this chapter. The exercises in the next two sections don't require ProDOS. In fact, you can do them even if you have no disk drive.
Reading notes: Garbled characters in error message sample '::::\'tHA>=: EF.:F:O!?' Partially damaged or irregular characters in the excerpt
- Languages
- English
PDF page 25
What You Do 1. With Applesoft's J on the screen, type PF:I rn 2 +2 and press (RETURN). 2. Try some more calculations. Use - for subtraction , l for multiplication, and / for division. Use the period ( . )for the decimal point. Just remember to begin each problem with F' I? IfH and end it With (RETURN). 3. Try something more complex, such as FF I f·~T 345 +99-435 . Writing a Simple Program What Happens The solution, 4 , appears immediately. The answer is 9 . Maybe you're not going to be a programmer, but this gives you a taste of it. With Applesoft's J displayed, you' re ready to go. What You Do 1. After the J, type l··lEl ... I and press (RETURN) . 2. Lock (CAPS LOCK) down . 3. Type 1 o PF.: HH " w-11= n I::: ':'C!!JF: HfW!E '>' and press (RETURN). What Happens This clears the computer's memory, making it ready to receive your program. This helps you avoid the message ?:::\'t·lTA : :-:: EF:F.:CIP . 1 c1 is a line number. Each instruction in an Applesoft program must have a line number. This tells Applesoft in what order you want it to perform the instruction s. You can type instructions in any order. It's good practice to number lines 1 ~~; . 20, and so forth, to leave room for adding lines later.
Reading notes: Several characters in the Applesoft BASIC command text are garbled or uncertain (e.g., 'PF:I rn 2 +2', 'FF I f·~T', 'l··lEl ... I'), making exact command spelling unreliable. Line-number example and some program lines are damaged and cannot be confidently reconstructed. Reading order between the two 'What You Do' sections and the 'What Happens' blocks is inferred from layout text rather than confirmed.
- Languages
- English
PDF page 26
To enter a program means to use the keyboard to send it to the computer's temporary memory. A program is a series of detailed instructions that tell the computer how to accomplish a specific task. To run a program means to cause it to perform the instructions you entered. ~ fype 20 INPUT NAME$ and press (RETURN). 5. Type 30 F'P HH II HELLO·' NAME$ and press (RETURN). II' ' 6. To run your program, type F.: Ur·l . 7. When the program asks you for your name, type it next to the '? prompt and press (RETURN). The word HWUT tells Applesoft to expect something called NAME to be typed at the keyboard. The $ means that when you use the program, you're going to type text, as opposed to numeric data. This program line tells Applesoft to display H!'.:LLO .• and the name that you type in response to program line 20. You just entered a three-line program into the computer's memory. Does the program do what you expected? If it did, congratulations! That's programming! If not, start again by typing t·lEL·l and be sure to type every character exactly as shown. Now you know how application programs learn your name and talk to you in a personal way!
Reading notes: Program line numbers and BASIC code fragments are garbled (e.g., 'fype 20', 'F'P HH II', 'F.: Ur·l') and uncertain. Reading order of step numbers and code lines is ambiguous in the extracted text.
- Languages
- English
PDF page 27
Modifying Your Program To insert lines in a BASIC program , just type new lines that begin with line numbers that you haven't already used. What You Do 1. With your program still in memory, type 5 HOME and press (RETURN) . 2 . Type 25 HOME and press (RETURN). 3. To see what effect your changes have on the program's operation, type PUt·l and press (RETURN). Saving Your Program What Happens Two new lines (numbered 5 and 25) are inserted into your program. They cause the display to clear before each message is printed . You modified a program by insert ing new lines. Now that you're the author of a program, you need to know how to save that program on a disk. You can use the disk that you formatted earlier in these exercises. What You Do 1. Put your formatted blank disk named PROGRAMS in drive 1. 2. Type SAVE MYFIPSTPROGPAM , [I l and press (RETURN). 3. To confirm that your program is now on the disk, type C:AT , D 1 and press (RETURN) . What Happens tf/F I F.::::;TPF.:OGF.:AM is your program's filename . .. D 1 indicates disk drive 1. The disk drive hums for a moment while your program is written (copied) from memory onto the disk. The disk's catalog appears on the display.
Reading notes: Garbled characters in 'PUt·l' and 'tf/F I F.::::;TPF.:OGF.:AM' may be OCR damage. Reading order of the two columns and the 'Saving Your Program' section is uncertain.
- Languages
- English
PDF page 28
• / PF.'.OGR AMS Where to Learn More HAME TYPE BLOCKS MODIFIED MYFIR STPR OGRAM BAS <t·W DATE > BLOC KS FREE: 272 BLOO ~ S USED: 8 You've now had a taste of BASIC programming, and you 've used some of the most important ProDOS procedures. To learn more about programming, use the Applesoft Tutorial. To learn more about ProDOS, see the ProDOS User's Manual. This section helps you if your computer system doesn't work If You Have a Problem quite right. Disks That Don't Seem to Work Sooner or later you will come across a disk that just doesn't seem to work. • A faulty or blank disk might just spin, causing an even whirring sound when you try to start up the system with it or try to load a program from it. • Non-startup disks formatted by an operating system other than the one currently in the computer's memory can cause the drive to clack away noisily. In either case, press (CONTROL)-(RESET) (you may have to do this more than once). After about a second, the disk drive stops. Remove the disk that causes the problem, and replace it with another.
Reading notes: Heading and body text contain OCR-like artifacts such as 'PF.'.OGR AMS' and 'MYFIR STPR OGRAM', so exact reading is uncertain. Directory listing columns (NAME, TYPE, BLOCKS, MODIFIED) are partly garbled and the reading order is uncertain.
- Languages
- English
PDF page 29
Some Error Messages
Some Error Messages Just about every program has error messages that appear on the screen when you make a mistake. Don 't panic. If you get yourself into a real mess, you can always restart the system and begin anew. Error messages can come either from ProDOS or from Applesoft. • The message ::;\'tHA::-:: EF'F::OF.: comes from ProDOS. • The message ·~·::;'/tHA::·:: EF.:F.:OF.: comes from Applesoft. For a complete explanation of all ProDOS error messages, see the ProDOS User's Manual. For a complete explanation of all Applesoft error messages, see the Applesoft Tutorial or the Applesoft BASIC Programmer's Reference Manual. Here are some of the error messages you may encounter: FILE LOCKED This message appears when you try to store information in a locked file. To unlock a file named TESTDATA, type Ut·~ UX: f::: TE'.:;T[lf1T1=i and press [RETURN). FI LE T\'PE MISMATCH Certain commands work only with certain file types. For example, the RUN command works with BAS (BASIC) files, but not with SYS (system) files. This message indicates that you tried to use an inappropriate combination of command and file type. To determine a file's type, use the CAT command.
Reading notes: Garbled error message strings in bullet points are illegible Some command examples are partially corrupted and unreadable
- Printed product names
- ProDOS · Applesoft · Applesoft Tutorial · Applesoft BASIC Programmer's Reference Manual · ProDOS User's Manual
- Languages
- English
PDF page 30
I ....-0 EF.:F.:OF:: This can mean there is a poor connection between the computer and the disk drive or a printer, that a disk is not properly aligned, that there is no disk in the drive, or that the disk drive door is not closed. If there is no disk in the drive, insert one. If the drive door is open , close it. If there is a disk in the drive, remove the disk, replace it in the drive, and close the drive door. If none of these things helps, check the connections between the disk drive cable and the disk controller card, and between the disk controller card and its slot. To a computer, syntax has to do with the way words and statements are used together and how they are spelled . The most common cause of a ::;Yi··· i"i .. n:: :: EF:F:Cll? message is a typing mistake. l·lF.: I TE-F'PCITEC:TED You see this message if you try to copy data onto a write-protected disk. A write-protected disk is one that either has no write-enable notch on its right edge, or has a covered write-enable notch. As long as a disk is write-protected, none of its files can be modified, added to, or removed. This is an important and useful feature. It prevents you from accidentally writing over important information or valuable programs. Software that you buy from your dealer is almost always supplied on write-protected disks. To remove write-protection from a disk that has a covered write- enable notch, remove the tape that covers the notch.
Reading notes: Garbled OCR line near 'syntax error' message heading (::;Yi··· i"i .. n:: :: EF:F:Cll?) Damaged error header text at top of source ('I ....-0 EF.:F.:OF::' and 'l·lF.: I TE-F'PCITEC:TED')
- Languages
- English
PDF page 31
apple computer 20525 Mariani Avenue Cupertino, California 95014 (408) 996-1010 TLX 171-576 030-0899-A
A blank ruled letter-style page with a rainbow stripe across the top and the rainbow apple logo above the Apple Computer address block at the bottom right.
Reading notes: The logo wordmark 'apple computer' is stylized and transcribed as printed; the small document code 030-0899-A is in the lower right corner.
- Languages
- English