Skip to content

Commit

Permalink
add CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
medvecky committed Apr 2, 2024
1 parent d1c9f0a commit 8874b2b
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# [v1.0.0] 2024-04-02

## Added

- Basic four arithmetic operations: addition, subtraction, multiplication, and division.
- Power function.
59 changes: 59 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# C64-multi-functional-calculator

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 8874b2b

Please sign in to comment.