From 72ca5d76d1ae2cc0f789e9d555d03feeed4d9c4e Mon Sep 17 00:00:00 2001 From: d6 Date: Thu, 9 Mar 2023 22:44:31 -0500 Subject: [PATCH] remove manifest, simplify code, etc. --- cp437.tal | 4 +++- term.tal | 24 +++--------------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/cp437.tal b/cp437.tal index 9fcab35..0d4998d 100644 --- a/cp437.tal +++ b/cp437.tal @@ -1,3 +1,4 @@ +&nul ( null ) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7e c3 81 a5 81 bd 99 c3 7e 00 00 00 00 00 00 00 7e ff ff db ff c3 e7 ff 7e 00 00 00 00 00 00 @@ -28,9 +29,10 @@ 00 00 00 30 60 fe 60 30 00 00 00 00 00 00 00 00 00 00 00 00 c0 c0 c0 fe 00 00 00 00 00 00 00 00 00 00 00 24 66 ff 66 24 00 00 00 00 00 00 00 00 +&rs ( record separator ) 00 00 10 10 38 38 7c 7c fe fe 00 00 00 00 00 00 00 00 fe fe 7c 7c 38 38 10 10 00 00 00 00 00 00 -&space +&space ( space ) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 78 78 78 30 30 00 30 30 00 00 00 00 00 00 00 66 66 66 24 00 00 00 00 00 00 00 00 00 00 00 diff --git a/term.tal b/term.tal index eb94fd4..48a7aeb 100644 --- a/term.tal +++ b/term.tal @@ -7,12 +7,10 @@ ( b. on insert ) ( c. etc. ) ( 6. add more ansi control seqs ) -( 7. add sublabels to ;cp437, e.g. ;cp437/space ) ( 9. support shift+arrow and alt+arrow ) ( 10. crawl has screen-clearing issues ) ( 11. cursor hiding for cmatrix ) ( 12. clean up super ugly selection code ) -( 13. hide cursor when not moving for awhile ) ( 15. blinking text? ) ( 16. status line in femto, etc. is weird *** major bug ) ( 17. determ.terminfo ) @@ -87,7 +85,6 @@ |b0 @File2 [ &vect $2 &ok $2 &stat $2 &del $1 &append $1 &name $2 &len $2 &r $2 &w $2 ] |0000 -( @dummy $10 ( ughhhh ) ) @tint $1 ( draw mode. 01=regular, 04=inverted ) @attr $1 ( 5 bits: RxxxBBFF ) @dirty $1 ( screen needs redraw? ) @@ -556,8 +553,8 @@ @draw-pointer ( -> ) .lastmouse-x LDZ2 .lastmouse-y LDZ2 ( x* y* ) - .pointer-ttl LDZ ?&visible #0000 !&finally - &visible #01e0 &finally ;cp437 ADD2 !draw-at + .pointer-ttl LDZ ?&visible ;cp437/nul !draw-at + &visible ;cp437/rs !draw-at @on-move ( -> ) #c4 .pointer-ttl STZ ( pointer visible for ~1 second ) @@ -1274,24 +1271,9 @@ &details "ansi 20 "terminal 20 "emulator 0a &author "by 20 "d_m 0a &date "3 20 "jan 20 2023 00 - 03 + 02 ( device mask ) 41 0d07 ( 24x24 icon ) 83 =icon-2-bit - ( manifest ) a0 =manifest - -@menu-noop ( -> ) - JMP2r - -@manifest - 02 "Determ 00 - 00 00 =menu-noop "About 00 - 00 00 =menu-noop "Exit 00 - 01 "Edit 00 - 00 00 =menu-noop "Paste 00 - 02 "Settings 00 - 00 00 =menu-noop "Visual 20 "Bell 00 ( or Silent Bell ) - 00 00 =menu-noop "Enable 20 "Debug 20 00 ( or Disable Debug ) - 00 @icon-2-bit 00 00 00 1f 3f 38 32 34 00 00 00 00 00 07 0f 0f