Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!uflorida!reef.cis.ufl.edu!jdb From: jdb@reef.cis.ufl.edu (Brian K. W. Hook) Newsgroups: comp.lang.c Subject: Re: Memory Access Message-ID: <25922@uflorida.cis.ufl.EDU> Date: 14 Dec 90 18:13:50 GMT References: <36887@cup.portal.com> Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Dept. Lines: 10 Well, assuming that you are on a non protected mode machine (ie. IBM PC) that lets you read into any absolute memory address, you can use standard C pointers to read in individual characters. However, for large memroy locations (locations outside of your segment) you needs to uses a FAR pointer. Read the documentation on MK_FP, FP_SEG, and FP_OFF for more on that. I suppose that you could use memcpy to copy a specified amount of memory and then you could examine it later as a string.... Turbo C have a poke and peek function built in, but this assumes that you are using TC on a DOS machine.