From: "Heo, Sung-Gwan" Newsgroups: comp.os.msdos.djgpp Subject: Memory mapped I/O in protected mode Date: Wed, 19 Nov 1997 21:22:49 +0900 Organization: S/W Team, Turbo Tek Lines: 55 Message-ID: <3472DA18.223AD317@turbotek.co.kr> Reply-To: heo AT turbotek DOT co DOT kr NNTP-Posting-Host: 203.239.124.66 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------942265650E6AE27C3401B3C5" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This is a multi-part message in MIME format. --------------942265650E6AE27C3401B3C5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, there. How do I write a program that performs memory mapped I/O in protected mode? I have a I/O card which use D000:0000 ~ D000:0800 memory space for memory mapped I/O, but I must program in 32bit protected mode. The following program style is typically for 16bit environment and threre is a critical problem in 32bit protected mode. unsigned int far *crptr; crptr = (unsigned int far *) 0xd0000800L; *crptr = 10; How can I write a 32bit protected mode program which does the same as above code? In addition, I use PMODE 3.0 as DOS extender and PMC library. Please let me know. Thanks in advance. -- Heo, Sung-Gwan heo AT turbotek DOT co DOT kr --------------942265650E6AE27C3401B3C5 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Sung-Gwan Heo Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Sung-Gwan Heo n: Heo;Sung-Gwan org: Turbo-Tek Co., Ltd. adr: Jungang Royal Building 21F. 1355-8, ;;Socho2-Dong, Socho-Ku;Seoul;;137-072;Korea email;internet: heo AT turbotek DOT co DOT kr title: Researcher tel;work: +82-2-3472-2133 tel;fax: +82-2-3473-7175 tel;home: +82-2-716-7867 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------942265650E6AE27C3401B3C5--