Author Topic: Blockland Assembly Machine Code --- Computer bricks and events  (Read 7778 times)


Device initalizes the cpu by detecting all connected devices.
It only needs to be done once, unless you plug in new devices.
The ASM_COMMAND output events actually set the script/code for the particular cpu.
ASMdoLabel is basically JUMP but it can be started by say, a click.

The events on the device, just a 1x1F brick painted green, but there will be some prefab devices (such as graphics cards) that come with the mod.
Note, there will be more events for checking the input value, atm inputs don't take arguments.

Makes it "explode" each second.

When memory is accessed, you can see it.
The yellow blocks are the memory, the red is the cpu, the grey the wires.

There's a "discover harddrives" event too, it's on another brick, along with the start command.
You move and set and get variables with their addresses.
The CPU will figure out which harddrive the address is on.
(Note, at the moment each 'harddrive' has space for 8 values. There will be different size harddrives.)

The three parts atm.
More stuff like devices (motors, graphics cards) and other size harddrives will be available.

I'll make an actually informative topic when I release this, but at the moment I'm just working on a way to simulate computers.
It's complicated and complex on purpose. The idea is to see a computer at work, and if you want simple you can just make an actual script or events for whatever you want done.
« Last Edit: September 28, 2013, 02:37:42 PM by DrenDran »


Holy stuff! Whats that event GUI?

Lol, anyway.
I'm not a fan of these sort of events. If you can just make a computer in BL with a few lines of events and a few bricks, wheres the fun in making a computer? Its great for coding experience though.

I'm not getting what it does.
I'm also not getting why the event name contains "asm" if there is no asm

Holy stuff! Whats that event GUI?

Lol, anyway.
I'm not a fan of these sort of events. If you can just make a computer in BL with a few lines of events and a few bricks, wheres the fun in making a computer? Its great for coding experience though.
You actually can't make a computer in blockland though.
People have tried, but even with vce, the eventing system isn't turning-complete.
The best you get is stuffty and massive calculators that can hardly handle two didget numbers and take hours to make.

I'm not getting what it does.
I'm also not getting why the event name contains "asm" if there is no asm
It uses a "version" of assembly machine code.

Also, it has screens and graphics and such:


Click the buttons above the red brick to move the blue pointer up and down.
Real simple but it's an example.

You actually can't make a computer in blockland though.
People have tried, but even with vce, the eventing system isn't turning-complete.
The best you get is stuffty and massive calculators that can hardly handle two didget numbers and take hours to make.
Is that a challenge? :o

Anyway, awesome work dude. Loving this.

You actually can't make a computer in blockland though.
People have tried, but even with vce, the eventing system isn't turing-complete.
Do you have any proof of this?

Is that a challenge? :o

Anyway, awesome work dude. Loving this.
I'll be hosting a server with an updated version of this later today and for a while.
Do you have any proof of this?
I could find some some.
« Last Edit: September 30, 2013, 11:37:17 AM by DrenDran »

I could find some some.
Okay you normally make sense but this is what.

Okay you normally make sense but this is what.
I apologize my claim is as of yet unfounded.

Simply skimming the Wikipedia articles, it looks like events are Turing-complete. If we use VCE for if statements, functions, and variables, and relays/these events for goto, then wouldn't that make events Turing-complete? VCE allows us to test certain symbols and define a virtually infinite amount of variables, and if we add events like these that allow us to cycle through events, then it satisfies the conditions.

Of course, I may very well be wrong, so feel free to point out my stupidity.

Simply skimming the Wikipedia articles, it looks like events are Turing-complete. If we use VCE for if statements, functions, and variables, and relays/these events for goto, then wouldn't that make events Turing-complete? VCE allows us to test certain symbols and define a virtually infinite amount of variables, and if we add events like these that allow us to cycle through events, then it satisfies the conditions.

Of course, I may very well be wrong, so feel free to point out my stupidity.
Nah, I guess I was wrong, I thought I remembered things you couldn't do with it. (Since you know, there's never been a decent computer with it)
I guess this is just a different way of doing it designed to have a specific feel to it.
The one thing I think isn't in VCE that's in this is the ability to refer to variables by address.
So you can make arrays, strings, complex objects, stuff like that.

Also, I should update the OP with the screens and graphics cards and stuff I've added since I made this topic.
« Last Edit: September 30, 2013, 08:55:50 PM by DrenDran »

It's possible to emulate any brainforget code using events, and since brainforget is turing-complete, so are events.

It's possible to emulate any brainforget code using events, and since brainforget is turing-complete, so are events.
You've done that specifically?