8 bits of bun

You are here:   Home > 8Bunbits for a rabbyte > Bare minimum OS concept

Bare minimum OS concept


Turns out this one is simpler than i thought! (thanks to the source code of KaOS)

  1. Create protected buffer array to store app data/code in (protection requires at least a MPU, even better is a MMU)
  2. Give a pointer to the last address of the buffer to the OS' API calls
  3. Load precompiled app from storage/flash into buffer with memcpy
  4. Start Executing from app main()

This won't cover tasks, CPU times, RAM overflows, SDK dev and such, it's just the bare minimum OS side of a app loading mechanism!

top