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

Izaya

Members
  • Content Count

    50
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Izaya

  1. IP is a fairly complicated protocol - for good reasons, but OC handles a lot of stuff for you. If you want IP, I'd consider the network loot disk, though I'm not sure how well it works nowadays. If you're still set on implementing IPv4, I'd you'll need to look at the RFCs for IPv4 and TCP. I'd instead consider Minitel, given it has both something like TCP and HTTP (more like Gopher but whatever), as well as a reasonable routing system, but I suppose I am biased.
  2. The actual Lua interpreter in OC is probably faster than ComputerCraft - OpenComputers Lua is running natively most of the time, whereas ComputerCraft is running an interpreter written in Java. That said, the performance hit you're describing is due to the limit on component calls. This is due to the fact that you can only do one component call per tick, for server performance reasons (Don't get me started on CC and server performance...). You can make them faster with the help of another mod, I believe it's Magic Bees, which adds a number of species of bees that manipulate how many ticks occur for blocks around a hive, making computers able to access components faster.
  3. The executable search path is defined in the PATH environment variable, try running 'echo $PATH' in the shell. You can add to that with 'export PATH=$PATH:/whereever' I think.
  4. Minitel is a simple, efficient networking protocol implementing layers 3, 4 and 5 of the OSI model. It supports automatic configuration and routing over large and small networks. This topic contains links to all known Minitel protocols. Core protocols (OSI layers 3 through 5): protocol-3.md - describes the format of Minitel packets and basic behavior of each node. protocol-4.md - describes how ordered sequences of packets should be handled. protocol-5.md - describes how Minitel's bidirectional streams work Application layer protocols: FRequest - a simple file retrieval protocol MMail - simple mail delivery protocol If you wish to have a protocol added to this list, post it here.
  5. vTunnel can be used to add bridging over the internet to any existing OpenOS software that uses linked cards. Despite originally being written for Minitel, vTunnel implements a fully-functional linked card emulator and a server that will run under most unix-likes (OpenBSD is currently somewhat flaky, Linux is recommended). You can see a demo of it being used with Minitel and peruse the page on Github. Install it with oppm: oppm install vtunnel
  6. Using redstone should work for that - have a timer/clock hooked up to the computer, and use redstone.setWakeThreshold so that if the computer isn't turned on, it will be every x amount of time.
  7. As the MultICE networking stack just gained support, I'd like to reserve protocol 0x1000 (4096). I'll note it uses broadcasts for its stuff though.
  8. Izaya

    skex-BIOS

    Well, v0.1.2 is out. The bug you mentioned is probably accidentally fixed. I changed the buffer and line number to be global rather than local, in order to support read and write to/from the EEPROM and to/from the buffer. There's snippets for abusing this feature on the project page. I'm really happy I could help you, not often someone tells you thanks for something. Oh yeah, I incorporated your changes to the client program, too. There will be improvements to it soon, but I'd like to make the EEPROM-resident capible of supporting identification of some kind. Anyway, enjoy.
  9. Izaya

    skex-BIOS

    As drones have recently been released (ie latest dev build), it became apparent that there needed to be an OS that is even more embedded than MiniOS. Even more embedded than MicrOS. This has been done. I present to you: skex-BIOS skex-BIOS is a port of my not-very-popular line editor skex (ShadowKat Editor eXpanded, the sequel to sked) to fit into an EEPROM and be accessible over a network. skex-BIOS uses some code Sangar posted for controlling robots, mainly the I/O and client program for OpenOS, but with far more functionality: on the remote end, you have a full line editor that can execute code from the buffer, the ability to re-flash the EEPROM for updates or permenant deployment of a program, and on the client-side, you have a non-blocking remote terminal that allows you to have multiple lines of text coming across your link. A note though, in this state there is no security at all on the link, so someone could easily hijack your drone or microcontroller (Oh no, he's stolen the router!). Plan accordingly, especially change the port used. Anyway, you can find skex-BIOS at my site: http://shadowkat.tk/projects/skex-BIOS/
×
×
  • Create New...

Important Information

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