mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
21 lines
351 B
ArmAsm
21 lines
351 B
ArmAsm
;
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
;
|
|
; 21.12.99
|
|
|
|
.importzp ptr4
|
|
.export BitmapRegs
|
|
|
|
.include "geossym.inc"
|
|
|
|
BitmapRegs: ; a/x is a struct iconpic*
|
|
sta ptr4
|
|
stx ptr4+1
|
|
ldy #0
|
|
bmpLp: lda (ptr4),y
|
|
sta r0L,y
|
|
iny
|
|
cpy #6
|
|
bne bmpLp
|
|
rts
|