Skip to content

Commit

Permalink
Merge pull request #10 from medvecky/add_initial_documentation
Browse files Browse the repository at this point in the history
add_initial_documentation:
  • Loading branch information
medvecky authored Apr 2, 2024
2 parents 8ef200c + 470b873 commit e321f10
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
# C64-multi-functional-calculator

Multi-functional text-based calculator for the Commodore 64.
Multi-functional, text-based RPN (Reverse Polish Notation) calculator designed specifically for the Commodore 64. This project brings a robust set of mathematical capabilities to the iconic Commodore 64, leveraging its unique architecture to deliver a fast, efficient, and user-friendly calculator experience

## Description

- addition '+'
- subtraction '-'
- division '/'
- multiplication '*'
- power '↑'

Additionally, it accommodates floating-point numbers up to nine digits in both decimal (e.g., 3.14) and scientific (e.g., 8.9e-5) notations.

## App development setup

### Prerequisites

- Installed [cc65](https://www.cc65.org/)

### Build binary app

- Clone the project:

```bash
git clone https://github.com/medvecky/C64-multi-functional-calculator.git
```

- Navigate to the project directory.
- Execute the following command:

```bash
make multicalc
```

The calculator binary, named multicalc.prg, is located in the /bin directory.


## Operating Manual

### Simple Operations in RPN Format

```bash
# 9 * 4
9 4 * <return>
# 9 + 4
9 4 + <return>
# 9 / 4
9 4 / <return>
# 9 ^ 4
9 4 ↑ <return>
```

### Complex Operations in RPN Format

```bash
#√( 2 * 300.51 / 9.8 )
300.51 2 * 9.8 / 0.5 ↑
```

0 comments on commit e321f10

Please sign in to comment.