Giter Site home page Giter Site logo

lunatic-core's People

Contributors

mdfl64 avatar

Watchers

 avatar  avatar

Forkers

tagsrocks

lunatic-core's Issues

Prune base lib

Ditch loadfile, dofile, collectgarbage, gcinfo, newproxy.

Keep coroutine garbage and print, for now.

Error handling

If the kernel errors, return into the loader and have it print the error.

Totally remove screen lib from core. Have the kernel worry about IO.

Loader Memory Map

  • 0x00000: Reserved stuff, ~32k for loader code.
  • 0x10000: Read Data
  • 0x20000: FAT Table Cache
  • 0x30000: ?
  • 0x40000: ?
  • 0x50000: Loader Stack
  • 0x60000: Core Info Table
  • 0x70000: Page Tables
  • 0x80000+ is sketchy
  • 0x00F00000: COULD BE Memory mapped hardware!
  • 0x01000000 (16meg) - 0xC0000000 (~3GB): Core
  • 0xC0000000: 1GB of memory mapped hardware
  • 0x100000000+ is more memory for core, not currently supported.

Components/Naming

  • Bootloader (NewMoon.asm): Written to the first few sectors of the boot disk. Puts the processor in the right mode and loads everything in Lunatic/Init into memory, then jumps into the core's start method. I'll probably just try to rewrite most of it in C if I ever get an excuse to.
  • Core (FullMoon.exe): Loaded into memory by the bootloader. This is your standard issue PE executable. Why? Because I can. Contains the LuaJIT VM, a very minimalistic and probably incorrect standard library, and code to run the kernel script.
  • Kernel (kernel.lua): The damn kernel script. Lives in the main repo. This is where the actual OS design shit comes in to play, so I am a bit spooked. At a bare minimum this needs to be able to load symbols for LuaJIT. Somehow.

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.