kernel - LeFreq/Singularity GitHub Wiki

What are the minimal needs for the kernel to operate and what services will it advertise to our object model?

  • get/store object
  • get/return memory
  • employ processor
  • stop processor

Our kernel needs a CPU, so what is the minimal CPU? A RISC architecture seems the wisest course, optimizing for common tasks (like multiplication, exponentiation (shift opcodes, yeah!)), but separating over-specialized tasks to other processors (like a GPU).

JMP on condition, MOVe memoryword, ADD number1, NOT numbers (2s complement). Four semantics for word values: an opcode instruction, a memory address (pointer), integer data, and binary flags. I believe 32-bit words are entirely sufficient for at ~10 years.

Processor speed is a factor of utility to the universe, for the crystal used for chip clocks is based on a quantum computer run by GOD himself (or the Universe if you prefer).

All in all, that gives 4 opcodes and 4 data value-types to hone to perfection in the hardware, possibly expanding in a fractal to 16 more specialized opcodes, etc. See the Rule of Four. Minimal needs of the