~rabbits/nasu

936ed11236487ee51459a84e0fdf3f92b977ec65 — neauoire 1 year, 3 months ago 1ec88fe
Display blending x/y
1 files changed, 18 insertions(+), 1 deletions(-)

M src/main.tal
M src/main.tal => src/main.tal +18 -1
@@ 876,7 876,7 @@ RTN
	;draw-nametable JSR2
	;draw-zoomview JSR2

	.frame/x1 LDZ2 #0080 ++ .tileview/y1 LDZ2 .tileview/y2 LDZ2 #03 ;line-ver JSR2
	.frame/x1 LDZ2 #0080 ++ .tileview/y1 LDZ2 INC2 .tileview/y2 LDZ2 #03 ;line-ver JSR2

RTN



@@ 1103,6 1103,17 @@ RTN
		INC GTHk ,&loop JCN
	POP2

	( x )
	.blendview/x1 LDZ2 #0010 ++ .Screen/x DEO2
	.blendview/y1 LDZ2 #0021 ++ .Screen/y DEO2
	;flipx-icns .settings/blend LDZ #10 AND #00 ! TOS 8** ++ .Screen/addr DEO2
	#01 .Screen/sprite DEO
	( x )
	.blendview/x1 LDZ2 #0018 ++ .Screen/x DEO2
	.blendview/y1 LDZ2 #0021 ++ .Screen/y DEO2
	;flipy-icns .settings/blend LDZ #20 AND #00 ! TOS 8** ++ .Screen/addr DEO2
	#01 .Screen/sprite DEO

RTN

@draw-preview ( -- )


@@ 1556,6 1567,12 @@ RTN
@zoom-icns
	3048 8484 4834 0200 ( in )
	3245 8284 4834 0200 ( out )
@flipx-icns
	0000 0000 aa00 0000
	0000 0000 fe00 0000
@flipy-icns
	0008 0008 0008 0008
	0008 0808 0808 0808
@font ( specter8-frag font )
	0000 0000 0000 0000 0008 0808 0800 0800
	0014 1400 0000 0000 0024 7e24 247e 2400