This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
gngz's profile picture

BIOS - Operating System Launcher

Started by gngz, 28 December 2012 - 07:35 AM
gngz #1
Posted 28 December 2012 - 08:35 AM


BiOS is a simple operating system launcher that supports multiboot and password protection.

Features:
Spoiler
  • Multiboot - Supports more than one operating system.
  • Disk Boot.
  • Password Protection.
  • Adapts to the screen.
Screenshots:
Spoiler


BOOT Sequence
Spoiler
  1. Computer loads BIOS
  2. BIOS verifys disk drive
  3. Check the memory that have the Operating System (Floppy Disk or Computer Memory)
  4. Launch OS bootloader program.
File Description
Spoiler
  • bios - the main program.
  • setup - Bios Setup program.
  • bios.img - Bios Logo.
  • bios.cfg - Bios Configuration file.
  • boot.lst - Boot List file
  • install - BiOS install program.
How to install
Spoiler
  1. Download the software and copy to computer folder.
  2. Run Install program.
  3. Create boot.lst file.
  4. Reboot computer.
How to make the boot.lst file
SpoilerCreate a file with the name: "boot.lst"

Write the file according to the following structure.

<Name of Os>
<BootLoader Location>

Example of boot.lst

CraftOS 1.4
/rom/programs/shell
Another OS
/AOSboot

Questions
Spoiler1. How to put again the password?
A: Go to setup and go change password.

BIOS launches the bootloader of operating system and pass in arguments the bootloader location.

Dlcruz129 #2
Posted 28 December 2012 - 08:37 AM
Maybe you shouldn't call it BIOS? I thought this was a BIOS mod.
gngz #3
Posted 28 December 2012 - 08:40 AM
Maybe you shouldn't call it BIOS? I thought this was a BIOS mod.

Ok i will change the name.
Mandrake Fernflower #4
Posted 29 December 2012 - 06:36 AM
I would call it silverfish. Because its like GRUB
gngz #5
Posted 29 December 2012 - 10:02 AM
How to make my OS compatible with BiOS.

The OS Installer program should write two new lines in boot list file (boot.lst).
Should write in the first line the system name and in the second line the location of OS bootloader (file that launch OS)

Example:

Craft OS 1.4
/rom/programs/shell
Another OS
/AOSBOOT

Tips
  • The os script should be saved in a folder.
  • Only save in main folder the bootloader file.
  • Startup file is used by BiOS. (Use another file name to bootloader)
Pikachi_Althon #6
Posted 29 December 2012 - 11:45 AM
Sorry bro, but AxBoot already beat you to this.
http://www.computercraft.info/forums2/index.php?/topic/5089-axboot-133-plus-specification-for-devs/
gngz #7
Posted 29 December 2012 - 12:08 PM
Sorry bro, but AxBoot already beat you to this.
http://www.computerc...ation-for-devs/
BiOS are much simpler and occupies less than AxBoot. Wait for new Versions.

Regards,