added DUP optimization
This commit is contained in:
parent
f0513064ec
commit
273a448698
|
@ -242,6 +242,14 @@ this would leave our on-mouse subroutine empty:
|
|||
BRK
|
||||
```
|
||||
|
||||
note that we could join the update pointer position with sending it to the screen, using a pair of DUP2:
|
||||
|
||||
```
|
||||
( update pointer position and send to screen )
|
||||
.Mouse/x DEI2 DUP2 .pointer/x STZ2 .Screen/x DEO2
|
||||
.Mouse/y DEI2 DUP2 .pointer/y STZ2 .Screen/y DEO2
|
||||
```
|
||||
|
||||
### using normal jumps
|
||||
|
||||
with what we know already, and depending on the position of draw-pointer with respect to on-mouse, we could do a relative jump:
|
||||
|
|
Loading…
Reference in New Issue