Giter Site home page Giter Site logo

rrt0's Introduction

rrt0

Simple cross-platform runtime / startup (like crt0).

Supported platforms

Primary goals

  • Create a sane, platform-specific runtime environment
    • Set the stack pointer
    • Clear the .bss section (uninitialized static data)
    • Minimal hardware initialization (e.g. configuring the FPU)
    • Panic handler

Usage

Here is a small template to get you started:

#![no_main]
#![no_std]

use rrt0::prelude::*;

#[no_mangle]
fn main() -> ! {
    // Do cool stuff, here!
    loop {}
}

If main returns, the startup code will panic.

See examples for more complete projects to get you started.

rrt0's People

Contributors

parasyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rrt0's Issues

wish: a shell

Hi,

This issue is for asking about a shell. With shell I do mean a programma that can start other programms. It would be the programma that rrt0 starts.

What the shell does:

  • Showing a "prompt"
  • Scanning buttons
  • When "next" button is pressed, it shows filename of next programm
  • When "enter" button is pressed, it starts selected programm_
  • At "selected programm exit" back to begin, prompting & scanning

No need for recreating an Operating System, just something that makes it possible to have multiple programms on a console device waiting to be started. Programms / Games that are indepently (developped).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.