mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
24 lines
400 B
ArmAsm
24 lines
400 B
ArmAsm
;
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
;
|
|
; 29.10.99
|
|
|
|
.importzp ptr4
|
|
.export PointRegs
|
|
|
|
.include "geossym.inc"
|
|
|
|
PointRegs: ; a/x is a struct pixel*
|
|
sta ptr4
|
|
stx ptr4+1
|
|
ldy #0
|
|
lda (ptr4),y
|
|
sta r3L
|
|
iny
|
|
lda (ptr4),y
|
|
sta r3H
|
|
iny
|
|
lda (ptr4),y
|
|
sta r11L
|
|
rts
|