Date: Tue, 11 Jul 1995 08:50:28 -0700 (PDT) From: Kevin Rogovin To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Writing to physical memory I have a question about which is a faster way to write into physical (real mode) memory: Is it faster to use dosmemput() or movedata() ? additionally the selectors used in in movedata(), are they a constant? ie can I calcualte what the selectors are and never recalculate thme? like try: unsigned VID_ADDR=0xA0000; unsigned src_selector,dst_selector; unsigned char *buff; Init() { buff=malloc(320*200); if (buf==NULL) exit(0); src_selector=_go32_my_ds(); dst_selector=_go_32_conventionl_memory(); // I may have the wrong function on whow to get the conventional memory selector. } Refresh() { movedata(dst_selector,VID_ADDR, src_selector,buff, 320*200); } or is there a faster way than movedata() or dosmemput() ? Sincerley, Kevin Rogovin