An iPhone and iPad replica of the Casio MS-80BM desktop calculator. Same keys, same layout,
same 8-digit truncating logic, and the same quirky % key.
It ships as Classy-O 80 and carries none of Casio's marks: the panel wordmark is CLASSY-O
and the model plate CO-80BM. This page and docs/SPEC.md name the hardware because that is what
the behaviour was copied from; nothing else in the project does. See
docs/RELEASE.md.
| iPhone | iPad mini |
|---|---|
![]() |
![]() |
Every key on the real unit works the way its user's guide describes:
- 8-digit display with three-digit separators and results truncated, not rounded.
- Immediate-execution arithmetic (
6 ÷ 3 × 5 + 2.4 − 1 =is 11.4, no precedence). - Constants: press an operator twice for
K(23 + + 12 =is 35, then45 =is 68). - The percent key:
200 × 5 %(10),100 × 5 % +(105),500 × 20 % −(400),30 ÷ 60 %(50),12 − 10 %(20, percent change),120 + 25 % −(160 then 40). - Independent memory:
M+,M−,MRC(twice clears). - Corrections:
Cclears the entry,▶deletes the last digit,ACclears all but memory. M/EXswitches to Conversion mode, whereM+/M−/MRCbecomeC1/C2/C3. Hold%forSETto store exchange rates.COST/SELL/MAR: enter any two, get the third;MARtwice shows the margin amount.OFF,ACto turn on, auto power off after about 6 minutes.
The full behavior spec, with every rule the manual does not settle marked as an assumption, is in
docs/SPEC.md. The manual itself is Casio's, so it is not redistributed here; get it
from Casio's support site. Every example in it is a test in ManualExamplesTests.swift.
| Path | What |
|---|---|
Packages/CalcEngine |
Pure Swift state machine for the calculator. No UI. |
Packages/CalcEngine/Tests |
Swift Testing suites. Every manual example is a test. |
ClassyO80/ |
SwiftUI app: LCD, keypad, persistence, auto power off. |
ClassyO80Tests/, ClassyO80UITests/ |
App unit tests and a UI smoke test. |
project.yml |
XcodeGen spec. The .xcodeproj is generated, not committed. |
Scripts/release.sh |
Test, archive, export and upload an App Store build. |
docs/appstore/ |
Listing copy and the screenshot recipe. |
docs/RELEASE.md |
What to do for a submission, and what only a Mac can do. |
brew install xcodegen # once
xcodegen generate
open ClassyO80.xcodeproj # run the ClassyO80 scheme on a device or simulator
# Engine tests (fast, no simulator)
cd Packages/CalcEngine && swift test
# App tests
xcodebuild test -project ClassyO80.xcodeproj -scheme ClassyO80 \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro'Scripts/release.sh # test, archive, export build/export/ClassyO80.ipa
Scripts/release.sh --upload # the same, then upload to App Store ConnectThe full checklist, the listing copy and the screenshot sizes are in docs/RELEASE.md.
- Long-press the display to copy the value.
- A hardware keyboard works on iPad: digits,
+ - * /, Return or=,%, Delete for▶, Escape forAC,cforC. - Memory, exchange rates and mode persist across launches.
MIT. See LICENSE.
Classy-O 80 is an independent replica built from the published user's guide. It is not affiliated with, endorsed by, or sponsored by Casio Computer Co., Ltd. CASIO and MS-80BM are trademarks of their owner and are used here only to say which calculator the behaviour was copied from.

