Sovereign 8s.is mirror of standardgalactic/bleem
  • C 46.8%
  • JavaScript 39.3%
  • Forth 13%
  • Makefile 0.6%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-08-12 18:51:19 -03:00
.vscode - Advanced further in video output. 2022-08-05 18:35:14 -03:00
compiler - Cleaned up instruction set. 2022-08-12 18:51:19 -03:00
doc - Backup. 2022-08-08 10:06:50 -03:00
risc - Cleaned up instruction set. 2022-08-12 18:51:19 -03:00
assembler.fs - Cleaned up instruction set. 2022-08-12 18:51:19 -03:00
buildcharset.sh - Backup. 2022-08-02 11:22:14 -03:00
buildrom.sh - I have almost video output :D 2022-08-03 19:15:12 -03:00
charsetgen.fs - I have almost video output :D 2022-08-03 19:15:12 -03:00
LICENSE.md - Added LICENSE file. 2022-07-28 16:13:34 -03:00
Makefile - Advanced further in video output. 2022-08-05 18:35:14 -03:00
README.md - Updated README. 2022-08-03 19:20:36 -03:00
testrom.fs - Cleaned up instruction set. 2022-08-12 18:51:19 -03:00
TODO - Updated documentation. Working on video output. 2022-07-31 22:30:39 -03:00

Bleem

Bleem will be a fantasy but serious computer. It's a simple 32-bit RISC machine. It borrows concepts from retro computers like the Commodore64 and more modern aproaches like the Oberon RISC machine among others.

It will eventually have a default high level programming language that's a mix between Oberon-07, BASIC and Megezeux Robotic (no, it's not a joke ¯\(ツ)/¯).

But first of all, Bleem is a personal vision and framework to experiment with low-fat computing and gaming.

It is by no means an attempt to emulate a possible hardware implementation, so, it's serious, but as serious as it can be. There are possibly many aspects that are not viable in a real implementation, I'm not a hardware expert.

alt text


Specifications

CPU

  • Fantasy 32-bit RISC machine.
  • 8 general purpose registers.
  • Special registers: instruction pointer, stack pointer, frame pointer.
  • Status register: N, C, V, Z
  • Interrupt mechanism support.

Memory

  • 1MB flat addresable memory space.
  • Memory mapped IO with simple access abstraction.
  • No MMU, no memory protection.

Video output

  • Currently uses SDL2 for video output.
  • Video mode 1:
    • 40x25 tiled console.
    • 8x8 pixel character.
    • 3 editable character sets.
    • Selectable foreground and background color per tile.
  • Video mode 2:
    • Resolution: 320x200.
    • Color depth: 256 colors, pixel format RRRGGGBB.