Skip to content

NotCryptid/MicroOS

Repository files navigation

About Micro:OS

Micro:OS is a lightweight operating system made in PTX and TypeScript for devices such as the Micro:Bit or Pi Zero

Upcoming Features

  • Write App
  • Process Manager
  • Web Chat App
  • xCell App
  • Pin Header Drivers
  • ThingAI Instance Code
  • ThingAI App
  • Image Viewer
  • Music Player/Creator

Known issues (Latest Release)

None

Known issues (Latest commit)

Hardware requirements

Barebones (15-20 fps)

  • 32Mhz CPU
  • 100KB of RAM
  • 1MB of storage

Bearable (30-45 fps)

  • 64Mhz CPU
  • 128KB of RAM
  • 1MB of storage
  • Quite literally a MicroBit 2.2

Recommended (60-150 fps)

  • 120-216Mhz CPU
  • 256KB of RAM
  • 2MB of storage
  • Your average run of the mill MakeCode Arcade hardware

Overkill (600-630fps)

  • 1Ghz CPU
  • 512MB of ram
  • 16GB of storage
  • Literally the Raspberry Pi Zero

Source code instructions

Setting up the MicroOS project in VS Code

  1. Download the MakeCode Arcade extension for Visual Studio Code.
  2. Download and unzip the source code
  3. Open the source code folder in Visual Studio Code.
  4. Head over to the Asset Explorer tab on the sidebar.
  5. Select Install Project Dependencies from the actions menu.

Setting up the MicroOS project on the MakeCode Website

  1. Head over to the Microsoft MakeCode Arcade website.
  2. Select import
  3. Select Import URL...
  4. Input https://github.com/NotCryptid/MicroOS as the repository url.
  5. Select Go Ahead!

Building the Operating System

Note

You can skip steps 1-6 if you set up the project in the Makecode Arcade Website

  1. Upload the source code to a github repository.

Important

Ensure the main branch is named master

  1. Head over to the Microsoft MakeCode Arcade website.
  2. Select import

Without signing into github (Recommended)

  1. Select Import URL...
  2. Input your GitHub repository url.

Important

Ensure your GitHub repository is public.

  1. Select Go Ahead!

With signing into github

  1. Select Your GitHub Repo...
  2. Sign in with GitHub.
  3. Select your GitHub repository.

Once you've opened the Operating System in MakeCode you can continue with the following steps.

  1. Click the 3 dots next to the Download button.
  2. Select Choose hardware
  3. Select your hardware.
  4. Click the Download button.

After you're done you can safely delete the project from the MakeCode Arcade site.

Setting up MicroLink

Note

Unless you want to play around with some experimental features its recommended to get the Stable release.

  1. Download a Stable or Latest MicroLink Release.
  2. Head over to the Microsoft MakeCode Micro:Bit website.
  3. Select import
  4. Select Import File...
  5. Upload the hex file you downloaded.
  6. Configure the settings to match your needs.
  7. Connect your Micro:Bit via USB.
  8. Click Download.
  9. Upload the exported hex file to your Micro:Bit either with WebUSB or by dragging and dropping the file to the Micro:Bit.

After you're done you can safely delete the project from the MakeCode Micro:Bit site.