2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
;
|
2001-07-15 16:09:50 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
2001-07-15 16:09:50 +00:00
|
|
|
; 30.10.99, 15.07.2001
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2003-08-19 22:56:55 +00:00
|
|
|
; void * FillRam (char *dest, char what, int length);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2001-07-15 16:09:50 +00:00
|
|
|
.import popa, popax
|
2000-05-28 13:40:48 +00:00
|
|
|
.export _FillRam
|
|
|
|
|
|
|
|
.include "../inc/jumptab.inc"
|
|
|
|
.include "../inc/geossym.inc"
|
|
|
|
|
|
|
|
_FillRam:
|
2001-07-15 16:09:50 +00:00
|
|
|
sta r0L
|
|
|
|
stx r0H
|
2000-05-28 13:40:48 +00:00
|
|
|
jsr popa
|
|
|
|
sta r2L
|
2001-07-15 16:09:50 +00:00
|
|
|
jsr popax
|
|
|
|
sta r1L
|
|
|
|
stx r1H
|
2003-08-19 22:56:55 +00:00
|
|
|
pha
|
|
|
|
txa
|
|
|
|
pha
|
|
|
|
jsr FillRam
|
|
|
|
pla
|
|
|
|
tax
|
|
|
|
pla
|
|
|
|
rts
|