uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit dd0ba4f191c334ec76db5e9a827ac0260c98117d
parent d64600e711ba605dc8d8ab8cd20ad9d0595b11c7
Author: neauoire <aliceffekt@gmail.com>
Date:   Tue,  5 Apr 2022 16:41:49 -0700

Minor change to bresenham helpers

Diffstat:
Mprojects/examples/demos/cube3d.tal | 4++--
Mprojects/examples/devices/mouse.tal | 4++--
Mprojects/software/clock.tal | 4++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/projects/examples/demos/cube3d.tal b/projects/examples/demos/cube3d.tal @@ -112,8 +112,8 @@ JMP2r JMP2r @abs2 DUP2 #0f SFT2 EQU #05 JCN #0000 SWP2 SUB2 JMP2r -@lts2 #8000 ADD2 SWP2 #8000 ADD2 GTH2 JMP2r -@gts2 #8000 ADD2 SWP2 #8000 ADD2 LTH2 JMP2r +@lts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 GTH2 JMP2r +@gts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 LTH2 JMP2r @table ( 256 xy ) f7f8 f9fa fbfc fcfd fefe ffff ffff ffff diff --git a/projects/examples/devices/mouse.tal b/projects/examples/devices/mouse.tal @@ -98,7 +98,7 @@ BRK JMP2r @abs2 DUP2 #0f SFT2 EQU #05 JCN #0000 SWP2 SUB2 JMP2r -@lts2 #8000 ADD2 SWP2 #8000 ADD2 GTH2 JMP2r -@gts2 #8000 ADD2 SWP2 #8000 ADD2 LTH2 JMP2r +@lts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 GTH2 JMP2r +@gts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 LTH2 JMP2r @pointer-icn 80c0 e0f0 f8e0 1000 diff --git a/projects/software/clock.tal b/projects/software/clock.tal @@ -221,8 +221,8 @@ JMP2r @mod DUP2 DIV MUL SUB JMP2r @abs2 DUP2 #0f SFT2 EQU #05 JCN #0000 SWP2 SUB2 JMP2r -@lts2 #8000 ADD2 SWP2 #8000 ADD2 GTH2 JMP2r -@gts2 #8000 ADD2 SWP2 #8000 ADD2 LTH2 JMP2r +@lts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 GTH2 JMP2r +@gts2 #8000 STH2k ADD2 SWP2 STH2r ADD2 LTH2 JMP2r @is-uc DUP #40 GTH SWP #5b LTH AND JMP2r @is-lc DUP #60 GTH SWP #7b LTH AND JMP2r @is-num DUP #2f GTH SWP #3a LTH AND JMP2r