mirror of
https://github.com/cc65/cc65.git
synced 2024-08-19 17:29:37 +00:00
21 lines
255 B
ArmAsm
21 lines
255 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
|