SHENZHEN I/O

SHENZHEN I/O

78 ratings
不使用 @、gen 的指南 / walkthroughs without using @ or gen
By XuLYC
相当一部分解决方案抄自这里
全部的解决方案都修改为不使用 @、gen 了,因为它们没有出现在目前版本(Ver 3.2)的说明书中

Many solutions are copied from here
All the solutions are not using @ or gen, cause they are not showing up in the latest manual (Ver 3.2)
   
Award
Favorite
Favorited
Unfavorite
1. FAKE SURVEILLANCE CAMERA
6-60-12

mov 0 p0 slp 6 mov 100 p0 slp 6 # why is this # so hard? :(
mov 0 p0 slp 4 mov 100 p0 slp 2 mov 0 p0 slp 1 mov 100 p0 slp 1
2. CONTROL SIGNAL AMPLIFIER
3-240-4

mov p0 acc mul 2 mov acc p1 slp 1
3. DIAGNOSTIC PULSE GENERATOR
3-164-5

teq p0 100 + mov 100 p1 + slp 1 mov 0 p1 slp 1
4. ANIMATED ESPORTS SIGN
8-126-12

mov 100 p0 slp 1 mov 0 p0 slp 1
mov 1 x1 slp 6 mov 10 x1 slp 1 mov 100 x1 slp 2 mov 10 x1 slp 1
5. DRINKING GAME SCOREKEEPER
3-323-8

teq p1 100 + add 1 teq p0 100 + sub 2 tlt acc 0 + mov 0 acc mov acc x1 slp 1
6. HARMONIC MAXIMIZATION ENGINE
4-310-6

teq x0 10 mov p0 acc + mul 4 + sub 150 mov acc p1 slp 1
7. PASSIVE INFRARED SENSOR
6-302-8

teq p1 x0 + mov 10 acc teq p1 x1 + mov 0 acc tgt p0 19 + mov acc x3 - mov 0 x3 slp 1
8. VIRTUAL REALITY BUZZER
5-226-10

off: teq x0 1 - mov 0 p1 - slp 1 - jmp off + mov 0 acc on: teq x0 0 - not - mov acc p1 - slp 1 - jmp on
9. WIRLESS GAME CONTROLLER
8-204-8

teq x0 -1 + mov p0 x1 + mov p1 x1 + mov 0 acc + dst x3 2 + add x2 + mov acc x1 slp 1
10. LASER TAG EQUIPMENT
9-495-16

dead: teq p0 0 - mov 100 x1 slp 1 + jmp dead alive: teq p1 0 - mov 0 x1 slp 1 + jmp alive
teq p1 100 + mov x1 acc tgt acc 0 + teq p0 100 + mov 100 x0 + sub 1 - mov 0 x0 slp 1
11. COLOR-CHANGING VAPE PEN
6-262-18

mov x0 acc teq acc -999 - mov x0 x1 - mov x0 p0 - mov acc p1 - slx x1 - teq x1 0 - mov p0 p1 slp 1
slx x1 mov x1 p1 nop mov x0 acc teq acc 999 + mov 0 x1 - slp acc - mov 1 x1 - mov 0 p1
12. UNKNOWN OPTIMIZATION DEVICE
6-705-14

tgt p1 39 + tlt p1 80 + tgt p0 39 + tlt p0 80 + mov 50 x1 - mov 0 x1 slp 1
tgt p0 19 + tlt p0 60 + mov 0 acc - mov 30 acc add x0 mov acc p1 slp 1
13. TOKEN-BASED PAYMENT KIOSK
14-331-33

teq x1 0 + jmp stay tcp x1 10 add 5 - sub 4 + add 7 tlt acc x0 - sub x0 - mov acc x3 - mov 0 acc - mov 100 p1 - slp 4 - mov 0 p1 stay: slp 1
slx x0 mov x0 acc 5: tgt acc 4 + sub 5 + mov 100 p1 + slp 1 + mov 0 p1 + slp 1 + jmp 5 - mov acc x2
slx x0 mov x0 acc 1: tgt acc 0 + sub 1 + mov 100 p1 + slp 1 + mov 0 p1 + slp 1 + jmp 1
14. PERSONAL SANDWICH MAKER
11-100-26

slx x1 mov x1 acc mov 100 p1 slp 1 mov 0 p1 mov 100 x3 slp 1 mov 0 x3 teq acc 2 - mov 10 x3 - slp 1 - mov 0 x3 mov acc x2
slx x0 mov x0 acc teq acc 3 mov 1 x3 slp 1 + slp 1 mov 0 x3 mov 100 p1 slp 1 mov 0 p1 mov 100 p0 slp 3 mov 0 p0
15. CARBINE TARGET ILLUMINATOR
9-224-14

s:mov x0 dat teq dat 1 + mov 0 acc slp 1 - jmp s a:mov x0 dat teq dat 10 + mul 2 + mov acc x3 + mov x2 p1 + mov x2 x1 slp 1 - add 1 - jmp a
16. HAUNTED DOLL
9-215-14

teq p0 1 1: + mov x0 p1 + tgt x1 0 + slp 1 + jmp 1 - teq p0 2 2: + mov x2 p1 + tgt x3 0 + slp 1 + jmp 2 - mov 50 p1 3: slp 1 tgt p0 2 + jmp 3
17. AQUAPONICS MAINTENANCE ROBOT
10-190-28

mov 50 p1 slx x0 mov x0 dat move: tcp dat acc + add 1 + mov 100 p1 - sub 1 - mov 0 p1 slp 1 mov 50 p1 slp 1 teq acc dat - jmp move mov dat x0
sleep: mov x1 acc teq acc -999 + slp 1 + jmp sleep teq acc dat - mov acc x0 - slx x0 - mov x0 dat mov 100 p1 slp x1 mov 100 p0 mov 0 p1 slp x1 mov 0 p0
18. REMOTE KILL SWITCH
9-465-19

mov x0 dat add 1 teq acc 5 + mov -1 x3 teq dat -999 - mov 0 acc + jmp s teq dat -1 - mov dat x3 - mov x0 x3 s:slp 1
slx x0 tcp x0 0 - mov 0 acc - jmp e + dst x0 1 + jmp e dst x0 0 e:mov acc x1
19. SMART GRID CONTROL ROUTER
5-298-10

1: slx x0 mov x0 acc tgt acc 100 + mov acc dat tcp dat x3 - mov acc x1 - jmp 1 + mov acc x3 + jmp 1 mov acc x2
20. POCKET I CHING ORACLE
12-274-23

slx x3 mov x3 null mov 0 acc teq p1 100 + dst 0 1 slp 1 teq p1 100 + dst 1 1 slp 1 teq p1 100 + dst 2 1 mov acc x3
s:teq p1 0 + slp 1 + jmp s mov null x1 slp 2 mov x1 dat slp 1 mov 100 x1 slp 2 mov x1 x3 mov dat x2
21. PRECISION FOOD SCALE
5-426-14

teq p0 0 jmp off on:teq p0 100 + mov acc dat tlt dat 0 + mov 0 dat teq p0 100 + teq acc 0 + mov -999 x3 mov p1 acc sub dat off:- mov acc x3 slp 1 - jmp on
22. CRYPTOCURRENCY DEPOSIT TERMINAL
14-886-30

r:mov x0 acc tcp acc -1 - jmp s + mov acc x2 + jmp r mov 0 x3 mov 100 x1 s:-mov 0 x1 slp 1
r:slx x0 teq x0 100 + jmp w teq x1 0 + jmp r teq x1 1 + add 20 teq x1 10 + add 50 teq x1 100 + add 100 jmp r w:mov acc x3 mov 0 acc
slx x2 mov x2 acc w:teq x1 8 - mov x0 x3 - jmp w mov acc x3 mov 0 x1
23. POLLUTION-SENSING SMART WINDOW
7-322-9

mov 8 x1 l:add p0 mov p0 x0 sub x3 tgt acc 399 + mov 0 p1 - mov 100 p1 slp 1 jmp l
24. TRAFFIC SIGNAL
9-825-21

s:slx x2 mov x2 acc l:sub x0 tgt acc 0 - mov 100 x2 - jmp s sub x1 tgt acc 0 - mov 10 x2 - jmp s sub x3 tgt acc 0 - mov 1 x2 + jmp l
teq p0 100 + mov 0 acc + mov 0 x1 - add 1 - mov acc x0 - mov x0 x1 slp 1
25. MEAT-BASED PRINTER
11-142-19

slx x0 mov x0 x1 mov 100 p1 slp 7 mov 0 p1
s:slx x3 tcp x3 2 + mov 11 x2 + slp 7 + mov 0 x2 + jmp s mov 7 x1 - mov 0 x1 l:mov x0 x2 slp 1 teq x1 7 - teq x1 0 - jmp l mov 0 x2
26. ELECTRONIC DOOR LOCK
12-516-27

s:slx x0 teq p0 100 - jmp r + mov 0 x3 w:+ mov x0 x2 + tlt x3 10 + jmp w jmp s r:mov 10 acc l:sub 1 mov x0 x1 teq acc 0 - jmp l
s:slx x2 mov 0 acc mov 0 x1 l:mov x2 dat teq dat x0 - dst 0 1 teq dat 9 - dst 1 1 teq x1 10 - jmp l teq acc 11 - mov 100 p1 - slp 6 - mov 0 p1
27. DEEP SEA SENSOR GRID
10-660-20

mov 2 acc s:add 2 mov p1 x2 mov p0 x2 teq x0 x1 - jmp e teq x0 2 + add 1 mov acc x3 + sub 1 e:slp 1 jmp s
slx x2 mov 6 acc mov x2 x1 l:sub 1 mov x0 x3 mov x0 null teq acc 0 - jmp l
28. SPOILER BLOCKING HEADPHONES
11-1142-23

mov x0 acc teq acc -999 + jmp s mov 0 x3 mov x0 dat l:teq acc x2 - mov x2 null + teq dat x2 + mov 1 x1 + jmp e teq x3 12 - jmp l s:mov 0 x1 e:slp 1
off:teq x1 1 - mov p0 p1 + mov 50 p1 on:slp 1 - jmp off mov x1 null teq x0 0 - mov p0 p1 jmp on
29. COLOR COORDINATING SHOES
23-973-44

teq p1 0 + jmp s mov p0 acc dgt 1 teq acc 2 + mov 3 acc mov acc dat mov dat x3 mov x2 acc add 1 mov dat x3 mov acc x2 s:slp 1
slx x2 mov x2 x0 l:mov 0 x1 teq x0 9 - jmp l
slx x2 mov x2 x1 1:mov x0 dat tgt dat acc + mov dat acc teq x1 9 - jmp 1 mov 3 x1 2:teq x0 acc + mov x1 x2 - jmp 2 mov 0 acc mov 3 x3
mov 50 p1 mov 50 p0 off:teq x3 0 on:slp 1 + jmp off teq x3 0 + mov 3 x2 + mov x2 acc + mul 2 + mov acc x1 + mov x0 p1 + mov x0 p0 jmp on
30. AIRLINE COCKTAIL MIXER
15-148-17

slx x0 mov x0 acc mul 2 mov acc x3 mov acc x2
slx x1 mov x1 x3 l:mov x2 x0 slp x2 teq x3 6 + jmp l mov 0 x0
slx x0 mov x0 x3 mov x2 x1 slp x2 mov 0 x1
31. SAFETYNET TRACKING BADGE
12-465-25

teq p0 0 + jmp s mov p1 acc tlt p0 51 + add 1 tgt p0 79 + mov 100 dat - mov acc x1 - mov x0 dat s:teq x3 1 + mov dat x2 slp 1
teq x2 1 + mov x2 acc l:+ mov x2 p1 + mov null x1 + sub 1 + slp 1 + tgt acc 0 + jmp l - mov 50 p1 - teq x0 x2 + mov 1 x1 - mov 0 x1 slp 1
1. COLD STORAGE ROBOT
19-372-46

tcp x1 1 - jmp s mov 0 dat + mov x1 dat mov 0 x3 l:teq dat x2 - jmp l mov x3 x0 tgt dat 0 + mov 0 acc - mov x1 acc mov acc x0 mov acc x0 s:slp 1
mov 50 p1 slx x3 mov x3 acc tgt x3 0 mov x3 dat + mov dat x2 + slp 2 mov 100 p1 slp acc mov 50 p1 - mov dat x2 slp 2 mov 0 p1 slp acc
slx x3 mov x3 acc mov acc x2 sub 1 mov acc x1 mov x3 x2 add 2 mov acc x2 mov x3 x0
slx x1 mov x1 acc mov 100 x2 slp 1 mov 10 x2 slp acc mov 110 x2 slp 1 mov 0 x2
2. SCIENTIFIC CHRONOMETER
15-438-40

s:slx x3 mov x3 acc l:mov acc x2 slp 1 teq p1 100 + mov acc x3 + jmp s teq p0 100 - jmp l teq acc 0 - mov 0 acc - jmp l + mov -1 x3 + mov -999 x2
teq p1 100 - jmp s 2:mov acc x1 slx x1 mov x1 acc teq acc -1 + mov 0 acc + jmp s 1:mov acc x3 slx x3 mov x3 acc jmp 2 s:slp 1
s:slx x1 mov x1 acc mov 0 dat l:slp 1 teq dat 1 + mov 0 dat + add 1 - mov 1 dat mov acc x3 teq p1 100 + mov acc x1 + jmp s jmp l
3. AUTOMATIC PET FEEDER
VER 1: 16-1054-35

mov x0 acc mov acc x1 mov acc x2 mov acc x3 slp 1
slx x1 sub 1 teq x1 1 + tlt acc 1 + mov x0 acc + mov 0 x2 + mov x3 x2
slx x0 sub 1 teq x0 2 + tlt acc 1 + mov x1 acc + mov 1 x3 + mov x2 x3
slx x0 sub 1 teq x0 3 + tlt acc 1 + mov x1 acc + mov 2 x3 + mov x2 x3
slx x0 mov x1 acc dgt x0 teq acc 0 + mov x0 p1 - mov x0 p0 slp 1 + mov 0 p1 - mov 0 p0

VER 2: 18-739-42

mov x0 dat add 1 teq dat 1 + mov acc x3 + mov acc x3 teq dat 2 + mov acc x2 + mov acc x2 teq dat 3 + mov acc x1 + mov acc x1 slp 1
slx x0 tgt acc x0 - mov 0 x3 - mov x2 x3 - mov x0 acc - add x1 + mov x0 null
slx x1 tgt acc x1 - mov 1 x2 - mov x3 x2 - mov x1 acc - add x0 + mov x1 null
slx x0 tgt acc x0 - mov 2 x3 - mov x2 x3 - mov x0 acc - add x1 + mov x0 null
slx x0 mov x1 acc dgt x0 teq acc 0 + mov x0 p1 - mov x0 p0 slp 1 + mov 0 p1 - mov 0 p0
4. ELECTRONIC PRACTICE TARGET
26-1357-67

slx x0 mov x0 null mov p0 acc sub 50 mul acc mov acc dat mov p1 acc sub 50 mul acc add dat mov acc x0
teq p0 100 - mov 0 x3 - jmp s mov null x1 mov 4 acc mov x1 dat tgt dat 99 + sub 2 + tgt dat 399 + sub 1 + tgt dat 899 + sub 3 mov acc x3 s:slp 1
mov 8 acc l:slx x1 mov x1 dat teq dat 0 - sub 1 + teq acc 8 - mov acc x0 - mov acc x3 - mov dat x0 - mov dat x3 - mov acc x0 - mov acc x3 - tgt acc 0 + jmp l
slx x0 tgt x0 3 + add x0 - mov x0 null mov acc x2 teq x0 0 + mov acc x3 + mov 0 acc
slx x1 tgt x1 3 - add x1 + mov x1 null mov acc x2 teq x1 0 + mov acc x0 + mov 0 acc
slx x1 mov x1 acc mov x0 dat slp 2 mov acc x2 mov dat x3 slp 2 mov acc x2 mov dat x3 slp 2 mov acc x2 mov dat x3
5. KELP HARVESTING ROBOT
24-2933-53

mov x0 acc teq acc -999 + jmp s mov acc x2 mov x0 x2 s:mov null x1 slp 1
slx x0 mov x0 null mov dat x3 l:mov x3 acc tgt x2 0 - tgt x2 0 + mov acc x3 + mov x2 x1 + mov x2 x1 + mov acc x3 + mov acc dat - teq x3 dat - jmp l
mov 0 x2 slx x3 mov x0 dat l:mov x0 acc teq x1 p0 - mov x1 null + teq x1 p1 + mov acc x0 + mov 0 x1 + mov 0 x1 + mov 100 x2 - teq x0 dat - jmp l slp 1
mov 50 p1 slx x0 tcp x0 acc + add 1 - sub 1 mov acc p0 mov x0 x1 + mov 100 p1 - mov 0 p1 slp 1
mov 50 p1 slx x0 tcp x0 acc + add 1 - sub 1 mov acc p0 + mov 100 p1 - mov 0 p1 slp 1
6. SUSHI-MAKING ROBOT
18-643-43

mov x0 acc teq acc -999 + jmp s mov 100 p1 slp 1 mov 30 p1 mov acc x3 slp 1 mov 0 p1 s:slp 1 - mov x0 x1
s:mov 50 p1 teq x2 x1 + slp 1 + jmp s slp 2 mov x0 acc sub 4 tgt acc 0 + mov 0 p1 - mov 100 p1 slp 1 + sub 2 - add 2 mov acc x3
mov 50 p1 slx x0 mov x0 acc slp 2 tgt acc 0 + mov 0 p1 - mov 100 p1 slp 1 mov acc x1
mov 50 p1 slx x0 mov x0 acc teq acc 2 - teq acc 0 slp 2 + mov 0 p1 - mov 100 p1 slp 1
7. THORIUM REACTOR STATUS MONITOR
21-943-51

0:mov p1 acc mov acc x3 mov 10 x3 - jmp b 1:mov p0 dat mov dat x3 mov 20 x3 s:slp 1 teq p1 acc - jmp 0 b:teq p0 dat - jmp 1 jmp s
slx x0 mov x0 x1
slx x1 mov x1 acc mul 5 dgt 2 add x1 mov acc x2 dst 0 0 mov acc x2
mov p0 acc tcp acc 50 mov -30 x3 mov 31 x3 mov 32 x3 mov 33 x3 mov -34 x3 - mov -31 x3 - mov 34 x3 + mov 30 x3 + mov -33 x3 s:slp 1 teq p0 acc + jmp s
s:slx x1 mov x1 dat mov x1 acc l:tlt dat acc - mov acc x3 - add 1 - jmp l tlt dat 0 - mul -1 - mov acc dat - dst 0 0 - add 4 - mul -1 - jmp l
8. BRAIN-COMPUTER INTERFACE
VER 1: 22-2202-42

add x0 mov acc x2 mov dat acc add x1 mov acc x2 mov acc x2 teq x2 1 + mov 0 acc + mov 0 dat - mov x0 acc - mov x1 dat slp 1
slx x1 mov x1 dat mov dat acc dgt 0 mov acc x3 mov dat acc dgt 1 mov acc x3 mov dat acc dgt 2 mov acc x3
mov x1 dat mov dat x3 mov x2 acc mov x1 x3 add x2 tgt acc 1 + mov dat x0 + mov x1 x0 - mov x1 null + mov 1 x1 - mov 0 x1 slp 1
mov 0 acc slx x0 l:tgt x0 0 + mov acc x2 add 1 teq acc 6 - jmp l

用哈希表加了个速,如果输入类似
sense-0: 0- 0-... sense-1: 0-100-... sense-2: 100-100-...
将会导致失败。如果做一个满足如下条件的hash函数,就能搞出没毛病的算法:
f(x) = 0, x = 0 f(x) = 1, x in {1, 10, 100, 2, 20, 200} f(x) >= 2, 其他
幸好作者也认同神经元的电位发放是瞬时的,不会占用两个连续的单位时间。

Speed up the algorithm by using hash table. If the input was something like:
sense-0: 0- 0-... sense-1: 0-100-... sense-2: 100-100-...
The solution would fail. If we build a good hash function that satisfies
f(x) = 0, x = 0 f(x) = 1, x in {1, 10, 100, 2, 20, 200} f(x) >= 2, otherwise
Then we can correct this algorithm.

根据上面的说明,做了一个没毛病的算法。
Version with good hash function.

VER 2: 27-3198-54

add x0 mov acc x2 mov dat acc add x1 mov acc x2 mov acc x2 teq x2 1 + mov 0 acc + mov 0 dat - mov x0 acc - mov x1 dat slp 1
slx x1 mov x1 dat mov dat acc dgt 0 mov acc x3 mov dat acc dgt 1 mov acc x3 mov dat acc dgt 2 mov acc x3
mov x1 dat mov dat x3 mov x3 acc mov x1 x3 add x3 tgt acc 1 + mov dat x0 + mov x1 x0 - mov x1 null + mov 1 x1 - mov 0 x1 slp 1
mov 0 acc slx x0 l:tgt x0 0 + mov acc x2 add 1 teq acc 6 - jmp l
s:slx x1 mov x1 acc teq acc 0 + mov 0 x1 + jmp s mov 0 x3 l:teq acc x2 + mov 1 x1 + jmp s teq x3 6 - jmp l mov 2 x1
9. CELLULAR SCAFFOLD PRINTER
24-1005-50

slx x0 mov x0 acc mov acc x3 teq acc -1 - mul 2 - mov acc x2 - slp 6
slx x0 mov x0 p0 teq acc 5 - mov 1 dat + mov -1 dat l:mov acc x2 add dat slp 1 teq acc 6 - teq acc -1 - jmp l sub dat
s:slx x3 mov x3 acc tgt acc 2 + sub 3 mov acc dat mov p0 x1 + mov x0 null tcp p0 2 - jmp s mov 222 acc + mov x0 acc dgt dat tlt acc 3 + mov acc x2
mov 50 p0 mov 50 p1 slx x0 teq x0 -1 + mov 0 p1 - not - mov acc p0 slp 5 - mov 50 p0 - mov 100 p1 slp 1
slx x1 mov 0 acc dst x1 1 mov acc x3 slp 1 mov 0 x3
10. NEURAL PROCESSOR LOGIC BOARD
OTL

正在试着放两块 RAM。
Trying to put 2 RAMs.
0451. SHENZHEN I/O TRAILER
SOURCE: Noitatum@youtube
5-332-14

slp 1 tgt dat p1 + mov -1 x3 + mov -2 x3 + mov 0 dat teq p0 100 - tgt p1 dat + add 1 + mov acc x3 + teq acc 15 + slp 1 + mov -15 x3 + mov 14 acc mov p1 dat
6 Comments
ahsker 2 Mar, 2023 @ 5:19am 
This is just your beginning!!! ahahahah
wgl_234 13 Mar, 2022 @ 1:03am 
神秘关怎么开启
WANGENT 15 Aug, 2021 @ 1:02am 
太可怕了大哥 这个解体思路是什么啊 我卡在了精确秤那里
模块化么
Sapphire Siska Sophia 17 Jul, 2020 @ 2:33pm 
For those unaware, the @ command runs only once, which is great for initializations, and "gen [PIN] [TIME ON] [TIME OFF]" generates a 0-100 pulse that stays on and off for the specified durations saving up to 3 lines when you need a pulse.
Kovariszt 20 Oct, 2018 @ 3:36pm 
What did @ and gen even do?
nicloay 8 Oct, 2018 @ 11:47am 
I have a name for this page "One big spoiler" =)