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

tromp_

Members
  • Content Count

    4
  • Joined

  • Last visited

About tromp_

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    RRKS101
  • GitHub
    https://github.com/RRKS101
  1. I dont think the io library is avaliable when writing your own operating system based of https://ocdoc.cil.li/tutorial:custom_oses I suspect you will need to create your own implementation that looks at keyboard and mouse events using computer.pullSignal(). I'd recommend creating your own implementation of the event library before you really worry about user input. I havent really gotten far enough into the development of my own OS to really help you through experience here but thats my speculation at least
  2. tromp_

    multiple screens

    would you be able to clarify what you mean? Do you mean duplicate what is drawn on one screen to other screens or have a second seperate screen that can 'extend' the first one?
  3. What you can do is perform all the calculations and then after computing the desired redstone states, you can then update all the states local states = {} -- Compute all your conditions and store the resulting state for future use if states.x < 5 then states.x = states.x + 1 else states.x = 0 end if states.y < 5 then states.y = states.y + 1 else states.y = 0 end Then you would just use something like component.redstone.setOutput(states) and this would then push your state to a redstone card. Please note that the above code will not work as setOutput e
  4. late reply and you have probably lost interest in this project but... you could use local writeTo = {} local ignoreDrives = {} -- If the address is contained within a list of drive addresses to be ignored, return false -- Otherwise return true. Used to filter out RAID arrays, local disks, or other floppies you do not wish to write to function filter(addr) return not ignoreDrives[addr] end -- Loop over all drives, and if they are not blacklisted add them to a list to write to for _,addr in pairs(component.list("filesystem")) do if filter(addr) then table.insert(writeTo, addr) end e
×
×
  • Create New...

Important Information

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