Is there a DOS memory documentation available? (Users)
> Because EBDA is supposed to be data, the kernel can move it to other
> places, possibly in UMB (or HMA?) simply by copying it around and updating
> the EBDA segment value somewhere at 40:xx similar to updating a pointer.
The HMA is not addressable using an offset of zero as the EBDA requires. The highest segment value is 0FFFFh which still does not point into the HMA at offset zero, rather it points to the last 16 Bytes of the ROM-BIOS image usually placed below 1 MiB. So you cannot move the EBDA into the HMA.
> If you see far less than 640k of RAM, you may have some code or data
> buffers at the end of your 640k. The kernel can NOT move those around.
> Think about MBR -based drivers for supporting harddisks larger than 504 MB
> or 8 GB if your BIOS is too old. Also think about viruses and maybe buffers
> of exotic network or disk controller ROMs.
Bootable debuggers such as lDebug may also decrease the size of the Low Memory Area as indicated by interrupt 12h in order to protect their allocation. (The int 12h simply returns the word value at 413h in AX. You modify the variable, not the interrupt handler.) As int 12h specifies the memory size in KiB, the debugger must round up the size to allocate for itself to happen upon a KiB boundary.
Barely related ad: For lDebug, the first paragraph of its bootloaded mode allocation starts with a small header that reads either NSYM or NDEB. The NDEB image identification paragraph is described a bit in https://hg.pushbx.org/ecm/ldebug/file/bbf39043e416/source/init.asm#l2114
---
l
Complete thread:
- Is there a DOS memory documentation available? - fritz.mueller, 07.01.2024, 21:20
- Is there a DOS memory documentation available? - SuperIlu, 08.01.2024, 00:35
- Is there a DOS memory documentation available? - mceric, 08.01.2024, 00:58
- Is there a DOS memory documentation available? - Rugxulo, 08.01.2024, 09:46
- Is there a DOS memory documentation available? - marcov, 08.01.2024, 22:40
- Is there a DOS memory documentation available? - tauro, 18.01.2024, 06:22
- Is there a DOS memory documentation available? - mceric, 18.01.2024, 10:47
- Is there a DOS memory documentation available? - Rugxulo, 19.01.2024, 01:25
- Is there a DOS memory documentation available? - mceric, 19.01.2024, 10:42
- Is there a DOS memory documentation available? - Japheth, 19.01.2024, 11:57
- Is there a DOS memory documentation available? - ecm, 19.01.2024, 16:42
- Is there a DOS memory documentation available? - mceric, 19.01.2024, 18:02
- Is there a DOS memory documentation available? - mceric, 19.01.2024, 10:42
- Is there a DOS memory documentation available? - Rugxulo, 19.01.2024, 01:25
- Is there a DOS memory documentation available? - mceric, 18.01.2024, 10:47
- Is there a DOS memory documentation available? - Rugxulo, 08.01.2024, 09:46
- Is there a DOS memory documentation available? - bretjohn, 08.01.2024, 18:17
- Is there a DOS memory documentation available? - fritz.mueller, 08.01.2024, 20:30
- Is there a DOS memory documentation available? - tom, 08.01.2024, 21:20
- Is there a DOS memory documentation available? - marcov, 08.01.2024, 23:22
- Is there a DOS memory documentation available? - ecm, 09.01.2024, 00:00
- Is there a DOS memory documentation available? - bretjohn, 09.01.2024, 01:03
- Is there a DOS memory documentation available? - ecm, 09.01.2024, 09:38
- Is there a DOS memory documentation available? - bretjohn, 09.01.2024, 17:35
- Is there a DOS memory documentation available? - Oso2k, 09.01.2024, 20:09
- Is there a DOS memory documentation available? - fritz.mueller, 09.01.2024, 22:21
- Is there a DOS memory documentation available? - Zyzzle, 10.01.2024, 04:47
- Is there a DOS memory documentation available? - mceric, 10.01.2024, 11:56
- Is there a DOS memory documentation available? - ecm, 10.01.2024, 21:14
- Is there a DOS memory documentation available? - bretjohn, 12.01.2024, 04:42
- Is there a DOS memory documentation available? - ecm, 12.01.2024, 18:00
- Is there a DOS memory documentation available? - bretjohn, 12.01.2024, 04:42
- Is there a DOS memory documentation available? - ecm, 10.01.2024, 21:14
- Is there a DOS memory documentation available? - mceric, 10.01.2024, 11:56
- Is there a DOS memory documentation available? - Zyzzle, 10.01.2024, 04:47
- Is there a DOS memory documentation available? - fritz.mueller, 09.01.2024, 22:21
- Is there a DOS memory documentation available? - Oso2k, 09.01.2024, 20:09
- Is there a DOS memory documentation available? - bretjohn, 09.01.2024, 17:35
- Is there a DOS memory documentation available? - ecm, 09.01.2024, 09:38
- Is there a DOS memory documentation available? - marcov, 09.01.2024, 09:42
- Is there a DOS memory documentation available? - bretjohn, 09.01.2024, 01:03
- Is there a DOS memory documentation available? - ecm, 09.01.2024, 00:00
- Is there a DOS memory documentation available? - fritz.mueller, 08.01.2024, 20:30
- Is there a DOS memory documentation available? - boeckmann, 19.01.2024, 10:09