Discuss Scratch

PowPro1502
Scratcher
100+ posts

RigelOS - OS Wars 26


RigelOS - A pixel-based OS with a 16-bit VM! Made for OS Wars 26


You can still sign up! Click here to go to the signups project.


Our goals:

A 16-bit VM built into the OS.
A blue colour scheme across the whole OS.
{planned apps} Calculator, Astral (programming language), Files, Settings, Chatbot (possibly), Docs.
Widgets - little displays you can drag around the homepage.

Our Team:

7368696E6F - RigelOS Leader, VM Developer, among other things.
PowPro1502 - Desktop & App Developer and Graphic Designer.

Important Links:

The official RigelOS account
RigelOS Signups Project
RigelOS Official Team Project
The official OS Wars 26 account
Main RigelOS Studio
RigelOS Developer Studio

Inter Astra Splendemus - Among the stars, we shine.

Last edited by PowPro1502 (July 12, 2026 17:13:04)

7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26

test
7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26

For the record, I'm posting the entire instruction set.
  • 1.(32)LDA : Write 16-bit value to A register
    2.(32)LD : Write 16-bit value to RAM at the address indicated by A register
    3.(32)ADD
    4.(32)SUB
    5.(48)AJ : If A equals the 16-bit immediate, set PC to the address
    6.(32)JMP : Jump to address
    7.(32)JZ : Jump if zero flag is set
    8.(32)JNZ : Jump if zero flag is not set
    9.(32)CALL : Save current PC and jump
    10.(16)RET : Return to address saved by CALL
    11.(16)INC : Increment A
    12.(16)DEC : Decrement A
    13.(64)BOOT
    14.(16)NOP : No operation
    15.(32)LDM : Write RAM data to A register
    16.(16)PUSH A : Push A register onto stack
    17.(32)PUSH : Push 16-bit immediate onto stack
    18.(16)POP A : Pop stack value into A register
    19.(32)POP : Pop stack value into RAM
    20.20.(16)CLP Free the entire stack area.
PowPro1502
Scratcher
100+ posts

RigelOS - OS Wars 26

7368696E6F wrote:

test
I need to get an image format working, you'll be able to save it as a “.rif” file in the “Files” app (RIF stands for Rigel Image File)
PowPro1502
Scratcher
100+ posts

RigelOS - OS Wars 26

7368696E6F wrote:

For the record, I'm posting the entire instruction set.
  • 1.(32)LDA : Write 16-bit value to A register
    2.(32)LD : Write 16-bit value to RAM at the address indicated by A register
    3.(32)ADD
    4.(32)SUB
    5.(48)AJ : If A equals the 16-bit immediate, set PC to the address
    6.(32)JMP : Jump to address
    7.(32)JZ : Jump if zero flag is set
    8.(32)JNZ : Jump if zero flag is not set
    9.(32)CALL : Save current PC and jump
    10.(16)RET : Return to address saved by CALL
    11.(16)INC : Increment A
    12.(16)DEC : Decrement A
    13.(64)BOOT
    14.(16)NOP : No operation
    15.(32)LDM : Write RAM data to A register
    16.(16)PUSH A : Push A register onto stack
    17.(32)PUSH : Push 16-bit immediate onto stack
    18.(16)POP A : Pop stack value into A register
    19.(32)POP : Pop stack value into RAM
    20.20.(16)CLP Free the entire stack area.
Noted. I'll pop this into the OP (top post)
7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26

PowPro1502 wrote:

7368696E6F wrote:

test
I need to get an image format working, you'll be able to save it as a “.rif” file in the “Files” app (RIF stands for Rigel Image File)
It looks like the implementation of that will be a while off, though…
7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26


PowPro1502 wrote:

7368696E6F wrote:

For the record, I'm posting the entire instruction set.
  • 1.(32)LDA : Write 16-bit value to A register
    2.(32)LD : Write 16-bit value to RAM at the address indicated by A register
    3.(32)ADD
    4.(32)SUB
    5.(48)AJ : If A equals the 16-bit immediate, set PC to the address
    6.(32)JMP : Jump to address
    7.(32)JZ : Jump if zero flag is set
    8.(32)JNZ : Jump if zero flag is not set
    9.(32)CALL : Save current PC and jump
    10.(16)RET : Return to address saved by CALL
    11.(16)INC : Increment A
    12.(16)DEC : Decrement A
    13.(64)BOOT
    14.(16)NOP : No operation
    15.(32)LDM : Write RAM data to A register
    16.(16)PUSH A : Push A register onto stack
    17.(32)PUSH : Push 16-bit immediate onto stack
    18.(16)POP A : Pop stack value into A register
    19.(32)POP : Pop stack value into RAM
    20.20.(16)CLP Free the entire stack area.
Noted. I'll pop this into the OP (top post)
andRAM Configuration
01: ALU, Output destination (default: A-register 0104)
02: ALU, Input 1
03: ALU, Input 2
04: ALU, Command type
05: Borrow/Loan register, Output
06: IOU, Input
07: IOU, Output available I/O (status)
08: GPU, Input 1
09: GPU, Input 2
10: GPU, Input 3
0a: GPU, Input 4
0b: GPU, Output 1
0c: GPU, Output 2
0d: GPU, Output 3
0f: GPU, Output 4
From here to ff, each UNIT has: 2 I/O (32-bit) inputs, 1 connection check, and 1 output. (= 60 units)
10: Input
11: Input
12: Connection
13: Output

0100–0111: Registers
0113–3fff: Stack
PowPro1502
Scratcher
100+ posts

RigelOS - OS Wars 26

7368696E6F wrote:

PowPro1502 wrote:

7368696E6F wrote:

test
I need to get an image format working, you'll be able to save it as a “.rif” file in the “Files” app (RIF stands for Rigel Image File)
It looks like the implementation of that will be a while off, though…
I can make that quite fast, just implementation is the problem.
7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26

I am active between 0:00 and 14:00.so im sleppy now
7368696E6F
Scratcher
6 posts

RigelOS - OS Wars 26

PowPro1502 wrote:

7368696E6F wrote:

PowPro1502 wrote:

7368696E6F wrote:

test
I need to get an image format working, you'll be able to save it as a “.rif” file in the “Files” app (RIF stands for Rigel Image File)
It looks like the implementation of that will be a while off, though…
I can make that quite fast, just implementation is the problem.
They all end up being implemented in assembly language on the VM LOL

Powered by DjangoBB