Mail Archives: djgpp/1998/03/25/10:03:29
i recently tried to copy a text string out of conventional memory
(i.e. i had its segment & offset) into a local char array.
i used dosgetmem() as described in the documentation,
( phys_addr = 16*segment + offset etc..)
however, it only filled my char array with garbage, but when i
changed the variable to 'static char..' it worked !
i wonder if anyone can tell me what happened there !?
Lou Smith ( student ) ( iBasdvru, South Africa )
p.s. how do newsgroups work ( excuse my ignorance .. )
- Raw text -