Date: Sat, 27 Sep 1997 09:44:41 -0700 (PDT) Message-Id: <199709271644.JAA15977@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: phreadd AT powerup DOT com DOT au, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: rom accessing Precedence: bulk At 05:07 9/26/1997 GMT, David Orme wrote: >Hi! > >I got a program which does SVGA graphics, so I know all about accessing RAM >and the offset you have to give it (0xA000+_dpmi_somthing_or_other) Is this with nearptr? I usually use farptr functions and _dos_ds, which is safer. > >What I'd like to know is: > >Do I have to offset my address when accessing the ROM part of the memory? >The DOS text is stored at F000:FA6E (real mode access I think...) and I'd >like to use it (I'm too lazy to design my own). Yeah, the BIOS ROM is mapped at real-mode address F0000. You can access it just like any other conventional memory. I.E: movedata(_dos_ds,0xFFA6E,_my_ds(),buffer,length); Nate Eldredge eldredge AT ap DOT net