Moved the 'memory' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too. The REU stuff isn't available on Apple GEOS.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5438 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
30
libsrc/geos-common/memory/fillram.s
Normal file
30
libsrc/geos-common/memory/fillram.s
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 30.10.99, 15.07.2001
|
||||
|
||||
; void * FillRam (char *dest, char what, int length);
|
||||
|
||||
.import popa, popax
|
||||
.export _FillRam
|
||||
|
||||
.include "jumptab.inc"
|
||||
.include "geossym.inc"
|
||||
|
||||
_FillRam:
|
||||
sta r0L
|
||||
stx r0H
|
||||
jsr popa
|
||||
sta r2L
|
||||
jsr popax
|
||||
sta r1L
|
||||
stx r1H
|
||||
pha
|
||||
txa
|
||||
pha
|
||||
jsr FillRam
|
||||
pla
|
||||
tax
|
||||
pla
|
||||
rts
|
||||
Reference in New Issue
Block a user