|
the closest to == would teq with no - branch i guess
|
# ? Oct 15, 2016 03:00 |
|
|
# ? May 15, 2024 01:03 |
|
Yeah I thought something like "teq 1 1" would only do the + statements and "teq 1 0" would only do the - statements
|
# ? Oct 15, 2016 03:02 |
|
Stereotype posted:I thought that tcp was the "==" operator oh my god haha nice
|
# ? Oct 15, 2016 04:11 |
|
Stereotype posted:Yeah I thought something like "teq 1 1" would only do the + statements and "teq 1 0" would only do the - statements well...that's true, because 1 is always equal to 1, and 1 is never equal to 0.
|
# ? Oct 15, 2016 05:28 |
|
teq and tcp are completely different instructions
|
# ? Oct 15, 2016 06:15 |
|
Jabor posted:teq and tcp are completely different instructions ooooooooooooooooooooooh okay so this is why things work and why everything is so difficult.
|
# ? Oct 15, 2016 06:25 |
|
I sort of just skimmed the list of commands apparently.
|
# ? Oct 15, 2016 06:28 |
|
Stereotype posted:I sort of just skimmed the list of commands apparently.
|
# ? Oct 15, 2016 06:35 |
|
Stereotype posted:I sort of just skimmed the list of commands apparently. the tagline of this game is rtfm
|
# ? Oct 15, 2016 08:16 |
|
Stereotype posted:I sort of just skimmed the list of commands apparently. looks like all that drat time in the mur fr*ggin arctic circle frozed ur g*d d*mn brains off m8
|
# ? Oct 15, 2016 21:26 |
|
this game has already affected the way i am writing real code. doing a microcontroller thing where i normally would have just made a bunch of conditional statements and holder variables, but instead i thought about what the bits are really doing and managed it in one line with bitwise operators. thanks shenzhen i/o
|
# ? Oct 16, 2016 03:28 |
|
what are bits really even doing, anyways
|
# ? Oct 16, 2016 04:30 |
|
little electric somersaults, near as i can tell
|
# ? Oct 16, 2016 04:36 |
|
New Zealand can eat me posted:what are bits really even doing, anyways haha i thought this was a zdr emoji
|
# ? Oct 16, 2016 05:17 |
|
Satellit3 posted:haha i thought this was a zdr emoji use it everywhere and insist it is, I think I have the full set somewhere
|
# ? Oct 16, 2016 06:53 |
|
I did the game controller thing yesterday evening and I used the DX300 and I wired it in such a way that the output of it matched the spec exactly, only in binary. Then I had to make a bunch of conditionals to translate 010 to 2 and 011 to 3 and 000 and 001 could be passed on directly but I was like dude, the bits are right there just let me pass a binary value aaaggg
|
# ? Oct 16, 2016 08:37 |
|
spankmeister posted:I did the game controller thing yesterday evening and I used the DX300 and I wired it in such a way that the output of it matched the spec exactly, only in binary. the binary representation of 010 is 1010 though yes this was pretty annoying i completely agree with you. in the end i did it without any conditionals though: mov x1 acc; dgt 1; mul 2; mov acc dat; mov x1 acc; dgt 0; add dat gonadic io fucked around with this message at 09:01 on Oct 16, 2016 |
# ? Oct 16, 2016 08:55 |
|
give me shr or give me death
|
# ? Oct 16, 2016 08:56 |
|
actually, i managed to cut the power consumption on the joystick one by swapping "tgt x1 -999; - jmp done" with "tcp x1 -999" and just making sure all of my following instructions until the label were prefaced with either + or -. However it means that I duplicated a bunch of instructions like "+ mov x1 acc; - mov x1 acc; + dgt 0;- dgt 0". is there a way to avoid that?
|
# ? Oct 16, 2016 09:18 |
|
Does the negative branch of tcp -999 ever fire?
|
# ? Oct 16, 2016 09:41 |
|
tgt acc 2 + sub 8
|
# ? Oct 16, 2016 09:47 |
|
Jabor posted:tgt acc 2 Nice!
|
# ? Oct 16, 2016 10:11 |
|
phi kappa FUCKBALLS posted:Does the negative branch of tcp -999 ever fire? nope, it literally cannot (but there are later t** and + and -, so tcp skipping - lines is still relevant
|
# ? Oct 16, 2016 10:11 |
|
Jabor posted:tgt acc 2 mov x0 acc mul 2 add x1
|
# ? Oct 16, 2016 11:18 |
|
I spent so long on the sandwich maker thinking that the lone 3 meant "repeat previous pattern" before I realized I'm dumb.
|
# ? Oct 16, 2016 22:25 |
|
your sandwich can have either extra mustard or no cheese or both, but no normal sandwiches.
|
# ? Oct 16, 2016 22:49 |
|
I'm pretty proud of this Drinking Scorekeeper solution considering my original was so much worse, but it's also the #1 in my scoreboard in every category right now: 3 cost, 330 pwr http://i.imgur.com/afT6V2S.png
|
# ? Oct 17, 2016 00:48 |
|
cheesy security nightmare, thanks grey thread
|
# ? Oct 17, 2016 08:36 |
|
bobbilljim posted:cheesy security nightmare, thanks grey thread link to the grey thread please? I had a look but couldn't find it
|
# ? Oct 17, 2016 12:37 |
|
gonadic io posted:link to the grey thread please? I had a look but couldn't find it 10 puzzles in and i just realized i've been wasting two instructions doing greater-or-equals when i could've just negated a less-than
|
# ? Oct 17, 2016 13:49 |
|
a bad score, but yet this is probably the problem i'm most satisfied solving so far:
|
# ? Oct 17, 2016 13:59 |
|
https://www.youtube.com/watch?v=NowIORUgdgE
|
# ? Oct 17, 2016 16:51 |
|
bobbilljim posted:cheesy security nightmare, thanks grey thread i think i did something similar, just sum digits?
|
# ? Oct 17, 2016 16:52 |
|
think i've hit the wall with the mining coords one. staring at the spec sheet for hours thinking about how i can break it down. with lots of lines of code it's very easy but i lack any insight into efficiency
|
# ? Oct 17, 2016 19:09 |
|
echinopsis posted:think i've hit the wall with the mining coords one. staring at the spec sheet for hours thinking about how i can break it down. with lots of lines of code it's very easy but i lack any insight into efficiency there's two x ranges that are always 30 and one that is always 0. Then there's a y range where 50 gets added to it, producing either 50 or 80
|
# ? Oct 17, 2016 19:24 |
|
|
# ? Oct 17, 2016 19:27 |
|
Pardot posted:i think i did something similar, just sum digits? yup and abuse acc by using it to hold a variable as well as the loop counter and get rid of all the jumps for conditionals
|
# ? Oct 17, 2016 21:56 |
|
zachatronics posted:FIRMWARE UPDATE VERSION 1.1 for SHENZHEN I/O is now live!
|
# ? Oct 18, 2016 10:12 |
|
i've been slacking on this recently, should get back into it
|
# ? Oct 18, 2016 10:33 |
|
|
# ? May 15, 2024 01:03 |
|
https://www.youtube.com/watch?v=BpLtvB1bVNs
|
# ? Oct 22, 2016 09:22 |