| delorie.com/archives/browse.cgi | search |
| Date: | Tue, 25 Feb 97 21:59:08 GMT |
| From: | "Adrian Martin" <adrian DOT martin AT ypn DOT co DOT uk> |
| Encoding: | 12 Text |
| Message-Id: | <9701258569.AA856938164@ypn.co.uk> |
| To: | larstr AT colargol DOT idb DOT hist DOT no, djgpp AT delorie DOT com |
| Subject: | memcpy(); is there something faster? |
Try:--
_movedatal(_my_ds,&source,_my_ds,&dest,xfers);//think this is right but
check libc.inf.
where xfers is the number of bytes to transfer i.e. sizeof(my_struct)/4
if you want to copy data to conventional memory use _dos_ds as the selector.
Adrian Martin
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |