Difference between revisions of "P8 Tech Ref"
Line 33: | Line 33: | ||
## The System Global Page | ## The System Global Page | ||
## The System Bit Map<br><br> | ## The System Bit Map<br><br> | ||
− | # Chapter | + | # Chapter 4A - Calls to the MLI - [[P8 Tech Ref Chapter 4a]]<br><br> |
## The Machine Language Interface | ## The Machine Language Interface | ||
## Issuing a Call to the MLI | ## Issuing a Call to the MLI | ||
Line 40: | Line 40: | ||
## The MLI Calls | ## The MLI Calls | ||
##1 Housekeeping Calls | ##1 Housekeeping Calls | ||
− | ##2 Filing Calls | + | ##2 Filing Calls - - [[P8 Tech Ref Chapter 4b]] |
##3 System Calls | ##3 System Calls | ||
## Housekeeping Calls | ## Housekeeping Calls | ||
Line 51: | Line 51: | ||
### SET_PREFIX ($C6) | ### SET_PREFIX ($C6) | ||
### GET_PREFIX ($C7) | ### GET_PREFIX ($C7) | ||
− | ## Filing Calls | + | ## (Chapter 4B) Filing Calls |
### OPEN ($C8) | ### OPEN ($C8) | ||
### NEWLINE ($C9) | ### NEWLINE ($C9) |
Latest revision as of 02:29, 9 October 2007
This ProDOS 8 Technical Reference is viewable as an inline complete document, (may not work with some browsers) or as individual chapters.
ProDOS 8 P8_Tech_Ref_Inline Technical Reference - COMPLETE DOCUMENT
or single chapters:
- Chapter 1 - Introduction - P8 Tech Ref Chapter 1
- What Is ProDOS?
- Use of Disk Drives
- Volume and File Characteristics
- Use of Memory
- Use of Interrupt Driven Devices
- Use of Other Devices
- Summary
- Chapter 2 - File Use - P8 Tech Ref Chapter 2
- Using Files
- Pathnames
- Creating Files
- Opening Files
- The EOF and MARK
- Reading and Writing Files
- Closing and Flushing Files
- File Levels
- File Organization
- Directory Files and Standard Files
- File Structure
- Sparse Files
- Using Files
- Chapter 3 - Memory Use - P8 Tech Ref Chapter 3
- Loading Sequence
- Volume Search Order
- Memory Map
- Zero Page
- The System Global Page
- The System Bit Map
- Chapter 4A - Calls to the MLI - P8 Tech Ref Chapter 4a
- The Machine Language Interface
- Issuing a Call to the MLI
- Parameter Lists
- The ProDOS Machine Language Exerciser
- The MLI Calls
- 1 Housekeeping Calls
- 2 Filing Calls - - P8 Tech Ref Chapter 4b
- 3 System Calls
- Housekeeping Calls
- CREATE ($C0)
- DESTROY ($C1)
- RENAME ($C2)
- SET_FILE_INFO ($C3)
- GET_FILE_INFO ($C4)
- ON_LINE ($C5)
- SET_PREFIX ($C6)
- GET_PREFIX ($C7)
- (Chapter 4B) Filing Calls
- OPEN ($C8)
- NEWLINE ($C9)
- READ ($CA)
- WRITE ($CB)
- CLOSE ($CC)
- FLUSH ($CD)
- SET_MARK ($CE)
- GET_MARK ($CF)
- SET_EOF ($D0)
- GET_EOF ($D1)
- SET_BUF ($D2)
- GET_BUF ($D3)
- System Calls
- GET_TIME ($82)
- ALLOC_INTERRUPT ($40)
- DEALLOC_INTERRUPT ($41)
- Direct Disk Access Calls
- READ_BLOCK ($80)
- WRITE_BLOCK ($81)
- MLI Error Codes
- Chapter 5 - Writing a ProDOS System Program - P8 Tech Ref Chapter 5
- System Program Requirements
- Placement in Memory
- Relocating the Code
- Updating the System Global Page
- The System Bit Map
- Using the Bit Map
- Switching System Programs
- Starting System Programs
- Quitting System Programs
- Managing System Resources
- Using the Stack
- Using the Alternate 64K RAM Bank
- Protecting Auxiliary Bank Hi-Res Graphics Pages
- Disconnecting /RAM
- How to Treat RAM Disks With More Than 64K
- Reinstalling /RAM
- The System Global Page
- Rules for Using the System Global Page
- General Techniques
- Determining Machine Configuration
- Machine Type
- Memory Size
- 80-Column Text Card
- Using the Date
- System Program Defaults
- Finding a Volume
- Using the RESET Vector
- ProDOS System Program Conventions
- System Program Requirements
- Chapter 6 -Adding Routines to ProDOS - P8 Tech Ref Chapter 6
- Clock/Calendar Routines
- Other Clock/Calendars
- Interrupt Handling Routines
- Interrupts During MLI Calls
- Sample Interrupt Routine
- Disk Driver Routines
- ROM Code Conventions
- Call Parameters
- Appendix A - The ProDOS BASIC System Program - P8 Tech Ref Appendix A
- A.1 - Memory Map
- HIMEM
- Buffer Management
- The BASIC Global Page
- BASIC.SYSTEM Commands From Assembly Language
- Adding Commands to the BASIC System Program
- BEEPSLOT Example
- Command String Parsing
- Zero Page
- The Extended 80-Column Text Card
- Clock/Calendar Routines
- Appendix B - File Organization - P8 Tech Ref Appendix B
- Format of Information on a Volume
- Format of Directory Files
- Pointer Fields
- Volume Directory Headers
- Subdirectory Headers
- File Entries
- Reading a Directory File
- Format of Standard Files
- Growing a Tree File
- Seedling Files
- Sapling Files
- Tree Files
- Using Standard Files
- Sparse Files
- Locating a Byte in a File
- Disk Organization
- Standard Files
- Header and Entry Fields
- The storage_type Attribute
- The creation and last_mod Fields
- The access Attribute
- The file_type Attribute
- DOS 3.3 Disk Organization
- Appendix C - ProDOS, the Apple III, and SOS - P8 Tech Ref Appendix C
- ProDOS, the Apple III, and SOS
- File Compatibility
- Operating System Compatibility
- Comparison of Input/Output
- Comparison of Filing Calls
- Memory Handling Techniques
- Comparison of Interrupts
- Appendix D - The ProDOS Machine Language Exerciser - P8 Tech Ref Appendix D
- How to Use It
- Modify Buffer
- Screen shot from front cover
- Index
- Tell Apple
- ProDOS Technical Reference Manual Quick Reference Card
- File Types
- MLI Error Codes
- ProDOS MLI Calls
- Index - P8 Tech Ref Index