Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Lyra

Members
  • Content Count

    3
  • Joined

  • Last visited

  • Days Won

    5

Lyra last won the day on January 5 2017

Lyra had the most liked content!

About Lyra

  • Rank
    Junior Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm sure it's possible- after I posted this I was pointed toward some Lua minifiers that net an extra 1-2kb of space or so, which should be enough to implement some kind of network boot. Unfortunately modems are by default limited to only 8kb of data per packet- and while you could make the case that 8kb is enough to implement a more capable second stage, this wouldn't be very satisfying, as ideally this BIOS is the only thing you need to start the whole system. So now the challenge is to figure out how to implement a packetized network boot with proper resend/ack in less than 2kb of minified
  2. You're in the BIOS- there is no sleep function. You've clearly already figured out that you can't just require() the os module, because that's provided by OpenOS, which you don't have here. The OpenOS implementation of os.sleep is here. Notice that it just polls events until it reaches the timeout. You could do that yourself, but now you have to figure out what you're going to do with all the events you get, since there doesn't seem to be a way to pause execution with computer.pullSignal without actually receiving events.
  3. This is a small (obviously) custom BIOS, the chief feature of which is booting over HTTP. This is quite handy when writing a custom operating system as the edit process there tends to be a bit tedious moving hard drives and files around and such. With this, you can do something like: Install the BIOS to an EEPROM, and set the EEPROM data to something like "http://localhost/init.lua" Run an HTTP server on your local machine, and point it at your files Configure OpenComputers to permit making HTTP requests to 127.0.0.1 (disclaimer: this is a very bad idea in multiplayer) Boot your testing
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.