mirror of
https://github.com/cc65/cc65.git
synced 2024-10-30 12:28:25 +00:00
23 lines
304 B
ArmAsm
23 lines
304 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 21.12.99
|
||
|
|
||
|
.importzp ptr4
|
||
|
|
||
|
.export BitmapRegs
|
||
|
|
||
|
.include "../inc/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
|