1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/geos-common/mousesprite/possprite.s
ol.sc 00ddcaeb93 Normalized coding style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5499 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-08 16:13:01 +00:00

29 lines
385 B
ArmAsm

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 30.10.99
; void PosSprite (char spritenum, struct pixel *position );
.importzp ptr4
.import popa
.export _PosSprite
.include "jumptab.inc"
.include "geossym.inc"
_PosSprite:
sta ptr4
stx ptr4+1
ldy #0
lda (ptr4),y
sta r4L
iny
lda (ptr4),y
sta r4H
iny
lda (ptr4),y
sta r5L
jsr popa
sta r3L
jmp PosSprite