Mirror of The Interim Operating System repository
mntmn 2afab5386a cleanup; iso qemu test | il y a 9 ans | |
---|---|---|
build | il y a 9 ans | |
codecs | il y a 9 ans | |
devices | il y a 9 ans | |
docs | il y a 9 ans | |
notes | il y a 9 ans | |
release-rpi2 | il y a 9 ans | |
sledge | il y a 9 ans | |
.gitignore | il y a 9 ans | |
README.md | il y a 9 ans | |
build_386.sh | il y a 9 ans | |
cloc.sh | il y a 9 ans | |
deploy_386.sh | il y a 9 ans | |
i386-ops.s | il y a 9 ans | |
qemu-386.sh | il y a 9 ans | |
rpi2-build.sh | il y a 9 ans | |
rpi2-deploy.sh | il y a 9 ans | |
rpi2-release.sh | il y a 9 ans | |
runiso-386.sh | il y a 9 ans |
Interim OS is a radical new operating system with a focus on minimalism. It steals conceptually from Lisp machines (language-based kernel) and Plan 9 (everything is a file system). It boots to a JITting Lisp-like REPL and offers the programmer/user the system's resources as filesystems.
Interim runs on:
Detailed docs are in docs/index.html.
Get the dependencies. For a (Linux-)hosted version, this is only GCC and SDL1 or SDL2 if you want windowed graphics. Sledge can also use /dev/fb0 instead if available on your platform. If you want to cross-compile for an ARM platform, get arm-none-eabi-gcc and libnewlib-arm-none-eabi.
To build the hosted variant, cd to sledge
and ./build_x64.sh
.
To cross-compile for bare metal, use ./rpi2-build.sh
. This will create build/interim-arm.elf.
cd sledge
./sledge
To launch the graphical REPL/Shell:
./sledge < tests/boot2.l
Prepare a bootable SD card with the usual FAT partition that has the Pi-specific boot blobs in it and copy kernel.img
into it. You can recycle any other Raspberry OS distribution, i.e. Raspian for this. Just replace the kernel7.img and delete cmdline.txt. Keyboard input is currently only over UART, so you will probably want to connect a UART->USB cable to another computer and use it to control Interim.
Interim OS: GNU GPLv3 or later, (C) 2015 Lukas F. Hartmann / @mntmn
Interim OS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Codecs