This project contains a comprehensive documentation of the original VisiCalc source code for the Apple II, focusing on creating a fully annotated version of the 6502 assembly code.
VisiCalc was the first spreadsheet program for personal computers, originally released for the Apple II in 1979. This project aims to document the original 6502 assembly code to preserve this important piece of computing history and make it more accessible for study.
The commented code has been split into multiple files for easier navigation:
vc_complete_commented.s- The first part of the commented code (approximately 3,600 lines)vc_commented_2.s- Command processing routinesvc_commented_3.s- More command processing routinesvc_commented_4.s- Additional command processing routinesvc_commented_5.s- Further command processing routinesvc_commented_6.s- Display handling and cell formatting routinesvc_commented_7.s- Formula evaluation routinesvc_commented_8.s- File I/O and printing routines
Each instruction in the assembly code has been annotated with detailed comments explaining:
- The purpose of each instruction
- The meaning of memory locations and registers
- The flow of control through the program
- The functionality of different routines
The original source code was disassembled by Brutal Deluxe Software using The Flaming Bird Disassembler. This documentation project preserves the exact original code structure while adding educational comments.
- System Initialization Routines
- Keyboard Input Handling
- Screen Manipulation
- Memory Management
- Character Processing
- Command Parsing
- Error Handling
- Formula Evaluation
- File I/O
- Printing Routines
VisiCalc is considered the first "killer app" for personal computers and played a significant role in legitimizing personal computers as business tools. This documentation aims to preserve the technical implementation details of this groundbreaking software.