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


  • Content Count

  • Joined

  • Last visited

  • Days Won


tpzker last won the day on June 30

tpzker had the most liked content!

About tpzker

  • Rank
    Junior Member

Contact Methods

  • Minecraft
  • GitHub

Recent Profile Visitors

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

  1. Overview Hello there. Some of you may remember KLang. I decided that I should you know, actually work on it. Therefore, I present Triton/TritonLang. Triton is the continuation of KLang, a C++-styled programming language that compiles to Lua. I have no ETA on when it will be done as of the moment, but it is work in progress and I would possibly like to get feedback on my current project status. Hello, world! [Pseudocode] #include <io> int main() { io::info("Hello, world!"); return 0; } Advantages to Lua Headers/easily include libraries Statically and dynamically compiled libraries for programs C++-style syntax and easier OOP Helpful Links WIP Documentation GitHub Repository
  2. Hello there people. I created a program inspired by netcat. It works over wireless and wired networks. To get: -- To make sure /usr/bin exists mkdir /usr/bin/ pastebin get GrCPux9e /usr/bin/netcat.lua Basic usage: -- Sending side netcat [port] [file] -- Receiving side netcat -r [port] [file] The file parameter can be either a file on the system or a '-', which on the sending side will take in input from the console like OpenOS's cat. On the receiving side, '-' will print out received data to the console. -- Sending side netcat [port] - -- Entering text into the sending side will send it to the receiving side. You can end the transfer with Ctrl+D. -- Receiving side netcat -r [port] -
  3. This is a draft. The library, and an example of compatible software will be coded later. OIPCL or OIPC Any OIPCL-compatible software MUST use the core OIPCL library and MAY use auxiliary IPC libraries. Concepts Open Inter-Process Communication Library (OIPCL): The library which provides a wrapper for the IPC sockets. Socket: A file on the system which links two programs' communications. OC: Abbreviation for "OpenComputers" OS: Abbreviation for "Operating System" OpenOS: The stock OS for OC computers. Host: The program which is being linked to by a client. Client: The program linking to a host. Rationale Due to the limitations of OpenOS, modifications would have to be made to many parts of the code to allow IPC within the core of OpenOS. To standardize any possible IPC libraries, a specification has been made. Background programs (or daemons) can be started with a simple wrapper, such as this example code: thread.create(function() shell.execute(ENV, "/bin/daemon.lua") end) Host programs will be notified by an event, "oipcl_link_attempt", when a process is attempting to link to it. Host programs can use the OIPCL's function to link to the process attempting to link to it. Client programs can use the OIPCL's function to link to a background process which will automatically handle opening a socket and notifying the host. Socket Format A socket file is a Lua file which is processed by the host and the client through the OIPCL. It is a table containing a list of tables. The internal tables contain a string, "from", being either the host's specified name, or the client's specified name. They also contain a table, "messages", containing a list of strings. This allows a program to serialize any object into a message. For example: { { from = "client name", messages = {"EXEC", "/bin/script.lua"} }, { from = "host name", messages = {"EXIT", "0"} } } Socket Naming The socket files are be stored in /lib/oipcl along with the library file. They are named in this format: oipcl-socket.[client name].[host name].lua Socket Library The OIPCL has 2 functions. function linkToHost(clientName: string, hostName: string) -- will return a buffer that is a wrapper to the socket file function linkToClient(clientName: string) -- will return a buffer that is a wrapper to the socket file Signals oipcl_link_attempt(clientName: string, hostName: string)
  4. Hello there people! I created a BIOS-level bootloader that is based on the original Lua BIOS that implements a bootloader function. You simply press the number of the OS you would like to boot to from the list of recognized filesystems. The reason why I created this is that it is roughly 2,000 bytes shorter than OpenLoader's EEPROM. Here is the link: https://pastebin.com/ZazwseRP To install, insert the EEPROM you'd like to flash it to, and run: pastebin get ZazwseRP bios.lua flash bios.lua rm bios.lua If you have any problems, just reply and I'll attempt to fix it.
  • Create New...

Important Information

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