Added support for filled circles.

This commit is contained in:
Bobbi Webber-Manners 2021-10-10 18:46:49 -04:00
parent 6cff1b8eb2
commit f583aa73e1
2 changed files with 6 additions and 2 deletions

Binary file not shown.

View File

@ -178,8 +178,6 @@ HGRPLOTACT LDA VDUQ+4
>>> WRTAUX
>>> XF2MAIN,DRAWLINE
:CIRC >>> WRTMAIN
LDA VDUQ+4
STA PLOTMODE
LDA XPIXEL+0
STA FDRAWADDR+6
LDA XPIXEL+1
@ -188,8 +186,14 @@ HGRPLOTACT LDA VDUQ+4
STA FDRAWADDR+8
LDA VDUQ+5
STA FDRAWADDR+12 ; Radius
LDA VDUQ+4
STA PLOTMODE
>>> WRTAUX
AND #$F8
CMP #$98
BEQ :FILLCIRC
>>> XF2MAIN,DRAWCIRC
:FILLCIRC >>> XF2MAIN,FILLCIRC
VDU25RET >>> ENTAUX
* Fall through into HGRPOS
* Save pixel X,Y position