From f0c9e8ceb9ea060d4a98874328e62cb35247f63c Mon Sep 17 00:00:00 2001 From: Snorre Selmer Date: Mon, 24 Oct 2022 16:19:36 +0200 Subject: [PATCH] Simplified device-detection --- auto_class_sorter.ic10 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/auto_class_sorter.ic10 b/auto_class_sorter.ic10 index 9991c46..36eda29 100644 --- a/auto_class_sorter.ic10 +++ b/auto_class_sorter.ic10 @@ -12,13 +12,12 @@ define ITEMCLASS 19 # 10=ores, 19=ingots, 33=wrekage define INPUTSLOT 0 # sorter input-slot start: -jal sort +bdseal dr3 sort add SorterCounter SorterCounter 1 bgt SorterCounter 5 reset j start sort: -bdns dr3 ra s dr3 Mode 2 # set sorter to IC mode ls SlotOccupied dr3 INPUTSLOT Occupied # check if anything to sort beqz SlotOccupied ra @@ -30,4 +29,4 @@ j ra reset: yield move SorterCounter 0 -j start \ No newline at end of file +j start