; Switch into graphics mode
BRK_TELEMON(XHIRES)
- rts
+
; Done, reset the error code
lda #TGI_ERR_OK
;
SETPIXEL:
- ; not done yet
+
+ lda X1
+ sta HRS1
+ lda Y1
+ sta HRS2
+
+ lda #$80 ; curset on
+ sta HRSFB
+
+ BRK_TELEMON(XCURSE)
+
rts
; ------------------------------------------------------------------------
;
LINE:
- ; not done yet
- rts
+ ; not done yet
+ rts
+
+CIRCLE:
+ ; not done yet
+ rts
+
; ------------------------------------------------------------------------
; BAR: Draw a filled rectangle with the corners X1/Y1, X2/Y2, where
; X1/Y1 = ptr1/ptr2 and X2/Y2 = ptr3/ptr4 using the current drawing color.