Forums - Open Redstone Engineers
Post your Ctrl+V! - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Off-Topic Discussion (https://forum.openredstone.org/forum-5.html)
+---- Forum: Shenanigans (https://forum.openredstone.org/forum-31.html)
+---- Thread: Post your Ctrl+V! (/thread-122.html)

Pages: 1 2 3 4


RE: Post your Ctrl+V! - mad1231999 - 05-05-2013

babababababa
My CTRL-V:
SECTION .data
fopen_errm: db "Can't open", 0x0a
fopen_errl: equ $-fopen_errm

fread_errm: db "Can't read", 0x0a
fread_errl: equ $-fread_errm

dbg_msg: db "dbg msg", 0x0a
dbg_msg_l equ $-dbg_msg

SECTION .bss
code: resb 4096 ; reserve 4K for code
mem: resb 4096 ; reserve 4K for memory
mem_p: resw 1
curr: resw 1 ; reserve 16 bits for current index

SECTION .text
global _start

_start:
; initialise stuff
MOV word [curr], 0x00 ; start at 0
MOV word [mem_p], 0x00

; read file
open:
; open it
POP ebx ; argc
POP ebx ; arg #1 (executable name)
POP ebx ; arg #2 (filename)
MOV eax, 0x05
XOR ecx, ecx ; O_RDONLY = 0
XOR edx, edx ; mode is ignored when O_CREAT is not specified
INT 0x80

TEST eax, eax
JNS read
JMP fopen_err

; read into buffer
read:
MOV ebx, eax
MOV eax, 0x03
MOV ecx, code
MOV edx, 4096
INT 0x80

TEST eax, eax ; check for errors / EOF
JMP run_code ; if EOF, then write our buffer out.
; JS fread_err ; if read failed, we exit.

; we failed reading the file
fread_err:
MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, fread_errm
MOV edx, fread_errl
INT 0x80
JMP exit

fopen_err:
MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, fopen_errm
MOV edx, fopen_errl
INT 0x80
JMP exit

run_code:
loop_start:
MOVZX esi, word [curr]
CMP byte [code+esi], '+'
JE case_plus

CMP byte [code+esi], '-'
JE case_minus

CMP byte [code+esi], '>'
JE case_up

CMP byte [code+esi], '<'
JE case_down

CMP byte [code+esi], '.'
JE case_dot

CMP byte [code+esi], ','
JE case_comma

CMP byte [code+esi], '['
JE case_open

CMP byte [code+esi], ']'
JE case_close

JMP chk_loop ; was not a valid brainfuck char

case_plus:
MOVZX esi, word [mem_p]
ADD byte [mem+esi], 0x01

JMP chk_loop

case_minus:
MOVZX esi, word [mem_p]
SUB byte [mem+esi], 0x01

JMP chk_loop

case_up:
ADD word [mem_p], 0x01
JMP chk_loop

case_down:
SUB word [mem_p], 0x01
JMP chk_loop

case_dot:
MOV eax, 0x04
MOV ebx, 0x01
MOVZX esi, word [mem_p]
ADD esi, mem
MOV ecx, esi
MOV edx, 0x01
INT 0x80
JMP chk_loop

case_comma:
MOV eax, 0x03
MOV ebx, 0x01
MOVZX esi, word [mem_p]
ADD esi, mem
MOV ecx, esi
MOV edx, 0x01
INT 0x80

; flush
PUSH ecx
MOV eax, 0x03
MOV ebx, 0x01
MOV ecx, esp
MOV edx, 0x01
INT 0x80
POP ecx

case_open:
MOVZX esi, word [mem_p]
ADD esi, mem
CMP word [esi], 0x00
JE skip_loop
JMP chk_loop

skip_loop:
PUSH 0x00 ; loop depth
XOR ebp, ebp
MOV bp, word [curr]

skiploop_it:
ADD ebp, 0x01
MOV esi, ebp
ADD esi, code
CMP byte [esi], '['
JE skiploop_inc_d
CMP byte [esi], ']'
JE skiploop_dec_d

skiploop_inc_d:
ADD word [esp], 0x01
JMP skiploop_chk

skiploop_dec_d:
SUB word [esp], 0x01
CMP word [esp], 0x00
JLE skiploop_done
JMP skiploop_chk

skiploop_chk:
CMP ebp, 4096
JL skiploop_it

skiploop_done:
MOV eax, ebp
SUB ax, word [curr]
ADD word [curr], ax
ADD word [curr], 0x01

JMP chk_loop

case_close:
XOR esi, esi
MOVZX esi, word [mem_p]

ADD esi, mem

MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, esi
MOV edx, 0x01
INT 0x80

SUB esi, mem


CMP byte [mem+esi], 0x00
JE chk_loop

XOR ebp, ebp
MOV bp, word [curr]

revert_loop:
SUB ebp, 0x01
MOV esi, ebp
ADD esi, code

MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, esi
MOV edx, 0x01
;INT 0x80

PUSH 0x0a
MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, esp
MOV edx, 0x01
INT 0x80
POP ecx



CMP byte [esi], '['
JE revert_done

revertloop_chk:
CMP ebp, 0x01
JG revert_loop
JMP chk_loop

revert_done:
MOV eax, 0x04
MOV ebx, 0x01
MOV ecx, dbg_msg
MOV edx, dbg_msg_l
;INT 0x80

MOV eax, [curr]
SUB eax, ebp
MOV word [curr], ax

chk_loop:
ADD word [curr], 0x01
CMP word [curr], 4096
JNE loop_start

exit:
MOV eax, 0x04
MOV ebx, 0x01
PUSH 0x0a
MOV ecx, esp
MOV edx, 0x01
INT 0x80
POP ecx

MOV eax, 0x01
MOV ebx, 0x00
INT 0x80


RE: Post your Ctrl+V! - seankingman - 05-05-2013

http://www.youtube.com/watch?v=abv4Fz7oNr0


RE: Post your Ctrl+V! - newomaster - 05-07-2013

https://www.youtube.com/watch?v=fG9F9hYz5_E

This is a really cool song Big Grin


RE: Post your Ctrl+V! - JeremyG - 05-08-2013

http://i.imgur.com/sJ8nGyv.png

I had to show someone this on /r/redstone when he/she made a much bigger design.


RE: Post your Ctrl+V! - Nickster258 - 05-09-2013

INGREDIENTS

1 cup baking soda. The baking soda soaks up the oils, excess dander, and dirt on the dog’s skin and coat. The oils and dirt are the culprits making your favorite furry kid smelly and don’t always require the hassle of soap and water to get rid of them.
1 cup cornstarch. This might seem redundant, but cornstarch is just another weapon to remove the stink and moisture from your dog’s coat. Cornstarch plays double-duty because it also makes your dog’s coat lustrous and shiny.
3 to 5 drops lavender essential oil. Look for the oil at your neighborhood dollar store or raid a crafty friend’s closet before purchasing this otherwise-unnecessary-for-everyday-life ingredient. The lavender oil smells great and helps naturally protect your dogs against fleas.
DIRECTIONS

1. Mix the ingredient together in a new plastic storage bowl. Avoid the temptation to reuse a bowl previously filled with last night’s leftovers to prevent transferring any lingering odors to your pet. Poke a few holes in the bowl’s matching plastic lid to create a make-shift sprinkler.

2.If weather permits, use the dry shampoo outdoors on a patio or other hard surface. The dry shampoo is a little messy, but well worth the money and hassle you’ll save by skipping a grooming appointment. If you can’t go outside, set your smaller dog into a large cardboard box to cut down on clean-up time by isolating the mess. Bigger dogs obviously require more space. To cut down on the mess, cover a non-carpeted area with newspaper.

3. Remove any clumps of matted fur, snarls and dead hair with your dog’s regular grooming brush or an old hairbrush you’ve slated for the garbage. Sprinkle a healthy amount of the dry shampoo over your pooch and work it through his coat with your fingers. Let the shampoo sit for around five minutes before working the brush through your dog’s fur to remove the bulk of the dry shampoo mixture. This gives it time to soak up the oils and odors from his skin and fur.

4. Between the dog’s natural shaking motion — which shouldn’t be discouraged because this is his way of keeping the product out of his ears, eyes and nose — and a final rub down with an old towel, the dry shampoo will be eliminated.

5. Once you’re done simply let the dog go, pick up the newspapers and throw them into the trash. No water. No wet dog trail throughout the house. Heavenly smelling dog without the arduous clean-up. How can you go wrong with this?

(Ok, this is a family computer... not sure what I was expecting)


RE: Post your Ctrl+V! - EDevil - 05-09-2013

fine, fine

The term "RAID" was first defined by David Patterson, Garth A. Gibson, and Randy Katz at the University of California, Berkeley in 1987.[3] Marketers representing industry RAID manufacturers later attempted to reinvent the term to describe a redundant array of independent disks as a means of disassociating a low-cost expectation from RAID technology.[4][5]


RE: Post your Ctrl+V! - Malcolmforde - 05-10-2013

http://cloudsdale.org

I was talking to some peeps there.


RE: Post your Ctrl+V! - Chibill - 07-22-2013

http://www.youtube.com/user/MyMineCraftTech


RE: Post your Ctrl+V! - Billman555555 - 07-23-2013

Here goes:

Code:
SAC IS

AAAAAABBBBBBCCCCDDDEEEFFFGGGGGGGGHH

A: Jump
B: Branch
C: Flag
D: GPR Save
E: GPR Load 1
F: GPR Load 2
G: Command
H: Command type



RE: Post your Ctrl+V! - Xeomorpher - 07-23-2013

#######################################################################################################
##+++++++++++ # # # # # # # # # # # # # ##
## # # # ###+### # # # ##### # ### ### ####### # # ####### ### # ##### ### # # ### ### ############# ##
## # # # #+ # # # # # # # # # # # # # # # # # ##
## # # # # #+### # # # # ####### ### ### # # ############### ### # ### ### # ##### # ######### ### ####
## # # # # #+ # # # # # # # # # # # # # # # # # ##
## # # # # #+### ### ##### ####### ########### # # ##### ### # ########### ##### ### ########### ######
## # # # # #+ # # # # # # # # # # # # # ##
## # ### # #+# # ####### ####### # ### ##### ################# ##### ####### # ### # # ##### # ########
## # # # #+# # # # # # # # # # # # # # # # # # # # # ##
## ### # # #+### ######### ######### ### # # ##### ##### # ### ##### # # ######### ### ### # ##########
## # # # #+ # # # # # # # # # # # # # ##
## # # # # #+# # # ##### ########### ########### ################# ### # # ### # ### ### # # ### ######
## # # # # #+# # # # # # # # # # # # # # # # # # ##
## ### # # #+### ##### ######################### ##### # # ############# ### # ### ############# ######
## # # # #+ # # # # # # # # # # # # # # # # ##
######## # #+# ##### ### ######### ##### ############# ##### # ### # ### ### # ########### # ####### ##
## # #+# # # # # # # # # # # # # # # # # # # # ##
######## ###+##### ### ######### ### # ##### # # ### ### # ######### # # # # ######### # # # # ##### ##
## # +++ # # # # # # # # # # # # # # # # ##
#### # #######+############### ####### ### # ### ############# # # # ### # ######### ########### ######
## # # +++++++++ # # # # ##
## ### ##### # # # # #+######### ### # ##################### # ######### ### # ########### # # ### # ##
## # # # # # # #+++++++# # # # # # # # # # # # # # # ##
## ####### ### # # # # #####+# ####### ######### # ##### ####### # ### # # ### ######### ########### ##
## # # # # # # #+++ # # # # # # # # # # # # # # # ##
#### ### ### # # # # ##### ###+####### ##### # ##### # ### ##### ##### ### ##### # ##### ### ### ######
## # # # # # # # # #+++ # # # # # # # # # # # # # ##
## ### ##### ##### # # # # ### #+####### ####### # # # ##### # ############# ### # ### ############# ##
## # # # # # # # #+ # # # # # # # # # # ##
## ### # ### # # ### ####### ###+##### ################### # ### # ##### ######### # ##### ######### ##
## # # # # # # # #+++++# # # # # # # # # # # # ##
######## ### ######### # ##### # # #+##### # # # # # ####### # ############### # ######################
## # # # # # # #+ # # # # # # # ##
#### ### ### ### # # ### ####### ###+# ### ################# ######### ### ##### ### # ### ### ##### ##
## # # # # # # # # +# # # # # # # # # # # ##
## ### ### # # ### # ### ##### # # #+# # ### # ########### ############# ############### ### # ########
## # # # # # # # # # # #+# # # # # # # # # # # ##
## # # ### # # ### ### # ###########+# ##### ########### ##### ##### # ##################### ##### # ##
## # # # # # # # # #+++++# # # # # # # # # # ##
## # # ### ######### # # ### ###+# ##### # # ##### ### ##### ### ### ############# ##### ##### ########
## # # # # # # # # #+# # # # # # # # # # ##
## # ### ####### ### ### ### ###+##### # ### # # ##### # ### ### # ####### # # ######### # ##### # ####
## # # # # # #+ # # # # # # # # # # # # # # # # ##
## ### # # # ##### ### # ### # #+### ##### ### ### # # ##### ### ### # ##### ### # # ### ####### ### ##
## # # # # # # # # # #+ # # # # # # # # # # # # # # # # # # # # ##
## # # # # ####### # # ##### # #+# ### ##### ### ##### ### # ##### # # ####### # ####### ### ##### ####
## # # # # # # # # # #+# # # # # # # # # # # # ##
###### # # # # ##### ### #######+### ##### ### ### # # # ### ##### ### ##### # ### ### ####### # # ####
## # # # # # # #+++# # # # # # # # # # # # # # # # # # ##
#### ####### ####### ####### # # #+##### ############# ### # ####### # # # # # ############# ####### ##
## # # # # # # #+++++# # # # # # # # # # # # # ##
## ### # ### ### ##### # ##### # # # #+##### ### ####### # ### # ####### # # # # ##### ### ############
## # # # # # # # # # # # #+ # # # # # # # # # # # # # ##
## # ####### # # ####### # # ### ### #+############### # ### # ### # # # # ### # # # ### ##############
## # # # # # # # # #+++++ # # # # # # # # # # # ##
## # ####### ##### ######### # # # # # ###+############# ######### ### # # # ### ########### ####### ##
## # # # # # # # # #+++ # # # # # # # # # # # ##
#### # # # # # # # ######### # # # ### # # #+####### ### ### # # ### ######### ####### ####### ##### ##
## # # # # # # # # # # # # # # #+++ # # # # # # # # ##
## # # ### # # # # # # # ############# ### # #+### ### # # # ### # ####### # ### # ########### ### ####
## # # # # # # # # # # # # # # # #+# # # # # # # # # # # # # ##
## # ### ### # # ### # ### # # # # ###########+# ### ########### ### # # # # ### # ####### # ### ### ##
## # # # # # # # # # # # #+# # # # # # # # # # # # # # # ##
## ####### ### # ######### ### ############# #+####### ### ####### # ### ##### ############### ### # ##
## # # # # # # # # # #+++++ # # # # # # # # # # # # # ##
## ### ##### ### ### # # ### # ########### # #####+### # # # # # # # ##### # ### ##### ### ##### ### ##
## # # # # # # # #+++ # # # # # # # # # # # # ##
## # ### # ####### ### ### ######### # ### # # ### #+########################### ####### # ### ##### ##
## # # # # # # # # # # # #+++++++++++# # # # # ##
#### ### # ### # # # # ##### ##### # # ### # ##### ##### #####+# ### # ### ##### ##### # ########### ##
## # # # # # # # # # # # # # # # # # +++++# # # # # # # # # ##
## ### ##### # ### ##### ### ### ############# ########### ### # #+# ######### ### # ### ##### # # ####
## # # # # # # # # # # # #+# # # # # # # ##
#### ### ### # # # # # # # # # ### ####### # # # ####### # ### # #+##### ####### ##### # # ############
## # # # # # # # # # # # # # # # # # # # # #+++++ # # # # # ##
## ### ### # ####### # ### ### # ######### ##### # ######### # # #####+################### ### # ######
## # # # # # # # # # # # # # #+++++++++ # # # ##
## # # # ### # # ### # # ### ##### # ####### ### # # # ### # # ##### # # #####+####### # # ##### # ####
## # # # # # # # # # # # # # # # # # # # # # # # # # +++++++ # # # # ##
## # # ##### # ### # ##### ### # # # ### ### # ####### # # ### ### ### ### ##### # #+######### ########
## # # # # # # # # # # # # # # # # # # # # # # #+++++# # # ##
## # # ##### ### # # # ### # # ### # # ############# ##### # # # # # # # # ####### # # #+# # ### # ####
## # # # # # # # # # # # # # # # # # # # # # # # # # # # #+ # # ##
## ### # ### # # ### ### ### # ##### ### ### # # ####### # ### ### # # # ### # ##### # #+# ### ########
## # # # # # # # # # # # # # # # # # # # # # # # # # # #+# # # ##
## ##### ##### # # ### # # # ### # # # # ######### # ####### # ####### # # # # ### ### #+##### # ######
## # # # # # # # # # # # # # # # # # # # # # # # #+++++++++++++##
## # ### ### ### # ### # # ##### ### # # # # # ##### ##### ### ### ### # ##### # ### # # ### # #####+##
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +##
## ##### ######### ### # # ####### ##### ### ####### # # # ### # # # ######### ### ### # # # # # # #+##
## # # # # # # # # # # # # # # # # # # # # # # # # # #+##
## # # # # # ### ### ##### # ### ######### # # ### ##### ### ### ### # # # # ### ### # ### # # # ###+##
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # #+##
## ### ### ### # ### # # # ##### # ####### ##### # ####### # # # # # # # ##### ######### # ### # ###+##
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # +##
## ##### # # ##### ##### ##### # ### # ##### ### # # # # ##### # # ##### ### # # ### # # ### ##### #+##
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # #+##
## ### # ### ### ### # ### # ### ####### ##### ##### ##### ##### # ##### # ### ######### # ####### #+##
## # # # # # # # # # # # # # # # # # # # #+F#
#######################################################################################################
My ctrl V is big.