DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? (Developers)
> > __dpmi_physical_address_mapping() but I read this function has some
> > limits like minimum size should be 4kB and in multiple of 4kB blocks
>
> > BTW why __dpmi_physical_address_mapping() needs size
> > paramerer at all?
>
> Because it consumes resources - linear address space and physical memory
> for page table entries. The larger the size, the more of these resources
> are needed.
OK I understand. I didn't tried allocating mem between it.
What do you reccomend: should I better map let'say 64kB block and don't do the remapping or should I leave it as is when it's working. I would need to test it how it will behave with installed 4GB RAM when ACPI things will be probably close to 0xFFFFFFFF and mapping may roll over but when I will not read beyond...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 13.07.2011, 14:58 (Developers)
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Japheth, 14.07.2011, 09:15
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 14.07.2011, 15:09
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Laaca, 15.07.2011, 12:47
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 17.07.2011, 02:06
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 17.07.2011, 14:47
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 02.08.2011, 13:08
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Rugxulo, 05.08.2011, 22:25
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 06.08.2011, 11:56
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Rugxulo, 05.08.2011, 22:25
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 02.08.2011, 13:08
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 17.07.2011, 14:47
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 17.07.2011, 02:06
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Laaca, 15.07.2011, 12:47
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - RayeR, 14.07.2011, 15:09
- DJGPP - Mapping small blocks of physmem beyond 1MB - __dpmi? - Japheth, 14.07.2011, 09:15