Next Previous Contents

# Apple ][ specific information for cc65

## Oliver Schmidt, ol.sc@web.de

2009-10-07

An overview over the Apple ][ runtime system as it is implemented for the cc65 C compiler.

## 1. Overview

## 2. Binary format

## 3. Memory layout

## 4. Linker configurations

- 4.1 builtin config file
- 4.2 `apple2-dos33.cfg`
- 4.3 `apple2-system.cfg`
- 4.4 `apple2-loader.cfg`
- 4.5 `apple2-reboot.cfg`

## 5. ProDOS 8 system programs

- 5.1 LOADER.SYSTEM
- 5.2 Heap
- 5.3 ProDOS 8 I/O buffers

## 6. Platform specific header files

- 6.1 Apple ][ specific functions
- 6.2 Hardware access

## 7. Loadable drivers

- 7.1 Graphics drivers
- 7.2 Extended memory drivers
- 7.3 Joystick drivers
- 7.4 Mouse drivers
- 7.5 RS232 device drivers

## 8. Limitations

- 8.1 DOS 3.3
- 8.2 DIO
- 8.3 Direct console I/O

## 9. Other hints

- 9.1 Passing arguments to the program
- 9.2 Interrupts
- 9.3 DIO

## 10. Bugs/Feedback

## 11. License

Next Previous Contents