Search the Community
Showing results for tags 'bootloader bios'.
Found 2 results
The world as I knew it had a problem. A plenty of bootloaders had already existed, and they'd all shared the same flaw: it wasn't me who made them. I've decided to put an end to that. Cyan is a multi-bootloader and a replacement for the plain Lua BIOS. The features it encompasses include: a whitelist to prevent random strangers from tampering with the computer a Lua interpreter to test your sudden ideas support for hot-plugging filesystems if you've forgot to insert a floppy the ability to format or label a filesystem, while we're at it loading the boot payload from the internet when you can't afford an HDD and a gorgeous, minimalistic design Pictures: To install on OpenOS, run the following: wget -fq https://raw.githubusercontent.com/BrightYC/Cyan/master/installer.lua && installer.lua Or, if you're a MineOS user, look for the program (bearing the same name) at your local AppMarket. Here's how the whitelist works. You add trusted users to the list when the installer asks you. Then the bootloader will ignore any signals from other people. That's it. Oh, and you can also choose a less restrictive option: the Cyan BIOS can wait for input from a trusted user. Before that an authorized person can't access the bootloader. Lastly, a couple of words about the Lua interpreter. It doesn't wrap the output, and the input command must be less than the screen width. The last restriction can be circumvented by copy-pasting the command. In addition to that, the bootloader defines the following functions: os.sleep([timeout: number]) proxy(componentName: string): table or nil — returns a component proxy by its name (cf. component.proxy, which takes an address) read(lastInput: string or nil): string or nil — a primitive io.read() print(...) The source code for the curious: https://github.com/BrightYC/Cyan P. S. Big thanks to @Fingercomp for his lecture about string escapes and writing this text.
Hello there people! I created a BIOS-level bootloader that is based on the original Lua BIOS that implements a bootloader function. You simply press the number of the OS you would like to boot to from the list of recognized filesystems. The reason why I created this is that it is roughly 2,000 bytes shorter than OpenLoader's EEPROM. There are two versions: Source version (uncompressed, roughly 2.6k bytes): https://thepuzzlemaker.info/static/blbios2.source.lua Compressed version (compressed, roughly 1.3k bytes): https://thepuzzlemaker.info/static/blbios2.comp.lua To install (compressed version), insert the EEPROM you'd like to flash it to and run: wget https://thepuzzlemaker.info/static/blbios2.comp.lua bios.lua flash bios.lua rm bios.lua To install (uncompressed version), insert the EEPROM you'd like to flash it to and run: wget https://thepuzzlemaker.info/static/blbios2.source.lua bios.lua flash bios.lua rm bios.lua If you have any problems, just reply and I'll attempt to fix it. [INVALID] means that there is an error in the /init.lua file. If the drive doesn't show up, that means that /init.lua could not be found on it.