We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5664ed8 commit cb7e894Copy full SHA for cb7e894
1 file changed
library-asm/plot.asm
@@ -7,6 +7,7 @@
7
#include once <error.asm>
8
#include once <in_screen.asm>
9
#include once <cls.asm>
10
+#include once <attr.asm>
11
12
PLOT:
13
PROC
@@ -64,21 +65,7 @@ __PLOT_OVER1:
64
65
LOCAL __PLOT_END
66
__PLOT_END:
67
ld (hl), a
-
68
-;; gets ATTR position with offset given in SCREEN_ADDR
69
- ld a, h
70
- rrca
71
72
73
- and 3
74
- or 18h
75
- ld h, a
76
- ld de, (SCREEN_ADDR)
77
- add hl, de ;; Final screen addr
78
79
-LOCAL PO_ATTR_2
80
-PO_ATTR_2 EQU 0BE4h ; Another entry to PO_ATTR
81
- jp PO_ATTR_2 ; This will update attr accordingly. Beware, uses IY
+ jp SET_PIXEL_ADDR_ATTR
82
83
__PLOT_ERR:
84
jp __OUT_OF_SCREEN_ERR ; Spent 3 bytes, but saves 3 T-States at (#1)
0 commit comments