Added a version of memset() that uses the HuC6280's TII instruction to get more speed.

This commit is contained in:
Greg King
2015-11-06 23:59:19 -05:00
parent d8174af7fb
commit 999d57401c
2 changed files with 71 additions and 3 deletions

View File

@@ -8,9 +8,10 @@
;
; void* __fastcall__ memcpy (void* dest, const void* src, size_t size);
;
; NOTE: This function contains entry points for memmove, which will resort
; to memcpy for an incrementing copy. Don't change this module without looking
; at "pce/memmove.s"!
; NOTE: This function contains entry points for memmove(), which resorts to
; memcpy() for incrementing copies. The PC-Engine memset() uses this memcpy()
; to fill memory quickly. Don't change this module without looking at
; "pce/memmove.s" and "pce/memset.s"!
;
.export _memcpy