Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
14Activity
0 of .
Results for:
No results containing your search query
P. 1
ProDOS 8 Technical Reference Manual

ProDOS 8 Technical Reference Manual

Ratings:

5.0

(1)
|Views: 809|Likes:
Published by Moe B. Us
The ProDOS Technical Reference Manual is the last of three manuals that describe ProDOS(TM), the most powerful disk operating system available for the Apple II
The ProDOS Technical Reference Manual is the last of three manuals that describe ProDOS(TM), the most powerful disk operating system available for the Apple II

More info:

Published by: Moe B. Us on Apr 03, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as ODT, PDF, TXT or read online from Scribd
See more
See less

07/21/2013

pdf

text

original

 
ProDOS 8 TechnicalReference Manual
The ProDOS 8 Technical Reference Manual is identical in content to the previouslypublished ProDOS Technical Reference Manual.Information in this manual covers ProDOS 8 through 1.1.1. For detailson changes to more recent versions, see ProDOS Technical Note #23.
Contents
... xiii
... xv
Chapter 1- Introduction
... 1
1.1- What Is ProDOS? ... 2
1.1.1- Use of Disk Drives ... 3
1.1.2- Volume and File Characteristics ... 5
1.1.3- Use of Memory ... 5
1.1.4- Use of Interrupt Driven Devices ... 6
1.1.5- Use of Other Devices ... 6
1.2- Summary ... 7
Chapter 2- File Use
... 9
2.1- Using Files ... 10
2.1.1- Pathnames ... 10
2.1.2- Creating Files ... 13
2.1.3- Opening Files ... 13
2.1.4- The EOF and MARK ... 14
2.1.5- Reading and Writing Files ... 15
2.1.6- Closing and Flushing Files ... 16
2.1.7- File Levels ... 17Page vi
2.2- File Organization ... 17
 
2.2.1- Directory Files and Standard Files ... 17
2.2.2- File Structure ... 18
2.2.3- Sparse Files ... 20
Chapter 3- Memory Use
... 21
3.1- Loading Sequence ... 22
3.2- Volume Search Order ... 23
3.3- Memory Map ... 23
3.3.1- Zero Page ... 25
3.3.2- The System Global Page ... 25
3.3.3- The System Bit Map ... 25
Chapter 4- Calls to the MLI
... 27
4.1- The Machine Language Interface ... 28
4.2- Issuing a Call to the MLI ... 29
4.2.1- Parameter Lists ... 31
4.2.2- The ProDOS Machine Language Exerciser ... 31
4.3- The MLI Calls ... 32
4.3.1- Housekeeping Calls ... 32
4.3.2- Filing Calls ... 33
4.3.3- System Calls ... 35Page vii
4.4- Housekeeping Calls ... 36
4.4.1- CREATE ($C0) ... 36
4.4.2- DESTROY ($C1) ... 40
4.4.3- RENAME ($C2) ... 42
4.4.4- SET_FILE_INFO ($C3) ... 43
4.4.5- GET_FILE_INFO ($C4) ... 47
4.4.6- ON_LINE ($C5) ... 51
4.4.7- SET_PREFIX ($C6) ... 54
4.4.8- GET_PREFIX ($C7) ... 55
4.5- Filing Calls ... 56
4.5.1- OPEN ($C8) ... 56
4.5.2- NEWLINE ($C9) ... 58
4.5.3- READ ($CA) ... 59
4.5.4- WRITE ($CB) ... 61
4.5.5- CLOSE ($CC) ... 63
4.5.6- FLUSH ($CD) ... 64
4.5.7- SET_MARK ($CE) ... 65
4.5.8- GET_MARK ($CF) ... 66
4.5.9- SET_EOF ($D0) ... 67
4.5.10- GET_EOF ($D1) ... 68
 
4.5.11- SET_BUF ($D2) ... 69
4.5.12- GET_BUF ($D3) ... 70
4.6- System Calls ... 71
4.6.1- GET_TIME ($82) ... 71
4.6.2- ALLOC_INTERRUPT ($40) ... 72
4.6.3- DEALLOC_INTERRUPT ($41) ... 73
4.7- Direct Disk Access Commands ... 73
4.7.1- READ_BLOCK ($80) ... 74
4.7.2- WRITE_BLOCK ($81) ... 75
4.8- MLI Error Codes ... 77Page viii
Chapter 5- Writing a ProDOS System Program
... 81
5.1- System Program Requirements ... 82
5.1.1- Placement in Memory ... 82
5.1.2- Relocating the Code ... 84
5.1.3- Updating the System Global Page ... 84
5.1.4- The System Bit Map ... 84
5.1.4.1- Using the Bit Map ... 85
5.1.5- Switching System Programs ... 86
5.1.5.1- Starting System Programs ... 86
5.1.5.2- Quitting System Programs ... 87
5.2- Managing System Resources ... 89
5.2.1- Using the Stack ... 89
5.2.2- Using the Alternate 64K RAM Bank ... 89
5.2.2.1- Protecting Auxiliary Bank Hi-Res Graphics Pages ... 89
5.2.2.2- Disconnecting /RAM ... 90
5.2.2.3- How to Treat RAM Disks With More Than 64K ... 91
5.2.2.4- Reinstalling /RAM ... 92
5.2.3- The System Global Page ... 94
5.2.4- Rules for Using the System Global Page ... 94
5.3- General Techniques ... 98
5.3.1- Determining Machine Configuration ... 98
5.3.1.1- Machine Type ... 98
5.3.1.2- Memory Size ... 98
5.3.1.3- 80-Column Text Card ... 99
5.3.2- Using the Date ... 99
5.3.3- System Program Defaults ... 100
5.3.4- Finding a Volume ... 100
5.3.5- Using the RESET Vector ... 101
5.4- ProDOS System Program Conventions ... 101Page ix

Activity (14)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Wyatt Wong liked this
summersbc liked this
magnusfalkirk liked this
zam0004 liked this
openid_r1RrDspk liked this
pavink liked this
pippobert liked this
mrkite77 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->