home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************/
- /* memcpyiXX */
- /****************************************************************************/
- /*-----------------------------Description----------------------------------*/
- /* This set of functions does a copy -- but it doesn't use REP MOVSx to */
- /* do it, since a REP can't be INTerrupted. */
- /*-----------------------------Arguments------------------------------------*/
- /*-----------------------------Return value---------------------------------*/
- /*-----------------------------Global constants-----------------------------*/
- /*-------------------Mod-------Global variables-----------------------------*/
- /*-----------------------------Functions called-----------------------------*/
- /*-----------------------------Examples-------------------------------------*/
- /*-----------------------------Constraints/Gotchas--------------------------*/
- /*--Date--------Programmer----------Comments--------------------------------*/
- /* 1990.01.01 A. Turing initial code */
- /****************************************************************************/
- void memcpyi(BYTE* dp,BYTE* sp,WORD n)
- {
- while (n--) *dp++=*sp++;
- } //memcpyi
-
-
- void memcpyifn(BYTE far* dp,BYTE* sp,WORD n)
- {
- while (n--) *dp++=*sp++;
- } //memcpyifn
-
-
- void memcpyinf(BYTE* dp,BYTE far* sp,WORD n)
- {
- while (n--) *dp++=*sp++;
- } //memcpyinf
-
-
-