mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-18 06:09:08 +00:00
b1238af49d
this will probably upset people
26 lines
405 B
ArmAsm
26 lines
405 B
ArmAsm
;====================================
|
|
; draw pointer
|
|
;====================================
|
|
; actual game it sorta pulses colors
|
|
|
|
draw_pointer:
|
|
lda CURSOR_VISIBLE
|
|
beq no_draw_pointer
|
|
|
|
; 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
|
|
|