Is there a DOS memory documentation available? (Users)
> > However, 86 Mode isn't the only 16-bit mode. There is 16-bit Protected
> Mode
> > since the 286, which allows to access the entire 16 MiB of the 286
> address
> > space, albeit only in 64 KiB chunks.
>
> Actually, you can use 16-bit protected mode with 386+ CPU's to access the
> entire 4 GiB of memory, but still only in 64 kiB chunks. 16-bit PM code is
> nice because it is almost exactly the same as 16-bit real mode code (the
> only real difference being that you are using selectors instead of
> segments). This lets you avoid the need to switch between 16-bit code and
> 32-bit code.
Well, yes, I should have clarified that I was referring to the entire address space of the 286 as a "16-bit CPU". Indeed you can access the 4 GiB address space using 16-bit segments on the 386.
However, even if you run in a CS with 16-bit default address/operand size, the 386 allows you to change the sizes of a single instruction to 32-bits using the asize and osize prefixes. This works in 86 Mode and a 16-bit CS in Protected Mode. However, on a 386 in Protected Mode you can easily set segment limits beyond FFFFh so 32-bit memory references are possible from a 16-bit CS, at which point the term "16-bit Protected Mode" perhaps doesn't fully apply any longer.
(Debug/X and lDebugX in fact do access 32-bit segments using asize prefixes from their 16-bit CS, when running on a 386. As you noted, 16-bit 86 Mode and 16-bit PM are similar, so most of the resident debugger is dual-mode code that can run in either mode. Other than selectors vs segments, which implies that 86 Mode segment arithmetic won't work, PM may also run the DPMI client in ring 3 as opposed to the Real 86 Mode running in ring 0. (Virtual 86 Mode must run in ring 3 I believe, but the VMM may emulate ring 0 features.))
---
l
Complete thread:
- Is there a DOS memory documentation available? - fritz.mueller, 07.01.2024, 21:20 (Users)
- 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