Mail Archives: djgpp/1995/04/23/03:51:56
>> How can I access the particular addresses of extended memory (above 1MB) ?
>> I know the first 1MB is mapped to 0xE0000000 in the program's address space
>> but how is it with above 1MB memory ?
>> I need to access the memory of DT2862 frame grabber which grabs images
>> into extended memory from address 0xA00000.
>> How compiler handles that memory ?
>> Please help !
>
>The entire 256M of memory is mapped to 0xe0000000 (unless you don't have
>that much... :->). If you want to access 0xa00000, just use 0xe0a00000.
>BTW, that will not work under DPMI, unless you do some assembly coding to
>map the memory yourself.
I think only 16M of memory gets mapped to go32_conventional_memory_selector()
(sp?) [which returns 0xe0000000 if you aren't in DPMI, but a value which may
change from session to session otherwise]. No hand coding should be necessary.
--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker,
vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_):
!au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++ \ 1) Be clean. 2) Follow Gary.
P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws.
po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++ +---------------------------
!D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?
- Raw text -