Permalink
Switch branches/tags
Nothing to show
Commits on Oct 15, 2018
  1. Fix scrolling bug and change resolution to 720p

    Mikestylz committed Oct 15, 2018
    Scrolling used to only print every other line, and did not wrap
    text along the side. Now hdmi.c accounts for both.
  2. Adjust RPI settings for cleaner and more supported boot

    Mikestylz committed Oct 15, 2018
    One of the goals of CirnOS is to be entirely hot swappable -- that
    is, the system can be updated without rebooting. It made sense to
    enable hot swapping for the HDMI display in the config.txt file so
    a user can only connect a monitor when they need to see what their
    rPi is doing.
    
    The rainbow splash screen seen on boothas been removed. This was
    bothering me for a long time, as it seemed out of place in this
    operating system's boot process.
    
    kernel.img has been renamed to just 'cirnos'. A common complaint
    was that the name kernel.img didn't make sense since the README
    file says that CirnOS does not have a kernel. A plain cirnos file
    makes much more sense.
    
    The default resolution in config.txt has been changed to 720p.
    This should allow users to plug the rPi into any HDMI monitor
    without config. It used to be 1600x900, which is not guaranteed on
    a lot of screens.
    
    Different interfaces like i2c have been enabled in config.txt to
    pave the way for new drivers.
Commits on Oct 6, 2018
  1. Merge branch 'janus-janus_luabcm'

    Mikestylz committed Oct 6, 2018
    Uses a much more natural numbering scheme for the rPi's pins.
  2. Correct typo

    Mikestylz committed Oct 6, 2018
Commits on Oct 5, 2018
Commits on Oct 4, 2018
  1. Map RPI pins to GPIOs

    janus committed Oct 4, 2018
Commits on Oct 3, 2018
  1. Merge pull request #15 from tilkinsc/patch-1

    Mikestylz committed Oct 3, 2018
    Update README.md
Commits on Oct 1, 2018
  1. Update README.md

    tilkinsc committed Oct 1, 2018
Commits on Sep 30, 2018
  1. Merge pull request #11 from tilkinsc/master

    Mikestylz committed Sep 30, 2018
    Improved overall safety and main.lua example.
Commits on Sep 28, 2018
Commits on Sep 27, 2018
  1. Did the following...

    tilkinsc committed Sep 26, 2018
    - updated the test file to a more complex example
    - added full error checking and reliability
    - replaced all lualib packages and negated a still-cached library
    - repaired static int l_lev to check the lua stack
    - added define for default main file
    - remodled how lua_State gets created
    - added bad-file while loop protection to avoid leakage into .text
    - remodled how lua loads and calls a file chunk
    - implemented implemented error checking
Commits on Sep 23, 2018
  1. Replace Lua interpreter with LuaJIT

    Mikestylz committed Sep 23, 2018
    Pre-compiled LuaJIT library was added to statically link with CirnOS.
    Instructions to build this library may come later, but for now there
    are more pressing matters with the operating system.
Commits on Sep 6, 2018
  1. Add wrappers for SPI in Lua

    Mikestylz committed Sep 6, 2018
    Capabilities of Lua have been expanded to include functions for
    communicating to peripherals via SPI.
    
    Wrappers for relevant SPI functions in the bcm2835 library have
    been added to luabcm.c.
Commits on Sep 5, 2018
  1. Merge branch 'master' of github.com:Mikestylz/CirnOS

    Mikestylz committed Sep 5, 2018
    README.md edit has been integrated with the new PWM wrappers.
  2. Added hardware PWM wrappers

    Mikestylz committed Sep 5, 2018
    The Raspberry Pi original models and zero model both
    only have a single pin with hardware PWM enabled --
    pin 18. This pin is automatically used in the PWM
    functions added to Lua to avoid redundancy.
    
    Support for software PWM should eventually be added
    to all of the usable ports in due time. The ability
    to change the speed of the PWM should also be
    configurable.
Commits on Sep 4, 2018
  1. Trim build.sh and remove unused Lua files

    Mikestylz committed Sep 4, 2018
    CirnOS was made with the belief that learning everything about
    the Raspberry Pi's internals could take months or years. Through
    looking at components of other operating systems that and drivers
    that worked, CirnOS was created as an amalgamation of various
    working pieces from different systems.
    
    Now that all of the basic functionality is in place, the remaining
    features of these different systems that CirnOS does not use can
    be removed from the project files. The various unnecessary
    command line arguments in build.sh have been removed so that every
    one now has a purpose.
    
    Files lua.hpp and luac.c have also been removed as they did not
    serve any purpose in the complete CirnOS project.
  2. Merge pull request #9 from janus/janus_build

    Mikestylz committed Sep 4, 2018
    Use arbitrary match for file names and clean syscalls.c code
    
    syscalls.c was edited and indented and edited slightly for robustness and readability.
    
    build.sh now uses an arbritary match for all the file names in the project for readability and automatic incorporation of new files.
  3. Clean up syscalls.c codes

    janus committed Sep 4, 2018
  4. Clean up FatFs and related files

    Mikestylz committed Sep 4, 2018
    ffsystem.c was removed as it is clear now
    that CirnOS will not be using it at all.
    
    diskio.c and diskio.h were trimmed from
    unused functions such as sd_aligned_free.
    The files then receieved kernel-style
    comments over all of their functions.
    
    integer.h was merged with ff.h to create
    a more rational layout.
  5. Add kernel-style comments and remove bloat

    Mikestylz committed Sep 4, 2018
    All HDMI functions now have extensive descriptions
    depicting how to use them.
    
    Functions that were not used were removed from
    both the header and the source file.
    
    Header guards added.
  6. Add comments and clean up syscalls

    Mikestylz committed Sep 4, 2018
    Added kernel style comments at the beginning of
    most functions in the syscalls.c file to increase
    understanding of how newlib connects to CirnOS.
    
    _srbk function was edited to use RAM_AMOUNT to
    measure when the rPi is out of memory. This is
    preferable because it makes the previous magic
    number understandable.