Article View: alt.lang.asm
Article #311Re: BIOS & Pmode
From: Alexei A. Frounze
Date: Sat, 24 Jun 2000 00:00
Date: Sat, 24 Jun 2000 00:00
40 lines
2037 bytes
2037 bytes
Why don't you request DPMI host for a descriptor/selector for 1st megabyte of RAM? Btw, DJGPP (32-bit free GNU C/C++ compiler for DOS) has very good libraries (DPMI, GO32, MOVEDATA, ...) for all the DPMI things you may ever need. Why not to use standard solutions? bye. Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru PMode...: http://welcome.to/pmode ---------- > ��: Beanpole <beanpoleDEL@sprynet.com> > ������ ��������: alt.lang.asm; borland.public.tasm; comp.lang.asm.x86 > ����: BIOS & Pmode > ����: 24 ���� 2000 �. 23:01 > > > What is the best way to access a BIOS memory location from 32 bit protected > mode (DPMI)? > Right now I'm switching from 32 bit pmode to 16 bit real mode, reading the > necessary locations and returning to pmode. This seems wasteful. Is there > a formula to convert a 16 bit seg:off address to a 32 bit pmode address for > direct access or do I need to create a descriptor with its base at 40h. I > appreciate any accurate info. > Thanks > Beanpole > > >
Technical Details
Message-ID:
<8j3dv0$u3$1@bob.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<sla1bcr4jev149@corp.supernews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7d8d,d1ea95528f27d5ce X-Google-Attributes: gidf7d8d,public X-Google-Thread: 114917,d1ea95528f27d5ce X-Google-Attributes: gid114917,public X-Google-Thread: feaef,d1ea95528f27d5ce X-Google-Attributes: gidfeaef,public From: "Alexei A. Frounze" <see_below@the_message_body.com> Subject: Re: BIOS & Pmode Date: 2000/06/24 Message-ID: <8j3dv0$u3$1@bob.news.rcn.net> X-Deja-AN: 638576975 Approved: <johnfine@erols.com> References: <sla1bcr4jev149@corp.supernews.com> X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com X-Trace: 8SS3l9TdX+M+dCc8ZWsyuHTAWKO47bsm+A3zDFUDbIQ= Organization: None X-Apparently-To: clax86@yahoo.com via web1704.mail.yahoo.com X-Track: 1-1: 40 NNTP-Posting-Date: 24 Jun 2000 22:50:08 GMT Newsgroups: alt.lang.asm,borland.public.tasm,comp.lang.asm.x86