mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +00:00
25 lines
385 B
ArmAsm
25 lines
385 B
ArmAsm
;
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
|
;
|
|
; 30.10.99, 20.08.2003
|
|
|
|
; void * ClearRam (char *dest, int length);
|
|
|
|
.import DoublePop
|
|
.export _ClearRam
|
|
|
|
.include "jumptab.inc"
|
|
.include "geossym.inc"
|
|
|
|
_ClearRam:
|
|
jsr DoublePop
|
|
pha
|
|
txa
|
|
pha
|
|
jsr ClearRam
|
|
pla
|
|
tax
|
|
pla
|
|
rts
|
|
|