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
|