We can use signs on block for wires and say a simple line reading program with address lines code to a sign value. And same with data so we could have a full 8 bit ram as a file in the servers folders some where.
01-10-2014, 02:05 PM (This post was last modified: 01-10-2014, 05:35 PM by xdot.)
(01-09-2014, 09:35 PM)David Wrote: Can the plugin also read outputs? To get RAM adresses and such.
(01-09-2014, 10:17 PM)EvilDevil59NL Wrote: Getting signals from Minecraft to an external tool? Almost impossible.
It is actually pretty easy if you use command blocks.
EDIT: You can also just read the metadata of the block to determine whether the wire is powered or not. Should have thought of that earlier...
(01-09-2014, 09:44 PM)Chibill Wrote: We could try this but it would be a forge mod which normal clients can connect to so yeah with MCPC we could do this.
No need to modify the client/server. We are not extending minecraft, just "abusing" it.
(01-09-2014, 11:12 PM)WrytXander Wrote: To me, typing out your whole program in the chat and say like /run is amazing and I can not believe it is something that simple!
-snip-
Good work dot, I love it.!
Thanks! Another possibility would be to offer an online API, where users can upload and compile assembly code. (like the schematics API)
01-11-2014, 07:03 PM (This post was last modified: 01-11-2014, 07:03 PM by Iceglade.)
(01-10-2014, 02:05 PM)xdot Wrote: Another possibility would be to offer an online API, where users can upload and compile assembly code. (like the schematics API)
I think it would still be better to have a system where you could type commands through chat (or maybe command blocks, same thing). A possibility is to somehow save program data on something similar to /schems that can be loaded into a CPU at any time with say, a /program load command.
I would like to have a bukkit plugin.
Setup signs like
"[RS2IRL]" (Header)
"Key=042F" (Hex-Key to determine the user)
"Group=Test" (String to determine group)
"RX CLOCK" (Recieve on this sign, use as clock)
Whenever the Clock gets a flank-up it will flush all bits from the
other signs of the same group and send a TCP packet/chat packet to the User
A mod on the client side will catch the packet and resend it on loopback.
The user can use putty (if the cpu has the speed) or write an own IO Program