TIS-100

TIS-100

View Stats:
UScr00ge Jun 1, 2015 @ 3:24pm
Differential converter
Anyone have any hints on the differential converter stage? My programs are hanging up after the SUB step.
Last edited by UScr00ge; Jun 1, 2015 @ 6:54pm
< >
Showing 1-15 of 29 comments
jaybee3 Jun 1, 2015 @ 4:47pm 
The differential converter (segment 20176)?
Nick Vascuas Jun 1, 2015 @ 5:03pm 
Use SWP. It will make the program a lot smaller.
UScr00ge Jun 1, 2015 @ 5:22pm 
SWP worked out well. Thanks!
Raketenziesel Jun 1, 2015 @ 6:13pm 
NEG gave me a smaller footprint, since no comparisons are required.
Hint, you can effectively split the output by retrieving ACC twice.

Can someone clarify that MOV UP, ANY effectively only writes to ports that are actively called and not to an OUT port?

MOV UP, ACC
MOV ACC, LEFT
MOV ACC, DOWN

is apparently not the same as
MOV UP ANY
the latter never writes to the output at DOWN

http://steamcommunity.com/sharedfiles/filedetails/?id=453647903

as compared to
http://steamcommunity.com/sharedfiles/filedetails/?id=453649783
Last edited by Raketenziesel; Jun 1, 2015 @ 6:21pm
jaybee3 Jun 1, 2015 @ 6:28pm 
Originally posted by Raketenziesel:
NEG gave me a smaller footprint, since no comparisons are required.
Hint, you can effectively split the output by retrieving ACC twice.

Can someone clarify that MOV UP, ANY effectively only writes to ports that are actively called and not to an OUT port?

MOV UP, ACC
MOV ACC, LEFT
MOV ACC, DOWN

is apparently not the same as
MOV UP ANY
the latter never writes to the output at DOWN

http://steamcommunity.com/sharedfiles/filedetails/?id=453647903

as compared to
http://steamcommunity.com/sharedfiles/filedetails/?id=453649783

ANY requires something to READ it, when you use "MOV ACC, DOWN" it WRITES to the output.
Nick Vascuas Jun 1, 2015 @ 6:34pm 
Originally posted by Raketenziesel:
NEG gave me a smaller footprint, since no comparisons are required.
Hint, you can effectively split the output by retrieving ACC twice.

Can someone clarify that MOV UP, ANY effectively only writes to ports that are actively called and not to an OUT port?

MOV UP, ACC
MOV ACC, LEFT
MOV ACC, DOWN

is apparently not the same as
MOV UP ANY
the latter never writes to the output at DOWN

http://steamcommunity.com/sharedfiles/filedetails/?id=453647903

as compared to
http://steamcommunity.com/sharedfiles/filedetails/?id=453649783

That is really clever.
UScr00ge Jun 1, 2015 @ 6:53pm 
My code is Baby's First Hello World compared to that. Good job.
FroshKiller Jun 3, 2015 @ 6:23pm 
Originally posted by UScr00ge:
Anyone have any hints on the differential converter stage? My programs are hanging up after the SUB step.

Here is my solution using NEG effectively, 240 cycles across 5 nodes in 10 instructions.

http://steamcommunity.com/sharedfiles/filedetails/?id=454760037
Last edited by FroshKiller; Jun 3, 2015 @ 6:23pm
yamachan360 Jun 7, 2015 @ 2:04am 
Maybe, one program can't mark all best score. My program shows 201 cycles, and 5 nodes - looks the best score, but has 11 instractions - not the best (other program marks 10).

Maybe, we can discuss two types -> the fast = low cycle, the short = low node and instraction.
Nick Vascuas Jun 7, 2015 @ 3:07am 
Originally posted by yamachan360:
Maybe, one program can't mark all best score. My program shows 201 cycles, and 5 nodes - looks the best score, but has 11 instractions - not the best (other program marks 10).

Maybe, we can discuss two types -> the fast = low cycle, the short = low node and instraction.

The hiscores are meant to be looked at as 3 seperate hi scores. You can compete for one but not all 3, at least not all the time.
yamachan360 Jun 7, 2015 @ 3:16am 
Originally posted by Nick Vascuas:
Originally posted by yamachan360:
Maybe, one program can't mark all best score. My program shows 201 cycles, and 5 nodes - looks the best score, but has 11 instractions - not the best (other program marks 10).

Maybe, we can discuss two types -> the fast = low cycle, the short = low node and instraction.

The hiscores are meant to be looked at as 3 seperate hi scores. You can compete for one but not all 3, at least not all the time.

Yes! Now I understand why we can use 3 save slots for each stages. :heart:
kschang77 Jun 7, 2015 @ 4:02am 
You can easily turn the 240/x/y into 201/X/y by splitting one of the functions. :spazwinky:

(I'm at 201/5/11, and I've seen lower)
Last edited by kschang77; Jun 7, 2015 @ 4:03am
DamnedEyez Jun 7, 2015 @ 4:31am 
I had 203/5/11 and was really confused how people were getting 201 when my code looked almost identical to one in another thread. Switched the order of left/down sends on a node and dropped two cycles.
yamachan360 Jun 7, 2015 @ 5:17am 
Originally posted by DamnedEyez:
I had 203/5/11 and was really confused how people were getting 201 when my code looked almost identical to one in another thread. Switched the order of left/down sends on a node and dropped two cycles.

This is a 201 cycle sample. I hope it will be helpful for you.

http://steamcommunity.com/sharedfiles/filedetails/?id=456773217
DamnedEyez Jun 7, 2015 @ 6:35am 
Originally posted by yamachan360:
Originally posted by DamnedEyez:
I had 203/5/11 and was really confused how people were getting 201 when my code looked almost identical to one in another thread. Switched the order of left/down sends on a node and dropped two cycles.

This is a 201 cycle sample. I hope it will be helpful for you.

http://steamcommunity.com/sharedfiles/filedetails/?id=456773217

Yeah, I did figure it out...and looking at it, it's now identical to yours (save for I have a title in node 0)

Basically I just had the two MOV ACC commands in the bottom left switched.

MOV UP, ACC
MOV ACC, DOWN
MOV ACC, RIGHT
< >
Showing 1-15 of 29 comments
Per page: 1530 50