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

MeltingBrain

Members
  • Content Count

    31
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by MeltingBrain

  1. Seems like system specific, try some basic stuff like updating drivers etc that might help, if not then try updating Java, or maybe some antivirus might be interfering. Yes I know it sounds not so probable but sometimes basic checks can save you a Huston SOS
  2. @IlynPayne update the title, it's not staragte controller but stargate there's a typo. Brilliant idea, but if you allow me I'd like to implement it as a base program on my new os (totally not self-advertising). And by implement I mean to use some of your code into a new program that'd be dedicated for stargates and credited under your name just remade by me.
  3. With clever resource usage you could fit a lot into this little jewel, and you could keep modules virtually in memory instead of writing them to files, or make a mode where this could be an option, so when the system would boot up you just set all modules to nil so lua's garbage collection will clear them from memory. This could attract more people as the idea of my bootloader downloading something into my filesystem is not what I personally would like, but if it could download custom modules automatically at every startup that'd be great of an option. Of course it would slow down the startup, but making your BIOS configurable can fit many people's taste (I would prefer slow bootups rather than files on my drive). Also, (totally not self-advertising there) my kestrelOS will have a hibernation mode. Once I finish the manager, can you add support for fast bootups if a hibernation savefile is found on the system please?
  4. Just make two copies, one bios.lua being the original one with a very clear and user-friendly code, and a second one compressed using this site. That's how I could make a coloured user interface BIOS with of course ability to choose which file on what filesystem will be booted up, ability to flash bios from the bios menu itself and ability to get bios data into a file from the bios itself too, with the options to shutdown and reboot if necessary. Trust me, compressing the file will give you a lot more space for expansion.
  5. There are no tutorials of such, but it's definetly possible (MineOS is an operating system that is compatible with OpenOS and has a powerful user interface). Please read the wiki for more information on the topic. You'll need to search around the GPU api, as it's the api that allows you to draw on the screen, and get used to signals as it's the only way to get user input. Hope I helped
  6. Once you've got a computer properly setup with OpenOS on it (which you can get by crafting a Floppy Disk with OpenOS on it, crafting recipes may vary please check on your own), the first thing you'll get into is a terminal. This is just a basic tutorial on how to do what you're looking for (and there's no need for any compat modules from redpower to read vanilla minecraft redstone signals). Once you boot up your computer you should end up in the openos terminal window. First thing to do is open up a new script. To do so in OpenOS, type "edit" without quotes and then the name of your file, let's say redstone1 (it should look like this: edit redstone1) Once you press enter you'll get into editing mode. It's just like notepad you just type in the program and it will do whatever you desire. Now, in OpenOS, you can import external libraries that can help you with various things. In your case, we'll need to import few of them: local component = require("component") local sides = require("sides") This will set a new local variable (don't mind the local as of now), which will contain the component library and the sides library. Now, we can use the component library to access methods related to the redstone card you have in your computer. To do so, we must get a so-called component proxy to the redstone card. There's how it's done: local redstone = component.redstone What we must do now is determine which side do we want to detect the signal from. To do so, using the sides library we can pick a side: local side = sides.back This for example selects the 'back' side of the computer. Now, to get information about what redstone signal is in the back of the computer, we can do so: local signal = redstone.getInput(side) Finally, to draw the result on the screen, we can do so: print(signal) Finally, by pressing the combination of keys CTRL + S you can save your file, and CTRL + W to exit the editor. You can further use the signal variable in your program to whatever your needs are. Here's the fully assembled script: local component = require("component") local sides = require("sides") local redstone = component.redstone local side = sides.back local signal = redstone.getInput(side) print(signal) Hope I helped
  7. I was making my own BIOS, a tip I could give you is to use this website: https://mothereff.in/lua-minifier to compress your BIOS as much as possible into a single file
  8. KestrelOS GUI-based, Windows-alike, highly customizable, and safe Operating System for common pourposes What's the major GUI-based OS currently available? The amazing system created by Igor, called MineOS (I'm sure everyone by now knows about it). Igor's system is based on OpenOS, that looks like MacOS and is by itself the most amazing system released yet, with all sorts of programs and even 3D libraries which is mind blowing. So why create yet another GUI-based system? There are several reasons why I decided to take on this journey. First of all, the majority of OS's out there, including MineOS is based upon OpenOS, which makes it a bit streamline and boring, but also unsafe. KestrelOS is made entirely from scratch with it's own libraries, services and style. I wanted to create something new, that would give less freedom than OpenOS (which is KestrelOS's main disadvantage), over a much more secure way to process applications. I also wanted to make KestrelOS as simple as possible, so anyone that is familiar to Windows will recognize most of it's content. How exactly KestrelOS works? KestrelOS implements safety policy, where only so called "managers" have absolute control over the system's event management. The "heart" of the system is a manager called "taskman" (Task Manager). Every other manager is registered to taskman and is a read-only table with functions that cannot be altered once the system has booted up. This restrains a lot of freedom for the user, but also prevents malicious software of changing core functions of the system in order to spy or corrupt data. There is few core managers that will "steer" every process in the system, taskman being the most important one as it is the only library in the entire system that has access to a now unavailable command: computer.pullSignal This forces every application to register itself into taskman in order to be able to hook itself under the heartbeat. What is this weird "heartbeat" you're talking about? Taskman has a loop, in which it listens for any signal. I called it the heartbeat, because it waits only 0.25 of a second to update any tasks hooked under specific processes even if nothing happens. This allows multitasking, or for example updating the clock on the bottom-right of the screen What are the so-called "managers" doing? Those so-called managers are here to serve programs with several system services. For example, there's a manager called "driverman", which loads system drivers, which are usually a single library that communicates with a specified type of component. There's a driver for graphics, which is communicating with the GPU, but uses Igor's amazing double-buffering technique (although I made my own version of it from scratch, but it is very primitive right now) to draw into the screen. Drivers are basically bridges between gpu's, datacards etc. that make sure such a given component is available and return optimized methods to use those components better. Of course, every driver has it's own version, name, description, and can be retrieved manually from driverman using the driver id or name, in case you'd like to implement your own driver and use it. What other features it has? Well, most of the system features are actually the managers which act as the main "pillars" of the system. Here's few of main managers that I remember as of now (as I'm not on my home PC right now, I'm writing from my work PC): driverman - manages drivers fileman - manages mounts for different filesystems and resolves path using mounts taskman - heartbeat of the system, manages processes and tasks assigned to those processes regman - manages system's registry guiman - uses kgraphics driver from driverman to draw complex GUI elements on the screen ... (there's a few more that I can't remember now or that are under development) ... Any concerns/disadvantages? Well, like stated before, it actually restrains quite some core functions to prevent malicious application of accessing those in order to prevent system spying or corruption. This removes quite a lot of freedom, but once you log in and unlock everything, you should be able to edit that manually in the system files if you so desire. Any pictures? Well I'm on my work PC not at home so I can't do any pictures, what I can say is that most of the baseline managers are implement and that I'm working on the GUI now, so don't say hurray yet as I'm working on it. Sorry Release date? Undefined.
  9. Wrong place to post - please delete this thread (sorry).
  10. Is there anything unique you'd like to implement into your OS? As far as it goes OpenOS is the way to go, unless your OS would feature something unique and different, or maybe you'd have a special pourpose for your OS? Maybe some kind of OS that allows multitasking different services and that can be ran on servers? Please elaborate a bit more when you showcase a product that is in development :)
  11. I did the same thing, but with a sophisticated browser that has it's own GUI, and higher security. I'd love to cooperate with you, since you're into that kind of things!
×
×
  • Create New...

Important Information

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