# Inside Apples ProDOS 1984 — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-bb209c895f006ea7150501425f5f0d4dc58476be044040fb543cb7b5722229b7)

Transcribed text:

JOHN CAMPBELL
INSIDE APPLE'S® ProDOS™

Image description: A black book cover with a glowing red-pink sunset horizon, black mountain silhouettes, and a red perspective grid floor, with the title set in white sans-serif capitals inside a thin white framed box.

Reading notes: Registered (®) and trademark (™) symbols are small and read as approximations of the printed marks. The author name and title are set in a thin display typeface; spelling is clear but could be checked against the original cover.

Languages: English

[Original Image 1](https://www.vintageapple.net/files/1fdbdf91c704cff512d59adb871199178c5496a5e1d7b7a8323b6e499595f07b/0daf57dbe068f5f18db07d0a.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-6886b19be63160209c53bfbcc2a68b1f905312033737d19f7cb7a261f7ef2347)

Transcribed text:

JOHN CAMPBELL
INSIDE APPLE'S® ProDOS™

Image description: Book cover with a black background, a red sunset over dark mountain silhouettes, and a red perspective grid floor, with the title set inside a white-outlined box at the top.

Reading notes: Registered and trademark symbols (® and ™) are visible after APPLE'S and ProDOS; transcribed as shown. Small mark on the title box near the upper left of INSIDE is a stain or blemish, not text.

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-8b143274b31b217272336dc312f19fa7fdd9a12bdca0df757be0afc42bb3cec9)

Image description: The image is a nearly blank off-white sheet with a faint tan water stain or discoloration along the lower right area and a few small specks, with no visible text, artwork, or layout elements.

Reading notes: No visible text found in the scan; the page appears blank apart from paper staining and specks. Faint tan discoloration along the lower portion may be a water stain rather than printed content.

[Original PDF page 2](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-cf4746bc34558e2f7798735b8b0faddb8e15043cb6dc32e38745b71bc0adc547)

INSIDE APPLE'S® PRODOS™

Transcribed text:

INSIDE
APPLE'S® PRODOS™.

Image description: A mostly blank off-white page with three lines of bold black sans-serif capital text in the upper left corner and a faint tan water stain across the lower half.

Reading notes: The trademark superscript 'T.M.' after PRODOS is small and printed at a slight raise; transcribed as 'T.M.' with its period. Brown staining along the lower portion of the page is discoloration, not text.

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-b803413b1c8f791db7efc3e2a0edf1ab3fe11fb0631b47676fe19b302966a7c9)

INSIDE APPLE'S®

Transcribed text:

INSIDE
APPLE'S®
PRODOST.M.
A Reston Computer Group Book
Reston Publishing, Inc.
A Prentice-Hall   Company
Reston, Virginia
John Campbell

Reading notes: The source text appears to be a book cover or title page; 'PRODOST.M.' may be a damaged or partial string.

Printed product names: Apple's

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-248fcf3626c74fed5a81be6f4d525a54682f6f98bc852d37f7ede37c4c008699)

Inside Apple's ProDOS.

Transcribed text:

Library of Congress Cataloging in Publication Data
Campbell, J.   L.   (John L.)
Inside Apple's   ProDOS.
"A   Reston Computer Group   book."
Bibliography:   p.
Includes index.
1.   ProDOS   (Computer operating system)   2.   Apple II
(Computer)--Programming.   3.   Basic   (Computer program
language)   I. Title.   II. Title:   Inside Apple's   ProD.O.S.
QA766.C343   1984   001.64'2   84-6988
ISBN   0-8359-3078-5
The terms Apple, Apple II, Apple II Plus, Apple lie, Apple Ill, Disk II,   DOS   3.3, ProFile,   ProDOS,   In-
teger BASIC, Applesoft II BASIC, The Filer,   CONVERT,   EXERCISER, and The APA are either
registered trademarks, trademarks, or copyrighted by Apple Computer, Inc.
Interior design and production by Carolyn   Ormes
©   1984 by John   L.   Campbell
All rights reserved. No part of this book may be reproduced in any way or by any means, without permis-
sion in writing from the author.
10   9   8   7   6   5   4   3   2   I
PRINTED IN THE UNITED   STATES   OF   AMERICA

Reading notes: Title line reads 'Inside Apple's ProDOS.' with a second title variant 'Inside Apple's ProD.O.S.' in the cataloging data; 'Apple lie' and 'Apple Ill' may be OCR variants of 'Apple IIe' and 'Apple III'.

Printed product names: Apple · Apple II · Apple II Plus · Apple Lie · Disk II · DOS 3.3 · ProFile · ProDOS · Applesoft II BASIC · The Filer · CONVERT · EXERCISER · The APA

Printed dates: 1984

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-45ab05d3299f63a18ddca1fe5ddd003aecbf4cf0a2ac68b1b334ab2104522448)

Transcribed text:

CONTENTS
Preface   xi
CHAPTER 1:   INTRODUCTION   1
1.   0.   Overview   1
1.1. Introducing   ProDOS   3
1.1.1. What is Needed   5
1.1.2. The   ProDOS   Diskettes   6
1.1.3. Making a Startup Diskette   8
1.1.4. The   ProDOS   Programs   00
1.2. Make a   ProDOS   Copy   13
1.3.   ProDOS   Commands Described   16
1.4. Starting   ProDOS   18
1.4.1. From a Cold   Start   19
1.4.2. From   Other   Ways   20
Nothing is more expensive
than a start.
Nietzsche, 1888

Printed product names: ProDOS

Printed dates: 1888

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-0f2f065fc8af2ae3443db2b4fcedbec0cf6434fa722148eada9aa5860ac95006)

Transcribed text:

vi   I   CONTENTS
1. 5. The   HELP   Command   21
1.6.   ProDOS   and   DOS   22
Summary   23
Questions   24
CHAPTER 2: PRODOS FILES AND COMMANDS   25
2.0. Overview   25
2.1. How   ProDOS   Works   26
2.1.1.   A   Startup   Diskette   27
2.1.2. The   PRODOS   Program   28
2.1.3. The   BASIC   SYSTEM   Program   29
2.1.4. The   STARTUP   Program   29
2.2. Volumes and Files   30
2.2.1. The Directory   31
2.2.2. The   Pathname   36
2.2.3. The   Prefix   38
2.3.   ProDOS   and Programs   39
2.3.1. The-(DASH) Command   39
2.3.2. The   RUN   Command   40
2.3.3. The   LOAD   Command   42
2.3.4. The   SAVE   Command   43
Summary   43
Questions   45
CHAPTER 3: HOUSEKEEPING COMMANDS   46
3.0. Overview   46
3.1. The CAT and CATALOG Commands   47
3.2. The   PREFIX   Command   49
3.3. The CREATE Command   52
3.4. The RENAME Command   54
3.5. The DELETE Command   55
3.6. The   LOCK   and   UNLOCK   Command   55
3.7.   I/0   from   Programs   57
3.7.1. The CHAIN Command   57
3.7.2. The   STORE   Command   57
3.7.3. The   RESTORE   Command   58
3.7.4. The   PR#   Command   59
3.7.5. The IN# Command   60
Summary   61
Questions   62

Reading notes: Source appears to be a table of contents with inconsistent spacing; primary heading not clearly identified.

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-1590526ddf4d450587851713ab9ccf972bc51d21151a7ab1f3300aa04682975a)

Transcribed text:

CHAPTER 4: SEQUENTIAL-ACCESS FILES   63
4.0.   Overview   63
4.1. Sequential-access Files   65
4.2. The   OPEN   Command   72
4.3. The READ Command   74
4.4. The WRITE Command   75
4.5. The   CLOSE   Command   76
4.6. The   APPEND   Command   76
4.7. The   FLUSH   Command   77
4.8. The   POSITION   Command   78
Summary   78
Questions   79
CHAPTER 5: RANDOM ACCESS FILES   80
5.0.   Overview   80
5.1. Random-Access Files   81
5   .1.1. The Record Length   82
5.1.2. Writing a Record   82
5.1.3. Record Character Storage   83
5.1.4. Reading from a Record   89
5.2. The   OPEN   Command   89
5.3. The READ Command   90
5.4. The WRITE Command   91
5.5.   The   CLOSE   Command   92
5.6. The DELETE Command   93
5.7. The   APPEND   Command   93
5.8. The   FLUSH   Command   94
Summary   95
Questions   95
CHAPTER 6:   BINARY   FILES   96
6.0.   Overview   96
6.1. Binary Files   97
6.1.1. Binary Addresses   98
6.1.2. Command   Options   98
6.2. The   BLOAD   Command   99
6.2.1. Installing Machine-code Routines   100
6.3. The   BSA   VE   Command   101
6.4. The BRUN Command   102
6.5. The   PR#   and IN# Command   103
6.6. The Monitor and   ProDOS   104
Summary   105
Questions   106
CONTENTS   I   vii

Reading notes: Table of contents has irregular spacing and line breaks around some command names and section numbers, such as '5   .1.1.' and 'BSA VE'.

Printed product names: ProDOS

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-6c61464021e4870daa3d5961eb12f98358c1f185b23e5d5bba2496fe9ab9faf6)

Transcribed text:

viii   I   CONTENTS
CHAPTER 7:   EXECUTIVE   FILES   107
7.0.   Overview   107
7   .I. EXEC Files Demonstration   108
7.2. The EXEC Command   110
7.3. EXEC Uses   111
Summary   Ill
Questions   111
CHAPTER 8: THE   PRODOS   FILER
AND   CONVERT   PROGRAMS   112
8.0.   Overview   112
8.1.   Using the FILER Program   115
8.1.1.   ProDOS   FILER Menu   115
8.1.2.   TUTOR   116
8.1.3.   File Commands   117
LIST   PRODOS   DIRECTORY   117
COPY   FILES   119
DELETE   FILES   120
COMPARE   FILES   121
ALTER   WRITE-PROTECTION   121
RENAME   FILES   121
MAKE   DIRECTORY   121
SET   PREFIX   122
8.1.4. Volume Commands   123
FORMAT   A   VOLUME   125
COPY   A   VOLUME   127
LIST   VOLUMES   128
RENAME A   VOLUME   129
DETECT BAD   BLOCKS   130
BLOCK   ALLOCATION   132
COMPARE   VOLUMES   133
8.1.5. Configuration Defaults   134
SELECT   DEFAULTS   134
RESTORE   DEFAULTS   135
8.1.6. QUIT   135
8.2. Using the   CONVERT   Program   136
8.2.1.   ProDOS   CONVERT   Menu   136
8.2.2.   Reverse Transfer Direction   137
8.2.3. Change   DOS   3.3   Slot   and Drive   137
8.2.4.   Set   ProDOS   Prefix   139
8.2.5.   Set   ProDOS   Date   139
8.2.6. Transfer or List Files   139

Reading notes: Source is a table of contents, so no headline or advertised products or prices are present. Some characters in the extracted text show spacing artifacts, such as 'EXEC Files Demonstration' and 'DETECT BAD BLOCKS', which may reflect OCR spacing.

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-d961346b4233adf4d2eeaf2f72fc580f2866beba7183e28d5c6ef68e52d372c9)

Transcribed text:

8.3. FILER and   CONVERT   Error Messages   139
Summary   139
Questions   140
CONTENTS   I   ix
CHAPTER   9: THE MACHINE LANGUAGE INTERFACE   141
9.0.   Overview   141
9.1. Memory Usage   142
9.1.1.   ProDOS   Loading Sequence   142
9.1.2. Memory Maps   143
9.2. Issuing Calls   152
9.2.1. Housekeeping Calls   154
9.2.2. Filing Calls   163
9.2.3.   System   Calls   173
9.2.4. Direct Access Calls   174
9.3. MLI Error Codes   176
9.4. Writing a   System   Program   177
Summary   178
Questions   178
CHAPTER   10: BASIC PROGRAMMING   SYSTEMS   180
10.0.   Overview   180
10.1.   Designing the Program   181
10.2.   Program   Modules   185
10.2.1.   The Skeleton   Program   185
10.2.2.   Number and   String   Module   191
10.2.3.   Pathname   Determination Subroutine   194
10.2.4.   Print   to   Screen   Subroutine   196
10.2.5.   Read a Record Subroutines   196
10.2.6.   Write a Record Subroutines   197
1 0.2.   7.   System   Configuration   Setup   Subroutines   198
10.2.8.   Thunderclock Routine   199
10.2.9.   Read Current   Prefix   Routine   200
10.2.10.   Report Heading Subroutine   200
10.3.   The Program   201
Summary   227
Questions   228
APPENDICES   229
A.   DOS   3.3 and   ProDOS   1.0   Comparisons   229
Overview   229
The Diskettes   230
Commands no Longer Supported   231
ProDOS   Commands Supported   231

Reading notes: Source is a table of contents; no headline or advertised products or prices are present.

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/1#scan-5a8950024b0061ea426f70eddfeb4dd86283157647f985efa7a49fec239cbf3b)

Transcribed text:

xI   CONTENTS
B.   ProDOS   1.0   Memory Map   241
Overview   241
High Memory Considerations   242
Zero Page   242
General Memory Map   248
C.   ProDOS   Command Summary   250
D.   Error Messages   256
Overview   256
Determining the   ERROR   257
ProDOS   Messages   257
FILER and   CONVERT   Messages   259
Applesoft 11 Messages   264
E. Miscellaneous Topics   266
Overview   266
Clock/Calendar Card   266
/RAM in the Apple Ile   268
ProFile Hard Disk Storage   270
F.   ProDOS,   Apple III, and   SOS   271
Overview   271
ProDOS   and   SOS   271
File Comparisons   272
System Comparisons   272
G. The APA Program   274
Overview   27   4
Starting AP   A   27   4
AUTO   Command   275
MANUAL   Command   276
RENUMBER   Command   276
HOLD   Command   277
MERGE Command   277
COMPRESS   Command   278
SHOW   Command   278
NOSHOW   Command   279
LENGTH Command   279
XREF Command   279
CONVERTComm~d   ~0
EXIT Command   280
H.   ASCII   Character Codes   282
I.   Hexadecimal to Decimal Conversions   286
BIBLIOGRAPHY   288
GLOSSARY   292
INDEX   299

Reading notes: OCR spacing in some entries, e.g. 'ProDOS   1.0' and 'Comm~d' may be damaged characters 'Apple Ile' possibly an OCR rendering of Apple IIe 'CONVERTComm~d   ~0' reading order and characters uncertain

Printed product names: ProDOS · Apple III · SOS · ProFile · Apple Ile · APA · ASCII

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/8fd94a2c795714a9151999b22c79223f3f35be34e844bc9a072d8ba51e0e67cf/Inside_Apples_ProDOS_1984.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-inside-apples-prodos-1984-7142c6/2.md)
