mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +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
|
|
|