2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
|
|
;
|
|
|
|
; 21.12.99
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.importzp ptr4
|
|
|
|
.export BitmapRegs
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.include "geossym.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
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
|