Browse Source

Display blending x/y

main
neauoire 4 years ago
parent
commit
936ed11236
  1. 19
      src/main.tal

19
src/main.tal

@ -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

Loading…
Cancel
Save