mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 20:06:11 +00:00
8e97e1f4b7
and memcpy git-svn-id: svn://svn.cc65.org/cc65/trunk@789 b7a2c559-68d2-44c3-8de9-860c34a00d81
24 lines
363 B
ArmAsm
24 lines
363 B
ArmAsm
|
|
;
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
;
|
|
; 30.10.99, 15.07.2001
|
|
|
|
; void FillRam (char *dest, char what, int length);
|
|
|
|
.import popa, popax
|
|
.export _FillRam
|
|
|
|
.include "../inc/jumptab.inc"
|
|
.include "../inc/geossym.inc"
|
|
|
|
_FillRam:
|
|
sta r0L
|
|
stx r0H
|
|
jsr popa
|
|
sta r2L
|
|
jsr popax
|
|
sta r1L
|
|
stx r1H
|
|
jmp FillRam
|