dos33fsprogs/games/monkey/draw_pointer.s

26 lines
405 B
ArmAsm
Raw Normal View History

2020-09-13 03:33:28 +00:00
;====================================
; draw pointer
;====================================
; actual game it sorta pulses colors
draw_pointer:
2020-09-19 16:22:14 +00:00
lda CURSOR_VISIBLE
beq no_draw_pointer
2020-09-13 03:33:28 +00:00
; point sprite to right location (X,Y)
lda CURSOR_X
sta XPOS
lda CURSOR_Y
sta YPOS
lda #<pointer_sprite
sta INL
lda #>pointer_sprite
sta INH
jsr put_sprite_crop
no_draw_pointer:
rts