Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!ima!mirror!datacube!berger From: berger@datacube.UUCP Newsgroups: comp.sys.ibm.pc Subject: MS Windows and Physical memory? Message-ID: <105500001@datacube> Date: Tue, 9-Dec-86 12:39:00 EST Article-I.D.: datacube.105500001 Posted: Tue Dec 9 12:39:00 1986 Date-Received: Sun, 14-Dec-86 04:13:10 EST Lines: 30 Nf-ID: #N:datacube:105500001:000:914 Nf-From: datacube.UUCP!berger Dec 9 12:39:00 1986 Has anyone had experience using Microsoft Windows where they need to talk to hardware using pointers? Does Windows allow explicet pointers to physical memory? For example something crude like (assume large model): char *p; p = 0xa0000; /* Set p to point to some hardware location */ *p = 0xff; /* Set the register to some value */ Or do you HAVE to use a device driver to access physical memory. The device that we are accessing is NOT the device that windows is using itself for display or anything. Also, does Windows do anything funny to data structures that are globally shared among functions that are linked together? Can all functions that are linked together share all globals? Is there a better forum for Windows questions/discussions? Bob Berger Datacube Inc. 4 Dearborn Rd. Peabody, Ma 01960 617-535-6644 ihnp4!datacube!berger {seismo,cbosgd,cuae2,mit-eddie}!mirror!datacube!berger