YPetremann / ShenzhenIO

ShenzhenIO Solutions as save folder
25 stars 8 forks source link

Diagnostic Pulse Generator: Low Power #8

Closed twarmboe closed 7 years ago

twarmboe commented 7 years ago

Solution is ¥9/109/14

I used the same trick I used in Laser Tag to slim down to 109 power.

The idea is to have an OR gate eat a constant signal of 1 from another MC that can be used to both sleep for 1 and clear p1 with a single instruction (saving us 1 power per pulse).

The rest of the loop is just unrolling a bunch of checks to see when we get turned back on again (that way we can sleep for 3 when we fall out of a pulse)