Login
Back to forumSee the full topicGo to last reply

Posted By

bubis
on 2012-11-30
04:19:48
 Re: Draw a single pixel in assembler

Try the below code after "GRAPHIC 4,1", it will draw a dot of color 1 at (16,32).

lda #$10
sta $02ad ;x coord low
lda #$20
sta $02af ;y coord low
lda #$00
sta $02ae ;x coord high
sta $02b0 ;y coord high
lda #$01
sta $84 ;color
jsr $c1a5



Back to top


Copyright © Plus/4 World Team, 2001-2024