![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 05:16 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » Can I access 4 GB of memory in real mode like this? Please take a look. |
| Printable Version 1,572 / 6 |
| Floor1 lxdddxl | Posted 2003-02-03 00:00 |
| 初级用户 Posts 6 Credits 122 | |
|
First make sure config.sys has
device=c:\dos\himem.sys dos=high But there absolutely must not be a V86-mode manager such as emm386.exe. Then you can use assembly instructions to read and write 32-bit addresses, in the format segment:32-bit offset, for example xor ax,ax mov ds,ax mov esi,100003h mov eax, The execution result is exactly the same as the data at 0FFFFh:13h, proving that what is being accessed is memory above 1M |
|
| Floor2 Wengier | Posted 2003-02-03 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
HIMEM.SYS in MS-DOS 7.10 can access a very large amount of memory, roughly around 2G-4G.
|
|
| Floor3 duyilin | Posted 2003-03-16 00:00 |
| 初级用户 Posts 5 Credits 117 | |
|
I don't think this will work
|
|
| Floor4 linqy | Posted 2003-08-03 00:00 |
| 初级用户 Posts 19 Credits 163 | |
|
This definitely won't work
|
|
| Floor5 Wengier | Posted 2003-08-03 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
This does work..
|
|
| Floor6 feng | Posted 2003-09-10 00:00 |
| 初级用户 Posts 5 Credits 117 | |
|
I don't think it really works either, I recently ran into the same problem
|
|
| Floor7 feng | Posted 2003-09-10 00:00 |
| 初级用户 Posts 5 Credits 117 | |
|
Can you post the complete program?
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |