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

Gorzoid

Members
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by Gorzoid

  1. You can't access player inventory with just open computers, I believe Peripherals++ has a Player Interface component which allows you to interact with your inventory so you would need that installed, I think random things mod also had a block that acts as an ISidedInventory block for a players inventory.

  2. You kinda need give us more info, this post says almost nothing about what you are trying to do.

     

    so I can know what item it is because that number doesnt mean anything to me...

     

    item of what? if you mean a component then no the address is the only info you get on the component which you can see at the bottom of the item description.

     

    The function is returning an "object" but I cant find how  to convert it over to a string like yourmod:itemID...

     

    what function? "object" is not even a type in lua

     

    turning table to a string is just tostring(tbl) but I'm guessing that's not what you want...

  3. Is there any way to sleep until a signal is pushed? Atm I am using this:

    #define pullSignal(buffer) asm volatile(\
    	"1:\n\t"			\
    	"STC p3, c0, %0\n\t"	\
    	"BVS 1b \n\t"		\
    	::"m"(buffer))
    

    to wait for a signal but when I do that the emulator starts using 70% of my cpu while running. I tried using "MRC p3, 0, r0, cr2, cr0" like you do in the tetris but that gives same amount of lag.

     

    Also would it be easy to link libc so I can use strcmp and such? I tried linking the compiled objects in newlib but it gives the error

    arm-none-eabi-ld: error: ../newlib-jarm-build/libc/string/lib_a-strcmp.o uses VFP register arguments, bin/test.elf does not
    arm-none-eabi-ld: failed to merge target specific data of file ../newlib-jarm-build/libc/string/lib_a-strcmp.o
    

    would it work if I downloaded the GNU libc source code and compiled it with the same clang arguments?

  4. After I added -addrinfocmd, I never tested without it. Apparently the simulator has never functioned without it.

    I've made a new release of the simulator, 0.0a3a, that no longer has this bug.

    It was working, it just spammed that alot, I didn't notice anything bad happening because of it. I got my code working to print a few x's on the screen and got your lua bootloader working. I didn't use -addrinfocmd as I am using windows and I only have arm-none-eabi on my raspberry pi which I build the roms on. anyway, good to see your still active :)

  5. Has anyone done anything with them? When they came out I played with em a bit but I found them too much work to be of any use, going through each input to find out what does what and repeatedly eating more nano machines untill you find a set with good inputs. So does anyone use them and made program for em or are they just a forgotten feature now.

  6. How to destroy: drop in lava.

    How to wipe: shift right click(or just right click can't remember) and swap to unmanaged and back. I think you can also put it in crafting grid to wipe not sure tho

  7. World saves can be shipped with Resource packs as of 1.8 iirc and it automatically enables it. Should be much easier than what your planning here, the programs for modeling in for resource packs are much simpler and better than the one for open computers.

  8. @Gorzoid Is it possible for you, or me when I'm not feeling lazy, to modify this to use the Navigation Upgrade inside of a tablet? (If the Navigation Upgrade works in a tablet, I don't remember.)

    I think I actually made a test version of what you are talking about, I never finished it but if I may start up MC and try make it again, it would work alot better

  9. I first saw it in minecraft but I was not able to understand it, a bit later I started looking at the lua in garrys mod (and half life 2 mod with a lua framework) and that's when I started learning lua,  I mostly just read and if I did not understand what something meant I would look it up e.g. pairs() function.

  10. I believe that people are getting confused because of the name...

     

    The lowercase i in internet is intentional,  internet stands for inter-network, where as Internet (mind the uppercase I) is the name of the real world internet.

     

    What I want does not actually have anything to do with the real Internet. Far from it actually. The core idea is to allow a unified networking solution for programmers. A system that on the API side, sees a networking system, but on the data transmission side can see a network card, or a wireless network card, or a redstone card, or many other different data transmission mediums.

     

    Through the use of microcontrollers and eventually servers (If the ideas I've seen for OC 1.6 go through) I'd like to split apart networks, and have message flow managed between them.

    and as i said, use the real internet to do this, I once tried to do this with a php server, posting data to send with the address to send to, and then the php stores it until the other computer sends get request to it. the php worked and because i am lazy i never finished it. I never make finished projects, only proof of concepts

×
×
  • Create New...

Important Information

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