Skip to content

leapingturtlefrog/Calculator-OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator OS v0.2

A minimal OS that boots to a calculator with Level 1 & 2 math support.

Math Operations

  • Basic: +, -, *, /, %
  • Power: 2^10
  • Functions: sqrt(16), abs(-5), root(3,27)
  • Parentheses: (3+4)*2
  • Decimals: 3.14*2
  • Negatives: -5+3

Extras

  • iching - I Ching fortune
  • moji - Random asciimoji
  • lasagna - ASCII art

Keys

  • Enter: Calculate/run command
  • ESC: Clear input
  • Backspace: Delete last char

Build & Run

make        # build
make run    # run in QEMU (GUI)
make test   # run with curses + serial debug output

Requires: gcc (32-bit), nasm, qemu-system-i386

About

An entire operating system that's just a calculator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published