home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!montebello.ecom.unimelb.EDU.AU!carl
- From: carl@montebello.ecom.unimelb.EDU.AU (Carl Brewer)
- Subject: Re: Peek/Poke in C
- Message-ID: <9235412.13447@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Dept. Engineering Computer Resources, Melbourne Uni.
- References: <BV5XVB5w165w@blackwlf.gwinnett.com> <pal.724673747@regent.e-technik.tu-muenchen.de>
- Date: Sat, 19 Dec 1992 01:52:19 GMT
- Lines: 20
-
- In article <pal.724673747@regent.e-technik.tu-muenchen.de> pal@regent.e-technik.tu-muenchen.dbp.de (Peter Loibl) writes:
- >ericwebb@blackwlf.gwinnett.com (eric webb) writes:
- >
- >>Hi again.. does anyone know how to do equivalent of BASIC's PEEK & POKE
- >>statements in C?
- >
- >I am sorry for my ignorance, but what are PEEK and POKE doing? If you
- >describe their task, then this would be lots of help for all the
- >"C-Gurus" here.
-
- Peek used to be used to read direct memory addresses, and poke to
- put data into a direct memory address.
-
- it's not portable, and C does not support it (as far as I know :) )
-
- --
- Annal Natrach, Usthvah Spethed, carl@ecr.mu.oz.au (IRC: Bleve)
- Dochoel Dienve carl@munagin.ee.mu.oz.au
- carl@montebello.ecom.unimelb.EDU.AU
- Merlin, where are you? Call your dragon, to weave a mist...
-