~rabbits/dexe

e42e655cd3620311beedf8b65d9e3a6eb48b0c0e — neauoire 1 year, 10 months ago 04fd393
Advance on char table
1 files changed, 9 insertions(+), 4 deletions(-)

M src/dexe.tal
M src/dexe.tal => src/dexe.tal +9 -4
@@ 230,7 230,9 @@ BRK

	( keys )
	.Controller/key DEI
	DUP #1f GTH OVR #7f LTH #0101 NEQ2 ,&no-char JCN DUP ;input JSR2 &no-char
	DUP #1f GTH OVR #7f LTH #0101 NEQ2 ,&no-char JCN
		DUP ;input JSR2
		&no-char
	POP

BRK


@@ 429,13 431,16 @@ JMP2r

@fill-selection ( byte -- )

	STH
	,&c STR
	( Fill selection with byte )
	.selection/to LDZ2 INC2 .selection/from LDZ2
	&loop
		DUP2 STHkr ROT ROT STA
		STH2k [ LIT &c $1 ] STH2r STA
		INC2 GTH2k ,&loop JCN
	POP2 POP2 POPr
	( advance selection when 1 cell )
	POP2 .selection/from LDZ2 SUB2 NIP #01 GTH ,&no-advance JCN
		;move-right JSR2
		&no-advance
	#01 .state/changed STZ
	;redraw ( .. )