~rabbits/drifblim

06b67d3c315fbbf56908053d3c57a7f9dd804a94 — neauoire 3 months ago d92577d
Combined writing
1 files changed, 3 insertions(+), 6 deletions(-)

M src/drifblim.tal
M src/drifblim.tal => src/drifblim.tal +3 -6
@@ 190,14 190,11 @@
	get-ref LDA2 .head LDZ2 INC2 INC2 SUB2

@<write-short> ( short* -- )
	.head LDZ2 INC2k INC2 .head STZ2
	;memory/result ADD2 STA2
	JMP2r
	SWP <write>

@<write> ( byte -- )
	.head LDZ2 INC2k .head STZ2
	;memory/result ADD2 STA
	JMP2r
	.head LDZ2 INC2k STH2 ;memory/result ADD2 STA
	STH2r

@<set-head> ( v* -- )
	.head STZ2