From e85b36fcdff786b67209b9160c5fc9a12f731e5d Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Mon, 3 Apr 2023 23:37:51 -0600 Subject: [PATCH] taro-ls: slightly increase efficiency of message processing and blank list when changing mailbox or searching --- taro-ls.tal | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/taro-ls.tal b/taro-ls.tal index 8fb3cb4..f7d41eb 100644 --- a/taro-ls.tal +++ b/taro-ls.tal @@ -133,10 +133,11 @@ BRK BRK &must_decode + .decoding/counting LDZ #00 EQU ,&decode_data JCN .decoding/counting LDZ #01 EQU ,&count_1 JCN - .decoding/counting LDZ #02 EQU ,&count_2 JCN + ,&count_2 JMP - ( decode data ) + &decode_data .Console/read DEI .decoding/msg_type LDZ DUP MBOX_LIST NEQ ,&no_mbox_list JCN @@ -223,6 +224,8 @@ JMP2r #0000 .list/select_index STZ2 #0001 .list/select_len STZ2 #0000 .list/top STZ2 + #0000 .list/len STZ2 + #0000 .list/bytes STZ2 .list update_sb_pos @@ -252,7 +255,9 @@ JMP2r #0000 .list/select_index STZ2 #0001 .list/select_len STZ2 #0000 .list/top STZ2 - + #0000 .list/len STZ2 + #0000 .list/bytes STZ2 + .list update_sb_pos pending_ops++ @@ -1308,7 +1313,7 @@ JMP2r ] @metadata [ 00 "taro 0a - "v0.2.2 0a + "v0.2.3 0a "GUI 20 "for 20 "mblaze 0a "Derek 20 "Stevens 20 " 0a 00 ]